The present invention discloses one kind of green efficient acid pickling corrosion inhibitor of main component berberine and its application. During acid pickling, zinc, Zn-Al alloy or steel with hot dipped zinc or Zn-Al alloy layer is soaked in the acid pickling solution comprising 0.1-2 M concentration dilute hydrochloric acid or sulfuric acid solution and corrosion inhibitor in 0.02-0.20 kg/cu m and at 25 deg.c or so for 0.5-3 hr. The corrosion inhibitor can prevent the general corrosion or local corrosion of the acid pickled metal or the coating, and has the advantages of low cost, low consumption, high corrosion inhibiting effect, no environmental pollution, etc. |