A machine (10) for the preparation and distribution of cold food products that is used in the production of soft ice-cream, that has a cylindrical chamber (12) equipped at one end with an inlet mouth (14) for a liquid food mixture and at an opposite end with an extraction tap (18) for the distribution of the cold food product through at least one distribution nozzle (36), wherein said cylindrical chamber (12) is enveloped by an evaporation chamber (20) for the cooling of said liquid food mixture and contains in its interior a mixer (24) wherein underneath said distribution nozzle (36) there is a protection door (62) for said nozzle (36). The machine includes at least one ultraviolet-ray lamp (48) positioned on the math body of the machine (10) in correspondence with a distribution nozzle (36) where the ultraviolet-ray lamp (48) functions to sterilize the distribution nozzle (36).