A comparison of corrosion behavior is made between magnesium alloy surface oxide films formed by micro-arc and chemical black oxidation with electrochemical method and CASS.The results show that magnesium alloy can be improved in corrosion resistance both by micro-arc oxidation and chemcal black oxidation,but more obviously by the latter.