The invention relates to a method and a device for treating foods and/or containers for holding foods. The foods and/or containers are treated in at least one treatment zone by a process liquid, wherein the process liquid is at least partially recirculated into the treatment zone or the treatment zones after completed treatment of the foods and/or the containers. At least one membrane filtration system and at least one UV irradiation apparatus are provided for cleaning and sterilisation of the process liquid.