The method of positron lifetime measurement was used to analyse the inuence of a magnetic eld on the kinetics of corrosion defect formation in near-surface layers of iron, titanium as well as S20 and S0H18N9 steel grades. The listed metals, which belong to ferro-and paramagnetic materials, have dierent sensitivity to corrosion.It was found that not only the presence of a magnetic eld, but also its direction inuence the dimensions and the concentration of defects formed during corrosion.