The functional environment friendly metal deoiling, derusting and antirusting fluid is prepared with polyoxyethylene alkyl ether, sodium dodecyl sulfate, 1.3-dibutyl thiourea, hexamethylidyene tetraamine, zinc dihydrogene phosphate, phosphoric acid, sodium butylnaphthalene sulfonate, sodium sulfosuccinate, triethanolamine, sodium bicarbonate, tartaric acid and 1.3-diethyl sulfourea in certain weight proportion, and through dissolving, diluting with water, mixing to react, and filtering. It has the synergistic effect of the components to deoil, derust, phosphorize, deactivate and antirust metal surface, no harm to human body and no environmental pollution.