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

> 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.

- Label: Fact
- Type: Explainer
- Published: 2026-11-14T11:57:56+09:00
- By: Jun Zhong
- Researched and drafted by: Beacon's AI newsroom
- Checked by: Jun Zhong on 2026-11-14
- Topics: Pipelines, Upstream and offshore
- Canonical: https://beacon.winda.ai/library/in-line-inspection/

## 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]:

| Tool | What it detects | Known limit |
|---|---|---|
| Axial magnetic flux leakage (MFL) | Metal loss from corrosion [1] | Cannot accurately detect long, axially oriented flaws such as colonies of stress corrosion cracks [1] |
| Transverse MFL | Cracks and corrosion in the pipe wall and long seams [2] | Like every tool, a stated minimum flaw size, and interference from nearby anomalies or geometry [2] |
| Ultrasonic wall measurement | Wall thickness lost to corrosion [2] | Same detection limits as other tools [2] |
| Ultrasonic crack detection | Axially aligned cracks and crack fields in the pipe body and seam weld area [2] | Needs liquid coupling between sensors and wall; crack depths are reported in ranges with a sizing tolerance [2] |
| Caliper (geometry) | Dents [1] | Not 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)?](/library/smart-pig-types/).

## 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](/glossary/high-consequence-area/).** 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)?](/library/phmsa-pipeline-safety-regulations/).

## 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?](/library/unpiggable-pipelines/).

## Where integrity problems show up

| What it finds well | What it can miss or get wrong | In the Library |
|---|---|---|
| Metal loss over long distances, with the highest per-mile discovery of anomalies needing repair [1] | Long axial cracks: near Palm City, Florida, a 2009 rupture began in seam weld cracking that 2004 caliper and axial MFL runs could not detect [1] | [Magnetic flux leakage](/glossary/magnetic-flux-leakage/), [What is stress corrosion cracking in pipelines (high-pH and near-neutral pH)?](/library/pipeline-stress-corrosion-cracking/) |
| Axial cracks in liquid lines with ultrasonic crack tools [2] | Uncertain 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 [2] | [What happens after an in-line inspection run?](/library/ili-anomaly-response/), [Probability of detection (POD)](/glossary/probability-of-detection/) |
| Continuous coverage of a piggable segment, rather than examination at selected digs [1] | Segments 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 [1] | [What is direct assessment (ECDA, ICDA, SCCDA)?](/library/direct-assessment/) |
| Line pipe between launcher and receiver [5][6] | Station piping, manifolds and crossovers, excluded from the piggability rules [5][6] | [Piping vs pipeline: what is the difference?](/library/piping-vs-pipeline/) |

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

## Sources

1. [Integrity Management of Gas Transmission Pipelines in High Consequence Areas (Safety Study NTSB/SS-15/01), US National Transportation Safety Board (NTSB)](https://www.ntsb.gov/safety/safety-studies/Documents/SS1501.pdf), 2015-01-27
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)](https://www.ntsb.gov/investigations/AccidentReports/Reports/PAR1201.pdf), 2012-07-10
3. [Pipeline Pig Launching and Receiving (Natural Gas STAR methane mitigation technologies), US Environmental Protection Agency (EPA)](https://www.epa.gov/natural-gas-star-program/pipeline-pig-launching-and-receiving)
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](https://www.phmsa.dot.gov/sites/phmsa.dot.gov/files/docs/standards-rulemaking/rulemakings/archived-rulemakings/59611/57-fr-54745.pdf), 1992-11-20
5. [49 CFR 192.150, Passage of internal inspection devices, eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-I/subchapter-D/part-192/subpart-D/section-192.150)
6. [49 CFR 195.120, Passage of internal inspection devices, eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-I/subchapter-D/part-195/subpart-C/section-195.120)
7. [49 CFR 192.921, How is the baseline assessment to be conducted?, eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-I/subchapter-D/part-192/subpart-O/section-192.921)
8. [49 CFR 195.452, Pipeline integrity management in high consequence areas, eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-I/subchapter-D/part-195/subpart-F/section-195.452)
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](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-I/subchapter-D)
10. [49 CFR 192.933, What actions must be taken to address integrity issues?, eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-I/subchapter-D/part-192/subpart-O/section-192.933)
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)](https://www.api.org/-/media/files/publications/2025-catalog/2025_pubs%20catalog.pdf)
12. [API Strengthens Pipeline Integrity Management Standard (RP 1176, 2nd edition) (RP 1176, 2nd edition, 2026), American Petroleum Institute (API)](https://www.api.org/products-and-services/standards/important-standards-announcements/api-strengthens-pipeline-integrity-management-standard-rp-1176), 2026-08-18

Published by Winda Beacon (https://beacon.winda.ai).
