A method for improving energy efficiency in a food processing line by heating a flow of liquid food product flowing through said food processing line is presented. The method comprises the steps of: transferring heat from a first flow of said food processing line to an energy transfer medium increasing the temperature of said energy transfer medium by means of a heat pump and transferring heat from said energy transfer medium to a flow of food product entering a heater arranged upstream of the first flow in the food processing line.