The invention provides an environment-friendly cleaning agent for metal products and a preparation method thereof, relating to the field of cleaning agents, comprising the following components: 15-22 parts of sodium polyacrylate, 13-17 parts of trichlorethylene, and 5-8 parts of fatty alcohol polyoxyethylene ether , 8‑10 parts of tetrapotassium phosphate, 5‑9 parts of co-emulsifier, 5‑10 parts of sodium sucrose fatty acid, 12‑16 parts of sodium pyrophosphate, 4‑6 parts of trisodium phosphate, 5‑8 parts of sodium citrate, poly 5-8 parts of carboxylic acid water-based dispersant, 2-5 parts of pH regulator, 4-6 parts of toluene, 1-2 parts of sodium stearate, 10-20 parts of polyvinyl alcohol, 8-12 parts of fatty alcohol polyoxyethylene ether 5-8 parts of glycerol, 2-5 parts of anionic surfactant, 1-5 parts of corrosion inhibitor, 23-35 parts of deionized water; Dust, sand, bird droppings, shellac, and other dirt on component glass; the cleaning agent of the present invention is environmentally friendly, non-toxic and non-polluting, and the method of use of the present invention is simple. It only needs to be sprayed on the surface of metal products, and then wipe dry with cotton cloth after slightly drying That's it, no need to rinse with water.