A device for pasteurizing a mass of foodstuff comprises:a feed;a first tube of an electrically and magnetically inert material suitable for contact with foodstuff;an arrangement of electrodes added to the first tube and connected to an RF power generator so that the mass present in the first tube can be heated in this first tube.Co-acting electrodes are disposed with a substantial mutual axial interspace.