Using plasma electrolytic oxidation technique we obtained ferromagnetic coatings on titanium and alluminium. The measured coercive force, ~ 100 Oe at room temperature, is closer to the values corresponding to magnetically hard materials. The coatings are of interest as protective electromagnetic screens. The coatings were studied by XRD, XPS, XSA and SEM. There are crystallites of ~50 nm in size containing reduced and oxidized iron in the pores of the coatings. We consider that magnetic properties of the coatings are related with these crystallites.