Magnetic Flux Leakage (MFL)

Magnetic flux leakage (MFL) is a non-destructive inspection technique in which a strong permanent magnet or electromagnet saturates the pipe wall with a magnetic field; where the pipe wall is locally thinned by corrosion, mechanical damage, or cracks, the reduced cross-sectional area cannot contain all the magnetic flux, causing it to leak out of the pipe surface and be detected by Hall-effect sensors or coils, enabling characterization of metal loss defects without removing the pipe from service.

Key Takeaways

  • MFL smart pigs (inline inspection tools) are deployed through the pipeline with the product flow, traveling the full length of a segment to map metal loss defects in both the inner and outer pipe wall at millimetre-scale spatial resolution.
  • MFL detects volumetric metal loss (corrosion pits, general wall thinning) effectively but has reduced sensitivity to long, narrow, axially oriented cracks; circumferential MFL and ultrasonic crack detection (UTCD) tools are used when stress corrosion cracking (SCC) is the primary integrity threat.
  • The leakage flux signal amplitude correlates with defect depth (fraction of wall thickness) rather than absolute depth, so tool calibration against reference defects of known dimensions in a pipe section of identical wall thickness and grade is essential for accurate sizing.
  • ASME B31.8 (gas transmission pipelines) and API 1160 (liquid pipelines) require operators to establish inspection intervals based on defect growth rate predictions and assign repair criteria by defect severity; MFL inspection data is the primary input to these integrity management programs.
  • High-resolution MFL tools (HR-MFL) with sensor arrays at 2 to 4 mm circumferential spacing can detect and characterize isolated corrosion pits as small as 10 to 15 percent wall loss in favorable conditions, significantly improving on earlier-generation tools with 10 to 15 mm sensor spacing.

Fast Facts

Minimum pipeline diameter for MFL pig operation: typically 4 inches (100 mm), though specialty tools exist for 3-inch lines. Inspection speed: 0.5 to 5 metres per second (optimum varies by tool design). Wall thickness range for reliable MFL: 3 to 25 mm. Typical sizing accuracy for metal loss: plus or minus 10 to 15 percent wall thickness (dependent on defect geometry). Detection threshold: approximately 10 to 15 percent wall loss for isolated pits. Standards: ASME B31.8, API 1163, API 1160, NACE SP0102, CEPA recommended practices (Canada).

Tip: When planning an MFL inspection run, confirm the pipeline product velocity is within the tool's specified operating range for the entire segment; running an MFL tool too fast compresses the magnetic flux response and reduces defect signal amplitude, causing real defects to fall below the detection threshold, while running too slow can allow the tool to stop and stall in low-pressure sections, damaging the seals and sensors.

What Is Magnetic Flux Leakage

The physics of MFL are grounded in the behavior of ferromagnetic materials in strong magnetic fields. Steel pipe, being ferromagnetic, conducts magnetic flux with much lower resistance than air. When the pipe wall is magnetized to saturation by the inspection tool's magnets, essentially all the magnetic flux runs through the steel rather than the product inside or the soil outside. A sound pipe wall provides a continuous, high-permeability path for this flux. Where the pipe wall has a defect that reduces the steel cross-section, the reduced steel path cannot carry all the flux, and the excess leaks out of the pipe surface as a measurable stray field. The Hall-effect sensors or induction coils in the pig measure this leakage field and record it as a digital signal correlated to the tool's position in the pipeline.

The MFL signal is three-dimensional: it has axial, radial, and circumferential components. The shape of the leakage field (its spatial extent, peak amplitude, and polarity reversal pattern) carries information about defect depth, axial length, and circumferential extent. Advanced signal processing algorithms, validated against excavated defects, convert raw sensor outputs into defect dimension estimates that feed the remaining strength assessment and repair decision process.

How MFL Inline Inspection Tools Work

An MFL inspection tool (smart pig) consists of a steel body with permanent magnets arranged to create a circumferential or axial magnetic field in the pipe wall; the magnets are typically rare-earth (neodymium-iron-boron) for maximum field strength in a compact package. Wire brushes or spring-loaded steel shoes on the magnets maintain magnetic circuit contact with the inner pipe wall. A dense array of Hall-effect sensors is mounted in the gap between the north and south poles of the magnet assembly, where leakage flux from defects emerges. The sensor signals are digitized at high sample rates (typically 1 to 5 kHz) and stored in onboard memory or transmitted via wired or wireless telemetry to a surface data logger.

The pig is launched through a launch trap (barred tee or launcher) at the upstream end of the pipeline segment and recovered from the receiver trap at the downstream end. It travels with the flow of product (gas, liquid, or multiphase) at a controlled speed. A bidirectional odometer wheel tracks the pig's position using a cumulative distance counter; above-ground marker transmitters at known GPS coordinates provide position reference points for tying the odometer data to a pipeline alignment map.

After the run, the data is downloaded and analyzed by a specialist analyst team using vendor-specific data analysis workstations. Indications above the detection threshold are classified, sized, and geolocated. A final inspection report lists all significant anomalies with estimated dimensions, depth fractions, and recommended repair classifications (immediate, scheduled, or monitor). Operators use this report with fracture mechanics models (ASME B31G, RSTRENG, or finite element analysis) to calculate safe operating pressure for each defect and prioritize excavations.

MFL Across International Jurisdictions

