A method of and a system for surface pasteurizing or sterilizing low-moisture particulate foods, such as nuts, oats, and spices, is disclosed wherein the foods are pre-heated, pasteurized or sterilized in a gas, optionally dried, and cooled. The gas pasteurizing or sterilizing the foods contains water vapor and one or more further gasses, preferably air.