The invention relates to metal bearing water-based cleaning agent, rinsing agent matched with the water-based cleaning agent, and the preparation method thereof. Petroleum sodium sulfonate, triethanol amine oleate, fatty alcohol-polyoxyethylene ether, emulgator, and cocoanut oil diethanolamine phosphoric acid ester are mixed with tiethanolamine and ethanolamine according to the weight percentage, are stirred uniformly at room temperature, then are mixed with other raw materials and water, then antibubbling agent AF9020 is added, and therefore the brown yellow and transparent concentrated cleaning agent is formed; nitrous acid dicyclohexylamine, oleic acid triethanolamine and petroleum sodium sulfonate are respectively dissolved into the mixed solvent of tiethanolamine and mono ethanolamine, then benzotriazole is dissolved into water to mix the two solvent, to form the brown yellow and transparent concentrated rinsing agent; the cleaning agent and the rinsing agent are mixed into 5 percent treatment fluid and 1 percent of treatment fluid, then the treatment fluid is cleaned for 30 seconds to 1 minute under ultrasonic wave, rinsed for 30 seconds, and then hot air seasoning, drying and 48 h rust preventing are performed. The invention can replace gasoline cleaning agent, kerosene cleaning agent, and universal water-based cleaning agent, the used raw material is easy to be acquired, the production cost is low, and the invention without parkerizing process can effectively prevent the environmental pollution.