A method for regulating a vacuum cooling device for cooling of a foodstuff, in particular hot bakery products, wherein the vacuum cooling device contains a vacuum chamber for receiving the foodstuff, wherein the vacuum chamber is charged with foodstuff to be cooled, wherein a cooling program is assigned to the foodstuff, wherein the vacuum chamber is closed, wherein a vacuum pump is put into operation to evacuate the vacuum chamber, wherein the pressure in the vacuum chamber is recorded with a pressure gauge or a temperature measurement is performed in the vacuum chamber and the pressure is regulated based on the temperature measurement, wherein the pressure measuring device converts the pressure into a pressure measurement signal, the pressure measurement signal being fed to a control unit, wherein the control unit contains a memory element, wherein the memory element contains the cooling program for each foodstuff to be cooled, wherein the cooling program contains a target pressure profile, the target pressure profile corresponds to the desired pressure profile corresponds to the vacuum cooling for the foodstuff to be cooled during the cooling period, wherein the pressure measurement signal is compared with the setpoint pressure at least at one point in time within the cooling period at this point in time, characterized in that the target pressure is assigned a target rotational velocity of the vacuum pump, the vacuum pump being equipped with a rotational velocity measuring device to measure the rotational velocity of the vacuum pump, wherein the rotational velocity of the vacuum pump is compared with the target rotational velocity at the at least one point in time and an adaptation element is provided in order to adapt the rotational velocity to the target rotational velocity, wherein the control unit compares the cooling programs that are stored for a specific product at different ambient pressures, that is, different weather conditions, wherein this cooling program can be used if the ambient pressure, for example, corresponds to the ambient pressure measured for the cooling program except for a tolerance of +/- 10 mbar, otherwise another cooling program can be selected or an interpolation between the two cooling programs closest to the ambient pressure can be performed, wherein the vacuum chamber contains a product chamber for receiving the foodstuff for its cooling and a separation chamber, wherein the vacuum pump is connected to the separation chamber and the vapor extracted by the vacuum pump is conducted from the vacuum chamber in a steam condenser, in which the steam in the product chamber is cooled and condensed, wherein the steam condenser contains a coolant in a trough, and a steam introduction element (8, 9), such that the steam is introduced into the coolant, wherein fresh air is fed into the vacuum chamber for aeration of the vacuum chamber, wherein the fresh air is fed into the vacuum chamber via a tube bundle, wherein the tube bundle can in particular be configured as a double tube or as a coaxial tube bundle, which can comprise a first and a second tube, wherein the coaxial tube bundle has an inner tube through which the exhaust air from the vacuum pump is introduced into the environment and an outer tube through which the fresh air can be introduced into the vacuum chamber, wherein in the outer tube or in one of the first or second tubes a servo valve is arranged, which is controlled in particular according to the instructions of a cooling program.