The corrosion of aluminum foil was inhibited in 0.1–10 wt% NaCl aqueous solutions in the presence of an external magnetic field. The inhibition increased as the magnetic flux density was increased. The amount of aluminum oxide film on the foil surface was increased by magnetic field effects.