The invention relates to a method for controlling a transport speed in a pasteurizer, wherein the method comprises controlling the transport speed by changing, such as reducing or increasing, the transport speed, a corresponding first change, such as reducing or increasing, a first number of
pasteurization zones (22, 23, 24, 39, 40, 65, 76, 77, 108, 109) by a second number, and a corresponding second change, such as increasing or reducing, a third number of cooling zones (25, 26, 27, 28, 29, 41, 42, 43, 44, 45, 46, 66, 67, 68, 69, 70, 71, 72, 78, 79, 110, 111) by the second number.The invention further relates to an apparatus for carrying out the method, wherein the apparatus comprises: a pasteurizer with a first number of
pasteurization zones and a third number of cooling zones, a transport device configured to transport containers through the pasteurizer at a transport speed in a transport direction, and a control device configured to change, such as reducing or increasing, the transport speed, corresponding first changes, such as reducing or increasing, the first number of
pasteurization zones by a second number, and corresponding second changes, such as increasing or reducing, the third number of cooling zones by the second number.