The invention discloses a cleaning machine. In order to solve the technical problems, mentioned in the background technology, that a person is easily infected by bacteria when putting on shoes with hands and resource waste is caused due to the use of disposable shoe covers, the cleaning machine is disclosed and comprises a front end shell cover, a shell, soft brushes, hard brushes, an upper motor, a lower motor, an upper annular belt, a lower annular belt, a dust removal fan, blower fans, a pedal plate, rotary shafts, positioning springs, lower limiting switches, upper limiting switches and a water collection tank. The cleaning machine has the advantages that pathogenic bacteria on shoe soles are avoided from entering the human body through direct contact, the use of the disposable shoe covers is reduced, the cleaning machine is environmentally friendly, troubles and embarrassment caused by changing the shoes are avoided, and when the shoe soles are cleaned, drying of the shoe soles and cleaning of the shoe uppers or polishing is conducted on the premise that the feet do not move.