The invention relates to a method for producing foamed milk. The method comprises passing milk from a bag-in-box container 1 through a conduit 3 by means of a pump 4 and heating the milk by passing it through a continuous-flow heater 5. At the end of the conduit 3, the milk is whipped to foam by an impeller in a mixer bowl. The invention also relates to a system for producing foamed milk. The system comprises a conduit 3, a heater 5, a pump 4 and a mixer bowl 7 with an impeller 8.