At present, the mainstream passivation agent is chromate passivation agent, but it has the disadvantages of high toxicity and high price, so this project seeks to find a safer, cheap and green chromium-free passivation agent. Because dopamine and chitosan derivatives have certain corrosion inhibition properties on metals in acidic media, these polymer corrosion inhibitors can achieve high corrosion inhibition rates at high concentrations. Therefore, in this experiment, dopamine was added on the basis of sodium silicate, and the sample was passivated to explore the potential enhancement effect of dopamine on the passivated film performance. After the sample was treated, the impedance value could be fitted by electrochemical impedance spectroscopy and Zsimpwin software, and then the Tafel polarization curve was drawn. It was found that the addition of dopamine significantly improved the corrosion resistance of the passivated film. By promoting the positive shift of self-corrosion potential and greatly reducing the self-corrosion current density, the protective barrier effect of passivation film on metal matrix is effectively enhanced. Finally, the experiment successfully proved that the corrosion resistance of the passivation film after adding dopamine was better