The invention relates to an ice cream production apparatus (1), a system comprising said apparatus and a method for controlling the same. The apparatus, comprising a control unit (6), a freezer (2), a freezer outlet pump (14) and a piping system (4) provided from the freezer to one or more ice cream outlet nozzles (10) downstream the freezer, can assume at least two operational modes. The firstoperational mode is a production mode. The second operational mode is a preproduction mode comprising the steps of freezing the ice cream in the freezer (2) such that the ice cream obtains a pre-production viscosity value being equal to or higher than a production viscosity value, and pumping the frozen ice cream into the piping system (4) at a pre-production outlet flow being smaller than a production outlet flow. The preproduction mode is used for cooling the piping system (4) and the ice cream outlet nozzles (10) before operating the ice cream production apparatus in the production mode.