The invention relates to a metal antirust agent and a production technique thereof. The metal antirust agent comprises 13-17 parts of citric acid, 6-9 parts of acetic acid, 8-12 parts of etidronic acid, 5-11 parts of sodium phytate, 7-10 parts of hexamethylene tetramine, 5-8 parts of triethanolamine, 7-9 parts of sodium chloride, 13-17 parts of polyethylene glycol, 9-15 parts of silicon dioxide, 3-7 parts of manganous dihydrogen phosphate, 2-4 parts of ammonium molybdate, 9-13 parts of epoxidized soybean oil, 1-3 parts of a corrosion inhibitor, 7-11 parts of o-toluidine, 6-9 parts of sodium sulfonate, 2-5 parts of sodium carboxylate, 3-6 parts of polydimethylsiloxane, 3-5 parts of a defoaming agent, 2-4 parts of a dispersing agent and 3-6 parts of bactericide. The metal antirust agent contains special additives and can permeate rust, corrosives, oil stains, mud and the like so that a connecting piece can be released slowly and removed easily, and dirt such as incrustation and dust adhering to the surface of metal can be effectively removed; and besides, an antirust oil film is reserved on the surface of metal or other materials, so that moisture and water are effectively isolated and the service life of the connecting piece is effectively prolonged.