Two kinds of metal oxide coatings were fabricated on 7050 Al alloy by hard anodization (HA) and micro-arc oxidation (MAO) techniques. The microstructure, phase composition, and corrosion behavior of the two coatings were studied by scanning electron microscopy, X-ray diffraction, and corrosion tests, respectively. When compared with the HA coating, the MAO one was more effective to isolate the substrate from the corrosive environment. In addition, as confirmed by electrochemical tests, the MAO coating was of better corrosion resistance than the HA coating. Furthermore, it was revealed by neutral salt spray test that the MAO coating could protect substrate alloy over 1140 h, while the HA coating can only protect substrate alloy for 46 h due to the amorphous composition and through thickness defects (micro-pores and micro-cracks).