The invention provides an automatic scrubbing machine which comprises a fixing portion, a lifting portion, a power portion and a working portion. The fixing portion is used for fixing the scrubbing machine, the lifting portion comprises a sliding frame sliding up and down along the fixing portion, the power portion comprises a cabinet, a hydraulic cylinder is arranged on the upper portion of the cabinet, an output end of the hydraulic cylinder is connected with the sliding frame, the lower portion of the cabinet is rotatably connected with the sliding frame, a first motor, a speed reducing box and a slider are arranged in the cabinet, a gear is arranged on an output shaft of the first motor, a second sliding rail is arranged on the slider, a second slideway is arranged inside the cabinet, and the slider is driven by the gear on the output shaft of the first motor to move up and down along the second slideway on the cabinet when the first motor runs; the working portion comprises a worm gear box, a gear box and a scrubbing device, and the first motor drives the scrubbing device to rotate for scrubbing through a worm in the worm gear box and the gear in the gear box. The automatic scrubbing machine is convenient to use and can complete scrubbing of the back and the whole body without blind points, and full automation is realized.