The invention discloses a stainless steel pickling passivator and a preparation method thereof. The stainless steel pickling passivator comprises citric acid, hydrochloric acid, formic acid, fatty alcohol-polyoxyethylene ether, polyethyleneimine, epoxy octyl stearate, thiosemicarbazide, epoxy chloropropane, hydrogen peroxide, a penetrating agent, a corrosion inhibitor, a thickening agent, an inorganic filler and a viscosity modifier. The preparation method comprises the steps of firstly adding part of raw materials such as the fatty alcohol-polyoxyethylene ether and the like into the hydrochloric acid sequentially, and uniformly stirring the raw materials to obtain a mixed solution I; then sequentially adding part of the raw materials such as the hydrogen peroxide into mixed acid liquor of the citric acid and the formic acid, and uniformly stirring the raw materials to obtain a mixed solution II; then mixing the mixed solution I and the mixed solution II, and adding the inorganic filler into the mixture; and finally adding the penetrating agent, the corrosion inhibitor, the thickening agent and the viscosity modifier sequentially into the mixture, and uniformly mixing the mixture to obtain the finished product. According to the stainless steel pickling passivator and the preparation method thereof, the stainless steel pickling passivator is good in passivation effect, not prone to damage the surface of stainless steel, environment-friendly and simple to prepare and does not cause harm to human bodies and environment.