The invention discloses a cleaning device suitable for an automatic numerical control device. The cleaning device structurally comprises a fixing base, a sliding groove, a controller, an indicating lamp, movable cabin doors, a spindle, a cleaning device, a device shell, a discharging cabin, a mounting rack, an extensible block, moving wheels, extensible rods, springs, a protective shell, an installing plate, matched wheels, a power motor, a gear rod and a sliding frame, wherein the mounting rack and the right side face of the protective shell form an integrated structure, the extensible rods are embedded into the protective shell to be movably matched with the protective shell, the matched wheels are located on the upper surface of the protective shell, and the protective shell and the matched wheel form an integrated structure. The cleaning device suitable for the automatic numerical control device can be movably adjusted according to different structures on the device when performingcleaning work, accordingly is not bumped and is more intelligentized.