Magnetic Flux Leakage Testing Magnetic flux leakage (MFL) is a magnetic method of nondestructive testing that is used to detect corrosion and pitting in steel structures, most commonly pipelines and storage tanks. The basic principle is that a powerful magnet is used to magnetize the steel. At areas where there is corrosion or missing metal, the magnetic field "leaks" from the steel. In an MFL tool, a magnetic detector is placed between the poles of the magnet to detect the leakage field. Analysts interpret the chart recording of the leakage field to identify damaged areas and to estimate the depth of metal loss.