The present invention relates to a nozzle automatic cleaning device and method, comprising a printing nozzle, a nozzle mounting plate and an air blowing device, the printing nozzle is fixed on the nozzle mounting plate, the air blowing device is located on the nozzle mounting plate, and the air blowing device includes an air inlet hole and an air blowing hole And the air pump, the air pump is connected with the air inlet, the air inlet is connected with the air outlet, the air blow hole is provided with a long and narrow air hole, and the gas is blown out from the long and narrow air hole of the air blow hole. A method for removing impurities such as paper powder, toner, and dust particles on the surface of the nozzle. An automatic cleaning device is added to the nozzle mounting plate, which is efficient, clean, and will not cause damage to the nozzle. Through the air blowing principle of the air blowing hole on the nozzle mounting plate, the paper powder, toner, dust particles and other sundries on the surface of the nozzle are blown away. No need to stop the machine, no need to manually wipe the nozzle, timely maintenance, simple and easy to operate. Reduce the interruption of the nozzle printing process, ensure the normal operation of printing, improve production efficiency, and ensure the quality of printing images.