In Canada, the Canadian Energy Regulator (CER) mandates integrity management programs for federally regulated pipelines under the Pipeline Safety Act and the Onshore Pipeline Regulations (OPR). The Canadian Energy Pipeline Association (CEPA) publishes recommended practices for inline inspection that specify tool performance qualification, run acceptance criteria, and defect assessment protocols aligned with ASME B31.8 and API 1163. Provincial pipelines (regulated by the AER in Alberta, the BC Oil and Gas Commission, and the Saskatchewan Ministry of Energy and Resources) have parallel requirements. Enbridge, TC Energy, and Pembina Pipeline conduct annual MFL inspection programs across their transmission networks, disclosing inspection results and anomaly repair records in safety filings to the CER.

In the United States, the Pipeline and Hazardous Materials Safety Administration (PHMSA) requires inline inspection of high-consequence areas (HCAs) under 49 CFR Part 192 (gas) and Part 195 (liquid). PHMSA's integrity management rule requires operators to inspect each HCA segment at least every 7 years by inline inspection, pressure test, or direct assessment. ASME B31.8S (Supplement to Managing System Integrity of Gas Pipelines) and API 1160 (Managing System Integrity for Hazardous Liquid Pipelines) provide the technical framework for MFL data interpretation and defect assessment. Major US operators including Kinder Morgan, Williams Companies, and Colonial Pipeline maintain active MFL inspection programs across hundreds of thousands of miles of pipeline.

In Norway, the Norwegian Pipeline Directorate (NPD, now Sodir) and the Petroleum Safety Authority (Ptil) regulate offshore pipeline integrity under the Petroleum Activities Act and the Facilities and Activities Regulations. MFL inspection of offshore trunklines is standard practice; Equinor and Gassco (operator of the Gassled offshore gas transport system) conduct regular MFL pig runs on the major North Sea pipeline corridors including Flags, Statpipe, Norpipe, and Zeepipe. Offshore MFL inspection in cold, high-pressure subsea environments is technically demanding; inspection tools must be qualified for the specific fluid composition, temperature, and wall thickness of each line segment.

In the Middle East, Saudi Aramco operates the world's largest network of oil, gas, and NGL pipelines and has a well-developed MFL inspection program managed through its pipeline integrity department. Saudi Aramco's pipeline integrity standards reference ASME B31.4, B31.8, and API 1163 and are supplemented by internal SAES pipeline standards. ADNOC's pipeline network in Abu Dhabi, managed through subsidiary ADNOC Gas Pipelines, conducts MFL and other inline inspections on major onshore and offshore lines. In Iraq and Kuwait, national oil companies have been expanding MFL inspection programs for aging export pipelines and field gathering systems that were deferred during decades of conflict and sanctions.

Magnetic flux leakage is also called MFL inspection or MFL pigging. The inspection tool is called an MFL pig, an MFL inline inspection (ILI) tool, or a smart pig. Related inline inspection technologies include ultrasonic testing (UT) smart pigs for crack and wall thickness measurement, eddy current testing for surface crack detection, and caliper pigs for geometry measurement. Regulatory frameworks referenced include pipeline integrity management and integrity management plans (IMP). Defect assessment methods include ASME B31G and RSTRENG. Related damage mechanisms detected by MFL include external corrosion, internal corrosion, and mill anomalies.

Frequently Asked Questions

Can MFL detect cracks as well as corrosion?
Standard axial MFL tools are designed primarily to detect volumetric metal loss (corrosion pits and general wall thinning) and have limited sensitivity to tight cracks, especially those oriented parallel to the pipe axis such as stress corrosion cracking (SCC) or seam weld defects. Circumferential MFL (C-MFL) tools, which orient the magnetic field axially, improve sensitivity to axially oriented cracks. Ultrasonic crack detection (UTCD) tools, which use shear-wave ultrasonics at a fixed angle, are the preferred method for SCC detection where it is a known threat. Operators in SCC-susceptible environments (coated pipelines in cathodic protection gaps, high-pH soils) typically run both MFL and UTCD tools to cover both corrosion and cracking threats.

What is the difference between HR-MFL and standard MFL?
High-resolution MFL (HR-MFL) refers to tools with much denser sensor arrays (2 to 4 mm circumferential sensor spacing vs. 8 to 15 mm for standard tools) and higher data sampling rates. The denser sensor array improves the ability to detect and size small isolated pits, narrow axial grooves, and closely spaced corrosion colonies that would be smeared together or missed by a standard-resolution tool. HR-MFL is the preferred specification for new inspections where the integrity management program requires detection of 10 to 15 percent wall loss pits, compared to standard MFL specifications that typically guarantee detection of 20 to 25 percent or greater wall loss defects above a minimum area.

Why MFL Matters

Pipeline failures are among the most costly and environmentally damaging events in the oil and gas industry. Corrosion-induced ruptures on liquid pipelines can release thousands of barrels of crude or refined product into waterways, wetlands, or populated areas; gas pipeline failures can result in fires, explosions, and fatalities. MFL inline inspection is the primary tool that allows operators to identify corrosion and metal loss defects before they reach a critical size, enabling planned repairs rather than emergency response. As pipelines age and regulatory scrutiny of integrity management programs increases globally, MFL inspection frequency, tool performance, and data quality have become central to operator license to operate and regulatory compliance. The technology continues to advance toward combined MFL-UT tools, higher sensor densities, and AI-assisted data analysis that reduce the time from inspection run to repair decision.