Pigging a Pipeline Explained: What Pipeline Pigs Actually Do

If someone told you they were “pigging a pipeline,” you might picture a farm animal somehow making its way through a steel pipe.

As strange as the name sounds, pipeline pigs have nothing to do with animals. They’re specialized devices that travel inside pipelines to clean them, inspect them, and ensure they continue operating safely and efficiently.

In fact, without pipeline pigging, many oil and gas pipelines would experience lower flow rates, higher operating costs, increased corrosion, and a greater risk of failure.

Whether crude oil, natural gas, refined products, or chemicals are being transported, pigging is one of the most important maintenance activities performed on a pipeline.

Why Is It Called a “Pig”?

No one knows for certain where the name originated.

One popular explanation is that the first cleaning devices made a squealing noise as they traveled through the pipe, reminding operators of a pig.

Another theory is that early pigs were simple bundles of rags wrapped around metal frames, which resembled the shape of a pig as they moved through the pipeline.

>

Regardless of where the name came from, the term has remained part of the oil and gas industry’s vocabulary for decades.

What Is a Pipeline Pig?

A pipeline pig is a device that travels through the inside of a pipeline using the pressure of the product flowing behind it.

Unlike inspection robots that move on their own, most pigs simply ride the flow of oil or gas.

As they move through the pipeline, they perform a specific job.

Depending on the design, a pig can:

  • Remove wax deposits
  • Clean debris
  • Separate different products
  • Remove liquids from gas pipelines
  • Inspect the condition of the pipe
  • Detect corrosion
  • Measure dents or deformations
  • Verify the pipeline’s internal dimensions

Some pigs are made entirely of polyurethane foam, while others contain powerful magnets, electronic sensors, and sophisticated computers.

Why Do Pipelines Need Cleaning?

People often assume that crude oil or natural gas flows through perfectly clean pipes.

In reality, pipelines slowly accumulate material over time.

Common deposits include:

  • Paraffin wax
  • Scale
  • Sand
  • Rust
  • Water
  • Dirt
  • Iron sulfide
  • Construction debris

These materials reduce the effective diameter of the pipeline.

Imagine drinking through a straw that slowly becomes clogged.

You can still drink, but it becomes more difficult.

The same thing happens inside a pipeline.

As deposits build up, friction increases, pumps must work harder, and the amount of product that can be transported decreases.

Regular pigging helps restore the pipeline to near-original operating conditions.

The Different Types of Pipeline Pigs

Not all pigs perform the same job.

Here are the most common types used throughout the industry.

Cleaning Pigs

Cleaning pigs are the workhorses of pipeline maintenance.

They typically have polyurethane cups or discs that scrape the inside walls of the pipe as they travel.

Some also use wire brushes to remove stubborn deposits.

Cleaning pigs are commonly used in crude oil pipelines where wax buildup can significantly reduce flow.

Foam Pigs

Foam pigs are lightweight and flexible.

They’re often used to:

  • Dry pipelines
  • Remove water
  • Apply chemicals
  • Clean smaller lines
  • Test pipeline integrity

Because they’re soft, foam pigs can safely pass through pipelines with minor changes in diameter.

Batching Pigs

Many pipelines transport different products through the same pipe.

For example, gasoline might be followed by diesel fuel.

Instead of mixing together, a batching pig separates the two products.

This minimizes contamination and reduces product losses.

Intelligent Pigs

Also called smart pigs, these are among the most advanced inspection tools used in the oil and gas industry.

Instead of cleaning the pipe, they collect data.

A smart pig may contain:

  • Magnetic sensors
  • Ultrasonic equipment
  • GPS positioning
  • Inertial navigation systems
  • High-capacity batteries
  • Onboard computers

As the pig travels through the pipeline, it records thousands of measurements every second.

After the run is complete, engineers analyze the data to identify:

  • Corrosion
  • Metal loss
  • Cracks
  • Dents
  • Wrinkles
  • Ovality
  • Weld defects

This allows operators to repair problems long before they become leaks.

How Is a Pig Inserted Into a Pipeline?

Pipelines aren’t cut open every time a pig is used.

Instead, operators use specially designed equipment called a pig launcher.

The pig is placed inside the launcher.

Once the launcher is safely sealed and pressurized, valves are opened, allowing the flowing product to push the pig into the pipeline.

