AZ31 Mg alloy was anodized with a pulse potential between the transpassive (10 V Ag/AgCl ) and active regions (−1.35 V Ag/AgCl ) in 2 M NaOH aqueous solution at 303 K. Optimal conditions for the pulse anodizing were a duty ratio of 91%, a frequency of 0.09 Hz, and an anodizing time of 600 s. Pulse anodizing caused a remarkable 11-fold decrease in the surface porosity and a 1.6-fold increase in the film thickness from those obtained under a constant potential of 10 V Ag/AgCl . Furthermore, an Al-enriched crystalline oxide layer was formed on the outer surface of MgO, which improves the corrosion resistance of the Mg alloy in neutral solutions. In consequence, the pitting potential E pit increased to −1.36 V Ag/AgCl and the corrosion current density i corr decreased to 60 ± 10 μA cm −2 , resulting in an approximately 3-fold decrease in the corroded area after anodic breakdown and salt spray tests.Recently, major automobile makers have been hastening their plans to use wrought magnesium (Mg) alloys in vehicles. 1 Reducing the weight of automobiles is one implementable strategy for effectively coping with global warming, and its main purpose is to improve vehicle performance and fuel efficiency. A 100 kg reduction in the weight of an automobile can decrease its CO 2 emissions by 8-12 g km −1 . Moreover, this strategy is useful for improving the cruising distances of electric vehicles.However, applications of wrought Mg alloys have not been as successful as those of aluminum (Al) alloys because of the high corrosion susceptibility under certain service conditions (such as vehicle and marine environments). A modern die casting Mg alloy has a general corrosion resistance almost equal to that of mild steel in under normal environmental exposure. 1 Nevertheless, the effective protection of the Mg alloys against various types of corrosion is still difficult with only simple alloy development. 2 Thus, it is urgently necessary to develop protective coatings for the widespread use of Mg alloys.Anodization is an electrolytic passivation process that produces a thick, chemically stable protective oxide film on valve metals. Anodization mitigates the general and galvanic corrosion of bare Mg alloys, but the formed anodic films are more water soluble than those formed on Al alloys, which are rival traditional materials for weight reduction. Therefore, anodization is often used to produce an undercoating layer to provide better adhesion for various organic finishes. 3,4 In general, the anodic films formed on Mg alloys can be divided into two sub-layers: a very thin but dense inner layer and thick porous outer layer. 2,3 Of these layers, the porosity of outer layer is strongly influenced by the various anodizing parameters such as the electrolyte, concentration, temperature, electric field applied, and so on. The formation of compact anodic films on Mg alloys is limited, because MgO has a molar volume of 11.3 cm 3 mol −1 , whereas metallic Mg has a molar volume of 14.0 cm 3 mol −1 , and therefore the Pilling-Bedworth ratio is 0.81....