The invention discloses a silicon-dioxide-added treating agent for metals. The treating agent is prepared from the following raw materials in parts by weight: 40-50 parts of polyvinyl alcohol, 12-15 parts of polyethyleneglycol, 0.4-0.6 part of emulsifier op10, 0.3-0.5 part of glycerol, 0.6-0.8 part of triethanolamine, 0.2-0.4 part of Tween 80, 6-8 parts of benzotriazole, 6-7 parts of sodium benzoate, 2-3 parts of lauryl sodium sulfate, 5-7 parts of 3-(trihydroxysilyl)propane-1-sulfonic acid, 3-4 parts of silica sol, 1.2-2 parts of sodium hydroxide, 10-14 parts of polyetheramine, 0.4-0.6 part of succinic aldehyde, 4-5 parts of nano cellulose, 2.2-3 parts of sodium isooctoate and a right amount of deionized water. The metal surface treating agent has the advantages of low production cost, high performance, favorable rust and corrosion resistance, high adhesive force, low shedding tendency, favorable water resistance, favorable oil resistance and long anticorrosion time, can form a film on the workpiece surface, and is worthy of popularization.