Study the effect of solution conductivity on the structure and properties of micro arc oxidation coatings on ZM5 magnesium alloy.Using a coating thickness gauge,roughness tester,vickers hardness tester,vernier caliper,balance,vickers hardness tester,SEM,EDS,XRD,and electrochemical workstation,the film thickness,roughness,epitaxial growth rate,density,microhardness,microstructure,element composition and distribution,crystal structure,and electrochemical performance were tested and analyzed.The results showed that as the conductivity of the solution increased,the thickness,roughness,epitaxial growth rate,and microhardness of the film layer gradually increased,and there was no significant change in appearance and density.The number of discharge micropores in the microstructure gradually increased,and there was no significant difference in the content of MgO,MgF2,and K2MgF4 in the crystalline structure.The content of Mg and 0 remained stable,and the content of F element decreased significantly with the increase of conductivity.The corrosion resistance of the membrane layer increases with the increase of solution conductivity.When the conductivity is 30ms/cm,the corrosion resistance is the strongest.