The invention discloses an automatic road marking machine, including a device body, wherein the device body includes a bottom plate; a pulley block is arranged at both ends of the bottom of the bottomplate; at one end of the top of the bottom plate, an air machine case body is fixedly installed; an air compressor is arranged inside the air machine casing; the other end of the top of the bottom plate is fixedly provided with a storage cylinder; a material storage box cover is arranged on the top of the material storage cylinder body, a cover handle is fixedly arranged at both ends of the top of the storage cover, in accordance with the prior art, the invention has the following beneficial effects: the device is provided with a water storage tank body, storage cylinder, the second connecting pipe and the pumping pump can convey the cleaning agent inside the water storage tank to the inner part of the material storage cylinder through the second connecting pipe by opening the pumping pump, thereby cleaning the inner part of the material storage cylinder, avoiding the tedious steps of removing the material storage cylinder, saving manpower and time, and improving the working efficiency of the device.