The invention relates to a titanium-containing phosphating agent, a metal part and a surface phosphating treatment method of the metal part. The phosphating agent is used for metal part surface pretreatment and comprises the components of, in parts by weight in 1000 parts, 5-30 parts of phosphoric acid, 3-10 parts of zinc oxide, 0.5-3 part of magnesium salt, 0.5-3 part of aluminum salt, 0.5-5 part of fluotitanic acid and the balance water. A film layer formed by the phosphating agent is fine in structure and firm in adhesive force, a continuous, uniform and colorful phosphating layer can be generated on the surface of the metal part, and the titanium-containing phosphating agent, the metal part and the surface phosphating treatment method of the metal part are applied to phosphating treatment before spraying of the surfaces of steel such as cold-rolled plates, hot-rolled plates and angle steel. The phosphating solution has the advantages of long service life and no wastewater generation, and can be used for phosphating in a brushing, soaking, spraying or combination mode, the adopted temperature is 10-50 DEG C, drying and natural airing can be achieved, energy consumption is reduced to a great extent, phosphating time is short, surface conditioning and accelerant adding are not needed before use, and operation is easy and time-saving.