Oxide coatings formed on aluminum alloy in electrolyte with colloidal particles of iron hydroxides show ferromagnetic properties. Iron distribution have been studied using electron scanning microscopy and magnetic force microscopy. It is found that the iron localized in the areas exposed to spark and microarc electric discharges makes the main contribution to the ferromagnetic properties of coatings.