Field Operations

Pigging a Pipeline: Cleaning Runs and In-Line Inspection

Every pipeline fills with material that does not belong in it: paraffin and wax from crude oil, water that settles at low points, sand and mill scale from construction, and rust scale that breaks loose over years of service. Left alone, that buildup narrows the bore, raises pumping pressure, and hides the pipe wall from inspection. Pigging pushes a plug through the line to sweep the material out, and it is the step that makes modern inspection possible. This guide covers why lines get pigged, how launchers and receivers work, the difference between cleaning and inspection tools, and how to plan a run.

Why lines get pigged

Anything carried in a pipeline leaves something behind. Crude lines lay down paraffin and asphaltenes as the oil cools. Gas gathering lines collect water, methanol, and glycol carryover at low spots. New lines still hold construction debris: rod stubs, sand, and test water. Over time the deposits build up. A line that moved its rated volume last year starts moving less, or needs more pressure for the same volume. Flow slows, compressor or pump efficiency drops, and a slug of water or sand is more likely to reach a facility.

Pigging fixes that. A cleaning run pushes a plug through the bore that scrapes the wall and drives debris ahead of it to a catcher at the far end. Operators run pigs for four reasons: to remove liquid and debris and restore flow; to dewax waxy crude lines on a schedule set by how fast wax builds; to separate products batched through a shared trunk line; and to give an inspection tool a clean wall to read.

Launchers and receivers

A pig goes in at a launcher and comes out at a receiver; together they are called pig traps, and a mainline that gets pigged routinely has one at each end. A launcher is a barrel section, larger than the main line, connected through a reducer and valves. To load a pig, the crew opens the closure, slides the pig in, seals it, and pressurizes the barrel to match the line. Opening the main valve pushes the pig through the reducer and into the flow. The receiver works in reverse: the pig arrives, slows, and is pulled out after the trap is bled down.

Pressure handling is where this job gets people hurt. The trap is a pressure vessel with a closure that is only safe after the trap has been isolated and bled down. The sequence never changes: close the isolation valve, bleed the pressure, confirm zero on a gauge, then open the closure. Jumping the order, or cracking a closure against pressure, has caused fatal accidents. Most operators put the sequence in a procedure and require two people to check it before the trap opens.

Utility pigs and smart pigs

Utility pigs do the cleaning. Foam pigs are the lightest: open-cell polyurethane cylinders that squeeze through tight bends, wipe liquids, and dry the line. They are cheap and often the first tool run through a new line, because a stuck one can be dissolved or pushed through. Steel-bodied pigs are the workhorses, with cups and brushes that scrape wax and scale off the wall and a build that survives hundreds of miles of service. Between the two sit elastomer and composite pigs sized to the exact bore.

Smart pigs, properly called in-line inspection tools, do not clean. They ride the flow and record data about the pipe wall. Magnetic flux leakage tools magnetize the wall and sense where metal is missing, which finds general corrosion and pitting. Ultrasonic tools measure wall thickness directly and can read through coatings. Caliper tools measure the bore and find dents and ovality. Analysis software turns the data into a report showing where corrosion sits, how deep it is, and whether it is growing fast enough to matter. That report turns a pig run from routine maintenance into an integrity decision.

Planning a pig run

A pig only works if flow carries it, so the line needs enough velocity to push it the whole way, and the crew needs to know that velocity before launch. Too slow and the pig stalls; too fast and cups wear out or an inspection tool stops reading cleanly. Flow rate also matters because everything the pig sweeps arrives at once. The receiver and downstream facility have to handle the surge, so runs are planned around a slug catcher or a tank with room for the liquid that arrives with the pig.

Crews track the pig as it moves, using transmitter-equipped pigs and receivers at road crossings and pump stations along the route. If it has not arrived when it should, the line is shut down and a crew goes looking before the pig can plug a valve or a station. The run is a coordinated job: someone launches, someone receives, someone watches the pumps or compressors, and someone logs every station check. Dispatch and tracking of a pig run, with each station check logged, is where software like OpsFlo earns its keep. The same record becomes the field ticket that carries the crew's hours and materials into billing.

The integrity rules behind it

Federal rules tie pigging to pipeline integrity. Gas transmission lines are covered by 49 CFR Part 192, and hazardous liquid lines by 49 CFR Part 195. Both require operators to assess their lines for defects on a schedule, and in-line inspection is the preferred method because it finds real defects rather than inferred ones. Where ILI is not practical, the rules allow alternatives such as hydrostatic testing.

Integrity work does not end when the tool comes out of the receiver. The operator evaluates every anomaly the inspection finds, rates its severity, and schedules repair or monitoring by the deadline the rule sets. Corrosion control, including cathodic protection, is the other half: the inspection shows where metal is being lost, and the protection system keeps it from being lost faster. The rules do not dictate a specific pig or vendor. They set the performance standard, and the operator chooses the tools and the program that meet it.

Sources and further reading

Want this applied to your field operation?

OpsFlo turns tickets, dispatch and approvals into one clean billing flow.

Book a working session