Skip to content
Beaconby Winda
FactInspection, Testing and Monitoring · In-line inspection and pigging

What is in-line inspection (ILI) and pigging?

·12 sources

Short answer

In-line inspection (ILI) is the inspection of a pipeline from the inside by an instrumented tool, or smart pig, carried along by the flow. The tool records metal loss, dents or cracks along the line. Pigging is the wider practice of sending devices called pigs through a line to clean it, push out liquids or inspect it.

By , Editor·Researched and drafted by ·Checked by , Editor·Last checked ·Next review

Why does it matter?

From 2010 to 2013, US gas transmission operators repaired 663 anomalies for every 1,000 miles assessed by in-line inspection, against 264 by direct assessment, 35 by pressure testing and 26 by other techniques 1. The National Transportation Safety Board (NTSB) concluded that ILI finds the most anomalies per mile of the four methods, yet intrastate operators used it on 68% of the mileage they assessed, against 96% for interstate operators 1. Lines that cannot take a tool rely on methods such as direct assessment, which examines pipe only at selected excavations 1.

How does pigging work?

  • The pig. A pig is a device placed inside the line and pushed along by the product flow, or by compressed gas such as nitrogen 3,4. Pigs that sweep out liquids are typically plastic, urethane foam or rubber 3.
  • Launching and receiving. The pig is loaded into a launcher barrel upstream and caught in a receiver barrel downstream. A kicker line at the launcher and a bypass line at the receiver steer the main flow through the barrel to send or catch the pig 3.
  • Opening the barrel. The barrel is at line pressure, so it is depressurized before the hatch opens, which can release methane, other hydrocarbons and liquids 3.
  • Uses. Pigging clears debris and liquids, pushes condensate out of low points in gas gathering lines, removes leftover product between batches, and inspects 3.
  • Smart pigs. For ILI, sensors ride on the pig; line segments that can take such tools are called piggable 1.

What does an ILI tool measure?

Each sensor suits different flaws 1,2:

ToolWhat it detectsKnown limit
Axial magnetic flux leakage (MFL)Metal loss from corrosion 1Cannot accurately detect long, axially oriented flaws such as colonies of stress corrosion cracks 1
Transverse MFLCracks and corrosion in the pipe wall and long seams 2Like every tool, a stated minimum flaw size, and interference from nearby anomalies or geometry 2
Ultrasonic wall measurementWall thickness lost to corrosion 2Same detection limits as other tools 2
Ultrasonic crack detectionAxially aligned cracks and crack fields in the pipe body and seam weld area 2Needs liquid coupling between sensors and wall; crack depths are reported in ranges with a sizing tolerance 2
Caliper (geometry)Dents 1Not built to find wall loss or cracks 1

Sources: NTSB SS-15/01 (2015) 1; NTSB PAR-12/01 (2012) 2.

Federal gas rules treat ILI as suited to corrosion, dents and other mechanical damage, cracking and hard spots with cracking, and require operators to account for tool tolerance, detection threshold, probability of detection and identification, and sizing and location accuracy 7. Tool types are compared in What types of in-line inspection tools are there (MFL, UT, EMAT, geometry)?.

When do US rules require ILI and piggable lines?

  • Building for passage. The Pipeline Safety Reauthorization Act of 1988 required rules on instrumented tools; in 1992 the regulator cited a study finding about 40% of gas transmission and 10% of hazardous liquid lines not built for pigs 4. Today new transmission lines and replaced line pipe, valves or fittings must pass these tools under NACE SP0102, except manifolds, station piping, crossovers, sizes with no commercial tool, some offshore lines, gas gathering lines and tank farm piping 5,6.
  • Gas integrity assessments. ILI is one of the listed baseline methods, alongside pressure and spike tests, excavation with direct examination, guided wave ultrasonic testing, direct assessment and other demonstrated technology 7.
  • Hazardous liquid lines that could affect high consequence areas. ILI is the required method unless construction (diameter changes, sharp bends, elbows) or operation (pressure, low flow, length, tool availability) makes it impracticable; crack-detecting tools are required where cracking is a threat. Each such pipeline must be modified to take ILI tools by 2 July 2040, with exceptions 8.
  • Tool and staff qualification. ILI runs must meet API Std 1163, ASNT ILI-PQ and NACE SP0102; the rules incorporate API 1163's 2nd edition (2013), while API's 2025 catalog lists the 3rd (September 2021) 9,11. For cracks, API RP 1176, Assessment and Management of Cracking in Pipelines, first issued in 2016, reached its 2nd edition in August 2026; it is a recommended practice for liquid and gas transmission operators on handling crack threats, and it draws on ILI results among other data 12.
  • After the run. A gas operator must decide, within 180 days of the assessment unless impracticable, whether each condition found is a threat, and then follow the repair schedule 10. The wider rule set is covered in What are the PHMSA pipeline safety regulations (49 CFR 192 and 195)?.

