Cerium molybdate and aluminum molybdate were synthesized by precipitation at controlled pH. The inhibitory properties of these solids on the corrosion process of aluminum in near‐neutral aqueous NaCl solutions were studied. Potentiodynamic polarization curves showed that both molybdates act as mixed‐type inhibitors. This is due to molybdate anion acts as an anodic inhibitor, while the trivalent cations Ce(III) and Al(III) have an inhibitory effect on the cathodic reaction. Linear polarization tests demonstrated a large increase in polarization resistance when these solids are added, resulting in an inhibition efficiency of 97% in both cases. Scanning electron microscopy and X‐ray energy dispersive microanalysis of the exposed surfaces revealed the formation of compact protective films rich in Mo and with no detectable Cl levels.