A kind of ice machine, the ice machine include ice making unit, which includes the evaporator for being connected to refrigeration system, ice storage box, slot, pump, drain valve, ozone water source and controller. Controller starts ozone water source to supply the Ozone Water of the first volume to slot, and then starting pumps so that the Ozone Water of the first volume is recycled to ice making unit from slot, once reaching scheduled sterilization time, controller closes pump, and the Ozone Water of the first volume is discharged from slot. Controller starts ice-make mode, and start ozone water source to supply the Ozone Water of the second volume to slot, then starting pumps so that the Ozone Water of the second volume is recycled to the ice making unit for forming Ozone Ice on an evaporator from slot, and starts ice collection mode to remove Ozone Ice from evaporator and Ozone Ice is transported to ice storage box.