The invention relates to an anti-caking spraying system with a purifying function. The anti-caking spraying system with the purifying function comprises a spraying device; the spraying device comprises a bottom plate, a pushing handle, a material box, a connecting piece, a spraying gun, a fixed rod and four vehicle wheels, and further comprises a stirring mechanism and a purifying mechanism; the stirring mechanism comprises a motor, a rotating shaft, two first bearings and a plurality of stirring blades; the purifying mechanism comprises a fixed box, an activated carbon filtering net, a collecting component and a driving component; and the collecting component comprises a second bearing, a connecting shaft, a torsion spring, a connecting box, a connecting unit, a hose and two sucking nozzles. The anti-caking spraying system with the purifying function can perform purifying operation on the dust produced during spraying through the purifying mechanism, and prevent the dust from being absorbed by a human body to pose a threat to the physical health of staff, so that the safety of equipment is improved; and the paint in the material box is subjected to stirring operation through the stirring mechanism, so that the paint is prevented from caking to affect normal work of spraying.