The invention provides a rust remover and a preparation method of the rust remover, and relates to the technical field of metal surface treatment agents. The rust remover comprises, by weight percent, 2.5% of hydrofluoric acid, 17% of hydrochloric acid, 7.5% of oxalic acid, 3% of a corrosion inhibitor, 2% of diaminoethane quadrol, 0.6% of ethylene oxide and high-level fatty alcohol condensation compound and the balance water. The corrosion inhibitor is formed by compounding naphthamine, imidazolidinyl urea and rosin imidazoline ammonium salt according to the weight ratio being 3:0.4:0.9. In the using process of the rust remover, compared with pure acid liquor rust removal in the prior art, the acid mist generated by the rust remover is obviously reduced; and on the premise that the use frequency is equal, the replacement frequency of the rust remover is only half that of the prior art, the waste of acid is reduced to the greatest extent, the production process is more environment-friendly, and the production cost of steel pipe enterprises is greatly reduced.