The invention relates to an antirusting agent which is characterized by comprising the following components by weight percent: 1.5 to 2 of calcined soda, 0.5 to 1 of trisodium phosphate, 0.3 to 1 of sodium propionate, 0.5 to 0.7 of trimeric sodium phosphate, and the balance of water. The antirusting agent has the advantages of integration of rust resistance, sterilization, mildew resistance and cleanness, as well as good antirusting effect, wide sterilization spectrum, good sterilization effect, long antirusting and bacteriostasis control period, innocuity, insipidity, no simulation to skin, no corrosion to base metal, no pollution to part surface, no bond, convenient operation, economy, practicality, no environment pollution, stable property, no easy metamorphism, easy storage, no flammability, and the like.