What makes a pipeline unpiggable?

  • Construction. Tees or elbows not designed for pigs, bends too tight for the tool's length, valves that do not open fully or are smaller than the line, and telescoped sections where the diameter steps down 4.
  • Operation. Debris, scale or wax buildup, low pressure, low or no flow, or an incompatible product; some single-source lines cannot be shut down without cutting supply 1.

In 2015 the NTSB recommended that PHMSA require all gas transmission lines to be capable of ILI, by reconfiguration or new technology, highest-risk lines first 1. See How are unpiggable pipelines inspected?.

Where integrity problems show up

What it finds wellWhat it can miss or get wrongIn the Library
Metal loss over long distances, with the highest per-mile discovery of anomalies needing repair 1Long axial cracks: near Palm City, Florida, a 2009 rupture began in seam weld cracking that 2004 caliper and axial MFL runs could not detect 1Magnetic flux leakage, What is stress corrosion cracking in pipelines (high-pH and near-neutral pH)?
Axial cracks in liquid lines with ultrasonic crack tools 2Uncertain crack sizing: near Marshall, Michigan, six crack-like features 9.3 to 51.6 inches long, reported in 2005, stayed unrepaired until the 2010 rupture; the NTSB found the assessments did not account for tool and data uncertainty 2What happens after an in-line inspection run?, Probability of detection (POD)
Continuous coverage of a piggable segment, rather than examination at selected digs 1Segments left to direct assessment alone: in three of five intrastate incidents in high consequence areas that the NTSB reviewed, it was the only method used, though none was caused by corrosion 1What is direct assessment (ECDA, ICDA, SCCDA)?
Line pipe between launcher and receiver 5,6Station piping, manifolds and crossovers, excluded from the piggability rules 5,6Piping vs pipeline: what is the difference?

Sources: NTSB SS-15/01 (2015) 1; NTSB PAR-12/01 (2012) 2; 49 CFR 192.150 and 195.120 5,6.

Common questions

Is pigging the same as in-line inspection?
No. Much pigging is done to clean lines or remove liquids and leftover product; in-line inspection is the part that uses instrumented tools to record the pipe's condition.
What happens after an ILI run?
The operator reviews the data, decides which features are threats and repairs them on a schedule; US gas rules usually allow 180 days for that decision. See [What happens after an in-line inspection run?](/library/ili-anomaly-response/).
Which standards govern ILI?
US rules point to API Std 1163, ASNT ILI-PQ and NACE SP0102; API's RP 1176 on pipeline cracking, which covers ILI data, reached its 2nd edition in August 2026. See [What is pipeline integrity management?](/library/pipeline-integrity-management/).

Beacon explains these concepts in its own words for education. It does not reproduce or replace the standards cited, and Winda is not affiliated with or endorsed by the organizations that publish them. Engineering decisions need the current edition of the standard and a qualified engineer.

Sources

  1. 1.Integrity Management of Gas Transmission Pipelines in High Consequence Areas (Safety Study NTSB/SS-15/01) · US National Transportation Safety Board (NTSB) ·
  2. 2.Enbridge Incorporated Hazardous Liquid Pipeline Rupture and Release, Marshall, Michigan, July 25, 2010 (Pipeline Accident Report NTSB/PAR-12/01) · US National Transportation Safety Board (NTSB) ·
  3. 3.Pipeline Pig Launching and Receiving (Natural Gas STAR methane mitigation technologies) · US Environmental Protection Agency (EPA)
  4. 4.Passage of Instrumented Internal Inspection Devices (notice of proposed rulemaking), 57 FR 54745 · US Research and Special Programs Administration (RSPA, now PHMSA), via phmsa.dot.gov ·
  5. 5.49 CFR 192.150, Passage of internal inspection devices · eCFR, US Office of the Federal Register
  6. 6.49 CFR 195.120, Passage of internal inspection devices · eCFR, US Office of the Federal Register
  7. 7.49 CFR 192.921, How is the baseline assessment to be conducted? · eCFR, US Office of the Federal Register
  8. 8.49 CFR 195.452, Pipeline integrity management in high consequence areas · eCFR, US Office of the Federal Register
  9. 9.49 CFR 192.493 and 195.591, In-line inspection of pipelines; 192.7 and 195.3, incorporation by reference · eCFR, US Office of the Federal Register
  10. 10.49 CFR 192.933, What actions must be taken to address integrity issues? · eCFR, US Office of the Federal Register
  11. 11.2025 Publications Catalog (entries for Std 1163, RP 1160 and RP 1176) (Std 1163, 3rd edition, September 2021; RP 1160, 3rd edition, February 2019 (reaffirmed March 2024)) · American Petroleum Institute (API)
  12. 12.API Strengthens Pipeline Integrity Management Standard (RP 1176, 2nd edition) (RP 1176, 2nd edition, 2026) · American Petroleum Institute (API) ·