The invention discloses a coating used for purifying automobile tail gas in tunnels and underground parking lots, which consists of 20-40 parts of silicon acrylic emulsion, 10-30 parts of photocatalytic titanium dioxide nano powder, 5-15 parts by weight negative ion powder, 5-10 parts of ultra-fine diatomite, 10-20 parts of water, 5-15 parts of ordinary titanium dioxide, 4-8 parts of heavy calcium carbonate, 5-10 parts of light calcium carbonate, 1-2 4 parts of propylene glycol, 0.2-0.4 parts of leveling agent, 0.3-0.8 parts of thickener, 0.2-0.4 parts of defoamer, 0.8-1.5 parts of dispersant and 0.3-0.4 parts of wetting agent. The coating of the present invention has added high-efficiency adsorptive diatomite, which can enhance the adsorption of harmful gases and enhance the treatment effect; the adhesion between the coating made of nanoparticles and the substrate is improved; the nano photocatalytic coating of the present invention has The photocatalytic efficiency is high, and it has the effect of releasing negative ions, and can effectively purify the air; the nano photocatalytic coating of the present invention is very convenient for construction, and the thickness of the coating can also be adjusted according to the viscosity of the coating.