The actual task of the state is to increase the energy efficiency of the oil refinery. The object of research is a vacuum distillation unit, including a preheating unit for raw materials and a furnace for heating fuel oil before the column. Pinch analysis allows to analyze and optimize a large number of heat flows. In this study the analysis and enhancement of efficiency of the research object is carried out by enthalpy pinch analysis. In order to reduce the heat load of the furnaces, the additional flows were introduced into the heat exchange system of the oil heating unit. Parametric optimization of the new heat exchange system was carried out. The minimum needs of the heat exchange system in external energy carriers are determined. An enthalpy cascade of the heat exchange system has been constructed, which clearly shows the distribution of heat between each heat flow of the system. In the analysis of the energy efficiency of a furnace, an important point is the determination of the optimal heat capacity of the combustion products. In this work, we have determined the optimal flow heat capacity, at which the heat loss with the exhaust gases is minimal. As a result of the studies carried out, the efficiency of the fuel oil preheating unit has been increased by maximizing heat recovery, and the cost of external energy carriers has been minimized. By reducing heat loss with flue gases, it was possible to increase the efficiency of the furnace.