Top Background Image
  • July 09, 2026

Neodymium Magnets in Pipeline Inspection and Cleaning (“Smart Pigs”)


Introduction

Across North America alone, over 500,000 kilometers of oil and gas pipelines have been in service for more than 30 years. Aging infrastructure, corrosion, and metal fatigue pose serious safety and environmental risks. Pipeline failures can cause catastrophic spills, explosions, and billions of dollars in damage.

To prevent failures, pipeline operators use inline inspection (ILI) tools—commonly known as “smart pigs” or “intelligent pigs.” These devices travel inside pipelines, cleaning the interior and detecting defects before they become critical.

At the heart of many smart pigs are high-powered neodymium magnets. These magnets collect ferrous debris, detect corrosion and metal loss, and track the pig’s location within the pipeline.

This guide covers:

  • How magnetic smart pigs work

  • The role of neodymium magnets in pipeline inspection

  • Magnet specifications for ILI tools

  • Real-world industry developments and applications

Part 1: What Is a “Smart Pig”?

A pipeline inspection gauge (PIG)—commonly called a “pig”—is a device that travels through a pipeline, propelled by the product flow (oil, gas, or other fluids).

TypeFunctionMagnet Use
Cleaning pigRemoves debris, rust, scale, and wax buildupMagnets collect ferrous debris
Inspection pig (smart pig)Detects corrosion, cracks, dents, and metal lossMagnets enable Magnetic Flux Leakage (MFL) testing
Combination pigCleans and inspects in one passMagnets serve both functions

How a smart pig works:

  1. The pig is inserted into the pipeline through a launcher

  2. Product flow pushes it through the pipeline

  3. Sensors collect data on pipe condition

  4. The pig is retrieved at a receiver

  5. Data is analyzed to identify defects

The neodymium magnet is the “engine” that enables the pig to detect metal loss and collect debris.

Part 2: Magnetic Flux Leakage (MFL) Inspection

2.1 What Is MFL?

Magnetic Flux Leakage (MFL) is the most common non-destructive testing method used in pipeline inspection.

How MFL works:

  1. Neodymium magnets in the pig magnetize the pipe wall to near saturation

  2. The magnetic field flows through the steel pipe wall

  3. Where the wall is intact, the field flows uniformly

  4. Where there is corrosion, pitting, or metal loss, the magnetic field “leaks” out of the wall

  5. Sensors detect these leakage fields

  6. The pattern and strength of leakage indicate the size and location of defects

Why neodymium is essential: NdFeB magnets produce the high magnetic field strength (up to 1.4 Tesla) needed to saturate thick pipe walls. Weaker ferrite magnets cannot penetrate thick steel or create sufficient flux leakage for accurate detection.

2.2 How Strong Magnets Improve Inspection

Magnet PropertyBenefit for MFL Inspection
High remanence (Br)Saturates thick pipe walls (up to 25mm)
High coercivity (Hcj)Maintains field strength despite vibration and temperature
Stable field over timeConsistent calibration, reliable data
Compact sizeFits within the pig’s limited internal space

Advanced magnet arrays: Modern smart pigs use custom magnet array designs to optimize the magnetic field distribution across the pipe circumference, ensuring full 360-degree coverage.

Part 3: Magnet Specifications for Pipeline Pigs

3.1 Grade Selection

GradeSuitability for Pipeline PigsWhy
N42Good for smaller pipelinesAdequate for thin-wall pipes
N45Standard for most pigsGood balance of strength and cost
N48High-performance pigsMaximum field strength
N45SHHigh-temperature pipelinesResists demagnetization at 150°C

Temperature consideration: Pipelines can operate at elevated temperatures, especially in oil and gas production environments. SH grade is recommended for such applications.

3.2 Coating and Protection

Pipeline pigs operate in harsh environments:

  • Corrosive fluids (water, H₂S, CO₂)

  • Abrasive debris (rust, sand, scale)

  • High pressure (up to 100+ bar)

  • Temperature extremes (from freezing to 150°C)

CoatingSuitabilityNotes
EpoxyPreferredExcellent chemical and abrasion resistance
Ni-Cu-NiGood for dry pipelinesMay corrode in wet/sour service
Special encapsulationExtreme environmentsComplete sealing of magnets

Industry trend: Manufacturers are developing special coating technologies to adapt magnets to pipeline conditions, including resistance to moisture and corrosive media.

3.3 Magnet Shape and Arrangement

ConfigurationDescriptionApplication
Axial ring arrayMagnets arranged in rings around the pig circumferenceStandard MFL pigs
Segmented blocksArc segments forming a complete ringLarge-diameter pipelines
Custom arraysEngineered field patternsSpecialty inspection requirements

Design flexibility: Magnet suppliers offer multiple configuration options for different pipeline diameters and inspection needs.

Part 4: Real-World Industry Development

4.1 USA Rare Earth and Enduro Pipeline Services

In August 2025, USA Rare Earth (USAR) announced a partnership with Enduro Pipeline Services to develop and supply U.S.-made neodymium magnets for pipeline cleaning and inspection.

Key details:

  • Magnets will be installed on Enduro’s “intelligent pigs” or “smart pigs”

  • Magnets collect ferrous debris (rust, scale, welding debris) and detect corrosion

  • Production planned for early 2026 at USAR’s Stillwater, Oklahoma facility

  • The agreement represents a milestone for domestic magnet production in the U.S.

Industry significance: This partnership reflects a broader trend of reshoring rare earth magnet production for critical infrastructure applications. USAR’s Innovations Lab has also signed agreements with Moog (AI/data centers), PolarStar (aerospace/defense), and StudBuddy (residential construction).

4.2 The Growing Need for Pipeline Inspection

StatisticImplication
500,000+ km of pipelines > 30 years old in North AmericaMassive inspection need
Aging infrastructure increases failure riskGrowing demand for ILI tools
Regulatory requirements for pipeline integrityMandated inspection intervals
Shale oil and gas developmentNew pipelines need monitoring

Market opportunity: As energy infrastructure ages and regulations tighten, the demand for high-performance neodymium magnets for pipeline inspection will continue to grow.

Part 5: Technical Challenges and Solutions

ChallengeSolution
Demagnetization from vibrationUse high-coercivity grade (SH or UH)
Corrosion in wet/sour serviceEpoxy coating or complete encapsulation
Field uniformity across pipe circumferenceCustom magnet array design
Temperature variation along pipelineTemperature-compensated calibration
Magnet retention under high pressureRobust mechanical housing and bonding

Future development: The industry is moving toward more efficient magnet designs that use less rare-earth material while maintaining or improving inspection performance.

Conclusion

Neodymium magnets are the critical enabling technology for modern pipeline inspection and cleaning:

ApplicationWhy Neodymium is Essential
MFL inspectionSaturates pipe wall to detect corrosion
Debris collectionCaptures ferrous fragments (rust, scale, weld slag)
Pipeline trackingEnables location detection
CleaningRemoves metallic debris from pipeline interior

Key takeaways for engineers and buyers:

  • Grade: N45 or N45SH for most pipeline applications

  • Coating: Epoxy for corrosion and abrasion resistance

  • Configuration: Custom arrays for different pipe diameters

  • Testing: 100% flux testing and matched magnet sets

As the world’s pipeline infrastructure ages, the demand for reliable inspection tools—powered by neodymium magnets—will only increase.

XiLaitech supplies high-grade neodymium magnets for pipeline inspection and cleaning tools. We offer N45SH magnets with epoxy coating, custom array configurations, and full flux testing. Contact us for ILI magnet specifications.


Quickly Inquiry