Automation Glossary • Pipeline Pig

What Is a Pipeline Pig?

Merobix Engineering • • 7 min read

A pipeline pig is a device that travels inside a pipeline, carried along by the product flow, to clean, separate, gauge, or inspect the line. This guide explains how a pig works, the difference between utility pigs and smart (inline inspection) pigs, and where pigging fits in oil and gas operations.

Back to Blog

Pipeline Pig in one line: A pipeline pig is a bullet- or sphere-shaped tool inserted into a pipeline and pushed through it by the flowing product. Utility pigs clean deposits, remove liquids, or separate batches; smart pigs carry sensors that map the pipe wall for corrosion, dents, and cracks. The pig seals against the pipe bore so the pressure differential across it provides the driving force, letting operators maintain and inspect a line without shutting it down.

How a Pig Moves and What It Does

A pig is loaded into a pig launcher, isolated, then exposed to line pressure. Because the pig's discs or cups seal against the inside diameter, the product pressure behind it is higher than in front, and that pressure differential drives the pig downstream at roughly the fluid velocity. At the far end it is captured in a pig receiver and removed. The whole run happens while the pipeline stays in service, which is why pigging is a core maintenance tool.

Utility pigs perform several jobs. Cleaning pigs carry brushes or scrapers to remove wax, scale, and debris. Batching or sealing pigs separate two products, or push liquids ahead of them to dewater a gas line. Gauging pigs carry a soft aluminum plate that deforms if the bore is out of round, confirming a new or repaired line is free of obstructions before commissioning.

Utility Pigs vs Smart Pigs

Utility pigs are simple mechanical tools - foam pigs, mandrel pigs with cups and discs, or solid cast pigs - chosen for the deposit and pipe geometry. Foam pigs are light and forgiving of bends and diameter changes; steel-bodied mandrel pigs give aggressive cleaning and reliable sealing on straight, consistent bore.

Smart pigs, also called inline inspection (ILI) tools, are instrumented pigs that record data as they travel. Magnetic flux leakage (MFL) tools detect metal loss from corrosion; ultrasonic tools measure wall thickness and find cracks; caliper (geometry) tools map dents and ovality. The data locates and sizes defects so operators can plan repairs and demonstrate integrity to regulators. Running a pig requires a line with compatible bore, bend radii, and launcher and receiver facilities, so piggability is designed into a pipeline from the start.

Planning a Pig Run End to End

A routine run follows a stable sequence regardless of pig type. Confirm the line section is piggable for the tool you intend to run - bore, bend radii, valve types, and tee barring all constrain it. Select the pig for the job and inspect it before loading: cup and disc condition on a mandrel pig, density and coating on a foam pig. Loading, pressuring, and launching are carried out strictly per the site's written procedure by qualified personnel, because the pig launcher is pressurized process equipment and its isolation, venting, and door-interlock steps are safety-critical.

Once the pig is away, it is tracked to the receiver. Passage indicators at fixed points confirm progress, a pig tracking transmitter allows location between them, and elapsed time against flow rate gives a running estimate of arrival. Receiving mirrors launching: verify arrival, isolate and depressure the receiver per procedure, remove the pig, and inspect both the pig and the returned debris. What the pig brings back is data - about the line's condition, and about whether the next run should be more or less aggressive.

Matching the Tool to the Job at Hand

SituationTool to run
Rising pressure drop, suspected wax or scaleCleaning pig, usually a progressive series starting soft
Liquids accumulating in a wet-gas lineSealing or batching pig sweeping liquids to a slug catcher
New construction or post-repair bore verificationGauging pig with a deformable plate
Integrity assessment of the pipe wallInline inspection tool, preceded by cleaning runs
Product changeover in a multi-product lineBatching pig separating the interface

The table hides one universal rule: inspection tools are only as good as the cleaning that preceded them. An inline inspection tool run through a dirty line returns noisy, hard-to-grade data, so ILI campaigns begin with cleaning runs and continue until the debris returned per run falls to an acceptable level. Gauging before the ILI run protects the expensive instrumented tool from geometry surprises.

When a Pig Gets Stuck

Pigs stall for a short list of reasons: a debris slug builds ahead of the pig until the available differential can no longer move it, the differential itself collapses because flow dropped, the pig meets geometry it cannot pass - a reduced-bore valve, an unbarred tee, a hard dent - or the pig was the wrong size or too worn to seal. The response is procedural, not improvised: locate the pig using tracking equipment and the line's pressure profile, then adjust conditions only within permitted operating limits and under the direction of qualified personnel following the site's stuck-pig procedure.

Prevention is cheaper than retrieval. Lines with unknown or long-neglected condition are worked up progressively - low-density foam pigs first, then stiffer and more aggressive tools as the returns come back cleaner - so no single run bites off more debris than the flow can push. A run history log, noting pig type, condition on receipt, and debris returned, is what turns pigging from folklore into an engineered program.

What the Control Room Sees During a Run

Pigging is also a SCADA event. Passage indicators come in as discrete points, so the control room sees launch confirmation, checkpoint passages, and receipt as timestamped events. Pressure and flow trends carry the rest of the story: differential pressure across the section rises as a cleaning pig pushes its debris load, and a stalling pig shows as climbing upstream pressure with falling throughput.

Operators typically trend upstream and downstream pressure, flow rate, and the expected-arrival estimate together for the duration of the run, and alarm on a passage indicator that fails to trip inside a window around the estimate. Capturing those events and trends in the historian gives the integrity team a per-run record it can compare across the whole program, which is exactly the evidence a regulator asks to see.

Frequently Asked Questions

Why is it called a pig?

The name is widely attributed to the squealing noise early leather-and-metal cleaning pigs made scraping through a line, though the origin is not certain. Today PIG is sometimes backronymed as Pipeline Inspection Gauge, but the tools long predate that expansion.

What is the difference between a utility pig and a smart pig?

A utility pig is a passive mechanical tool that cleans, separates, gauges, or dewaters a line. A smart pig carries sensors (MFL, ultrasonic, or caliper) and records data to inspect the pipe wall for corrosion, cracks, dents, and ovality.

Can a pipeline be pigged while it is running?

Yes. A pig is launched into the live line and driven by the product flow, so cleaning and inspection normally happen without a shutdown. The launcher and receiver are isolated for loading and removal, but the pipeline itself stays in service.

How does the control room know the pig has arrived?

A passage indicator at the receiver trips as a discrete SCADA point, and the field crew confirms physically before isolating the receiver. Arrival is also cross-checked against the estimate from flow rate and elapsed time; a pig that misses its arrival window triggers the stuck-pig response rather than an open-ended wait.

Can every pipeline be pigged?

No. A line needs launch and receive facilities, a consistent bore, full-bore valves, and barred tees to be piggable, and many older or short lines were not built that way. Operators either retrofit - adding launchers and receivers, replacing restrictive valves - or rely on alternative integrity assessment methods where retrofitting is impractical.

More in General Automation Concepts
Hydrostatic Test  •  Design Factor  •  Spike Test  •  AC Interference  •  Batching  •  All General Automation Concepts →
Free SCADA operator training
Merobix University - 70 video lessons & 261 quiz questions, from first login to compliance reporting. No demo call required.
Start free →