The invention discloses a slicing machine with a cleaning mechanism. The slicing machine comprises a base, a supporting plate, a cleaning structure, an alternating structure, a supporting plate, a pushing air cylinder, a fixing plate, a pushing plate and a limiting structure, wherein the supporting plate is erected on the top side of the base, the fixing plate is welded to the top side of the supporting plate, and the pushing air cylinder is installed on one side of the fixing plate. By the arrangement of the cleaning structure, a rolling motor performs forward and reverse rotation cross operation, an output gear is driven to rotate, under the cooperation of a matching toothed belt, a rolling disc can be rotated, and the rolling disc is driven by the matching toothed belt to turn over in areciprocating manner; when a pump operates, water spraying of spraying heads is achieved, and swing washing can be performed on a knife rest; and during washing, the pushing air cylinder operates, amovable plate is pushed to interact, under the cooperation of brushes which slide in the knife rest, the knife rest can be brushed, a knife can be quickly cleaned, disassembly is not needed, the knifecan be cleaned under better cooperation, and the working efficiency of the slicing machine is improved.