Magnesium must be surface treated to prevent corrosion, since it is a very active metal electrochemically. On anodizing, a compact film several tens of micrometers thick forms on magnesium, which imparts good corrosion resistance. The Mg-Al alloy (AZ91) was anodized in 1 M NaOH solution. The surface morphology of the anodized films was observed using scanning electron microscopy (SEM), energy-dispersive x-ray (EDX), and electrochemical methods. The effects of current density on the formation of anodic oxide films for a Mg-Al alloy in 1 M NaOH were investigated. In the anodic polarization curve, the reference corrosion potentials were far greater at 4-9 mA/cm2 than at 1 mA/cm2. The film that formed at 1 mA/cm2 was thin, suggesting that parts of the film had been dissolved or destroyed during the anodic polarization test. Corrosion resistance differed owing to concentric differences in current flow. Thick anodic oxide films were formed at higher applied currents.