At the opposite end, the pig arrives at a pig receiver, where it can be safely removed.

This entire process is carefully controlled because pipelines often operate at very high pressures.

How Fast Does a Pig Travel?

A pig doesn’t move at a constant speed.

Its speed depends on:

  • Product flow rate
  • Pipeline pressure
  • Pipeline diameter
  • Terrain
  • Product viscosity

Most operators aim to keep pigs moving at a controlled speed.

If a pig moves too slowly, it may not clean effectively.

If it moves too quickly, it may skip deposits or experience excessive wear.

Modern intelligent pigs continuously record their speed throughout the inspection.

What Happens If a Pig Gets Stuck?

Although uncommon, pigs can become stuck.

Possible causes include:

  • Heavy wax deposits
  • Mechanical damage
  • Pipeline restrictions
  • Incorrect pig selection
  • Debris
  • Unexpected changes in pipe diameter

If a pig becomes lodged, operators first attempt to free it by adjusting pipeline pressure and flow.

If that doesn’t work, locating equipment can determine its exact position.

In rare cases, the pipeline must be excavated so the pig can be removed.

Because of this, selecting the correct pig before launching is extremely important.

Can Every Pipeline Be Pigged?

No.

Some older pipelines weren’t designed for pigging.

Others contain valves or fittings that prevent pigs from passing safely.

Modern pipelines are often designed to be piggable, meaning they include:

  • Pig launchers
  • Pig receivers
  • Full-bore valves
  • Smooth internal geometry
  • Long-radius bends

Designing a pipeline with pigging in mind makes future maintenance much easier.

Why Smart Pigging Is So Important

Pipeline inspections have changed dramatically over the last few decades.

Years ago, operators often relied on external inspections or repaired pipelines only after problems became obvious.

Today, intelligent pigs can identify corrosion measuring only a few millimetres before it becomes a serious issue.

This allows companies to:

  • Schedule repairs before failures occur
  • Reduce environmental risk
  • Improve worker safety
  • Extend pipeline life
  • Lower maintenance costs

It’s one of the best examples of predictive maintenance in the oil and gas industry.

Interesting Facts About Pipeline Pigging

  • Some intelligent pigs cost hundreds of thousands of dollars.
  • Large transmission pipelines may require several different pigs during a maintenance program.
  • Smart pigs can inspect hundreds of kilometres in a single run.
  • Some inspection pigs record terabytes of data during long-distance inspections.
  • Certain pigs are designed specifically for offshore pipelines.

Common Misconceptions

“Pipeline pigs are robots.”

Not usually.

Most pigs don’t have motors or wheels. They move because the flowing product pushes them through the pipeline.

“Pigging is only done when something goes wrong.”

Routine pigging is part of normal pipeline maintenance.

Waiting until deposits become severe can significantly increase operating costs.

“Only crude oil pipelines use pigs.”

Natural gas, refined products, chemicals, carbon dioxide, hydrogen, and even water pipelines can all be pigged, depending on their design.

Final Thoughts

Although most people never see one, pipeline pigs play a critical role in keeping the oil and gas industry running safely.

They clean pipelines, improve flow efficiency, separate products, and provide engineers with valuable information about the condition of assets that may stretch hundreds or even thousands of kilometres.

Without pigging, corrosion would be harder to detect, maintenance costs would increase, and the risk of pipeline failures would be much higher.

The next time you hear someone mention “pigging a pipeline,” you’ll know they’re talking about one of the industry’s most important maintenance practices—not livestock.

Frequently Asked Questions

How often are pipelines pigged?

It depends on the product being transported and the pipeline’s operating conditions. Some pipelines are pigged weekly, while others may only require pigging every few months or after specific operating events.

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

A cleaning pig removes deposits such as wax, dirt, and debris. A smart pig is equipped with sensors that inspect the condition of the pipeline and collect detailed data about corrosion, cracks, and other defects.

Can pigs travel through bends in a pipeline?

Yes. Modern pigs are designed to navigate standard pipeline bends, provided the pipeline has been designed for pigging.

Why don’t all pipelines have pig launchers?

Some older pipelines were built before pigging became common practice, while certain pipeline configurations make pigging impractical. Most new transmission pipelines, however, are designed to accommodate pigging operations throughout their service life.

Related Articles

Latest Articles