Inspection · Utilities · Gas Utilities
What is a pipeline pig? How operators inspect a gas pipe from inside
You cannot dig up a thousand kilometres of pipe to look at it. So operators send a machine through the inside, pushed along by the gas, and read what it recorded.
From the book The Natural Gas Pipeline: Steel, Pressure, FlowChapter 11. Read the full book free as a PDF.
Why inspect from inside
A buried gas pipeline is out of sight, and defects such as corrosion, cracks, dents and flawed welds grow slowly. PHMSA, the US pipeline safety regulator, says operators must assess their pipe for these problems and fix them on a schedule set by how severe they are. The book puts the point briefly: inspection from outside is difficult for a buried pipe, so the industry often sends instruments down the inside.
What a pig is
SLB, which makes pipeline equipment, explains the name. The first pigs were bundles of straw wrapped with wire or leather, forced down the pipeline, and they squealed. "Pipeline inspection gauge" was made up later to fit the word. PHMSA describes an in-line inspection tool as a device inserted into a pipeline and usually pushed through it by the pressure of the fluid being carried, recording potential defects as it goes.

Cleaning pigs are the simple kind. The book says they reduce build-up of waxes and other contaminants. The one in the photo has polyurethane discs that seal against the wall, so gas pressure pushes the pig, and steel brushes that scrape the pipe. Cleaning matters for gas too. Wet or dirty gas can corrode a line from inside, which is the failure the NTSB found at Carlsbad, New Mexico in 2000.
Smart pigs and what they measure
PHMSA lists the main inspection methods: magnetic flux leakage tools, transverse flux tools, ultrasonic tools of two kinds, and geometry (caliper) tools, alongside hydrostatic testing and other methods.
- Magnetic flux leakage. The tool puts a strong magnetic field into the pipe wall. Where metal has been lost to corrosion, the field leaks out of the wall and sensors record it.
- Ultrasonic. The tool measures wall thickness and metal loss with sound.
- Caliper. The tool measures the shape of the bore to find dents and other deformation.

PHMSA says some operators use a flux or ultrasonic tool together with a geometry tool, and that hydrostatic testing is sometimes used instead of, or as well as, tool runs, for example where a pipe is too small to run internal tools.
What a pig does not do
An inspection run is a snapshot. It finds defects that already exist and can be measured, and operators still have to judge which matter and fix them. The book says the history of pipeline safety is largely a history of organisations that collected good data and failed to act on it. See the ruptures that shaped the rules. Pigs also depend on the compressors: see how gas keeps moving.
Quick answers
What is a pipeline pig?
A device pushed through a pipeline by the flow of the product, used to clean the pipe or inspect it. The name goes back to early pigs made of straw bundles that squealed as they were pushed.
How do smart pigs find corrosion?
Magnetic flux leakage tools magnetise the pipe wall and detect where the field leaks out at metal loss. Ultrasonic tools measure wall thickness with sound.
Can every pipeline be inspected with a pig?
No. PHMSA notes that some operators use hydrostatic testing instead where the pipe is too small for internal tools or other risk factors apply.
