A device for pasteurizing and filling medium into containers includes a short time heating system for pasteurizing the medium, a single buffer container downstream of the short time heating system for receiving the medium, and a rotary filling device downstream of the buffer container. The filling device is connected to the buffer container in a buffer-free manner and pipes and/or one or more rotary distributors are disposed between the filling device and the buffer container. A method for pasteurizing and filling medium into containers, where filling the containers with the medium is performed by way of a device in a buffer-free manner using a filling device, includes: pasteurizing the medium in the short time heating system, buffering the pasteurized medium in the buffer container, and filling the pasteurized medium into the containers. The pasteurized medium is transported in a buffer-free manner from the buffer container to the filling device.