---
title: "How defects are found"
description: "In-line inspection, pressure testing, direct assessment, excavation and nondestructive examination, and what each can and cannot tell you."
section: learn
updated: 2026-11-26
canonical: https://pipelinerepairs.com/learn/how-defects-are-found/
markdown: https://pipelinerepairs.com/articles/learn/how-defects-are-found.md
---

# How defects are found

In short. In-line inspection, pressure testing, direct assessment, excavation and nondestructive examination, and what each can and cannot tell you.

Most pipe is buried, so nobody sees a defect until a tool or a person looks for it. Finding defects uses several methods, and each one answers a different question. A good integrity program uses more than one.

## In-line inspection (ILI)

In-line inspection sends an instrumented tool, often called a smart pig, through the pipe with the product. The tool records the wall as it goes. Common types are:

- **Magnetic flux leakage (MFL)** tools, which detect metal loss by how it disturbs a magnetic field.
- **Ultrasonic tools**, which measure wall thickness directly, and versions that look for cracks.
- **Geometry or caliper tools**, which find dents, ovality and wrinkles.
- **Inertial or mapping tools**, which record the pipe's position and bending strain.

An ILI report lists **anomalies** with their position, size and type. The report is a set of measurements with **tool tolerances**, not a verdict. Features can be mis-sized or missed, and the tool must suit the defect type it is meant to find. Not every pipeline can be inspected this way, because some lines were not built to pass a tool. This is a common reason other methods are used.

## Pressure testing

A **pressure test** fills the line with water, raises the pressure above normal operating pressure, and holds it. Defects weak enough to fail at the test pressure fail during the test, in a controlled setting. It proves strength at one moment, but does not measure how deep a defect is or show how fast it will grow.

## Direct assessment

**Direct assessment** looks at indirect clues, such as coating survey readings, cathodic protection data and operating history, to find places likely to have corrosion or cracking, then digs and examines a sample. It is a way to find where to look when ILI or testing is not practical.

## Excavation and examination

Every other method ends with a person looking at the pipe. Crews expose a spot, remove the coating and clean the steel. The **in-ditch examination** measures what the tool or model predicted. Field findings usually change the plan, so it is common for repair selection to be finished only after the pipe is exposed. See [in-ditch examination](/assessment/in-ditch-examination/) and [surface preparation](/coatings/surface-preparation/).

## Nondestructive examination (NDE)

NDE is the set of techniques used on the exposed pipe. Common ones are:

- **Visual inspection** and photographs, with a pit gauge or similar tool to measure depth.
- **Laser or structured-light scanning**, which maps the surface in three dimensions.
- **Ultrasonic testing (UT)**, for wall thickness and some internal flaws.
- **Magnetic particle testing** and **dye penetrant testing**, for surface cracks.
- **Radiography**, mostly for welds.

Each technique has a limit. The people performing it have to be qualified, and the results need to be recorded. See [repair records](/regulations/repair-records/).

## From finding to deciding

Detecting a defect starts a clock under many rules. Operators have to evaluate it, compare it with criteria, and act in a set time. The details are in [repair schedules for gas and liquid lines](/regulations/repair-schedules-gas-and-liquid/). The U.S. gas integrity rule also requires an operator to conduct a risk assessment that analyzes threats and potential consequences for each covered segment ([49 CFR 192.917(c)](https://www.ecfr.gov/current/title-49/section-192.917)), which feeds decisions about what to inspect and when.

For the next step, see [how a repair is chosen](/learn/how-a-repair-is-chosen/).

Some defects begin as third-party work done without a locate request or without the operator’s consent. How damage-prevention staff decide whether an activity is unauthorized, and how that work is being trained, is the subject of [IPC2026-185953](/research/library/#ipc2026-185953).

— The Pipeline Repairs team

## Sources

- [49 CFR 192.917 — Threat identification and risk assessment](https://www.ecfr.gov/current/title-49/section-192.917) — eCFR
- [49 CFR 195.452 — Pipeline integrity management in high consequence areas](https://www.ecfr.gov/current/title-49/section-195.452) — eCFR
- [Validity of standard corrosion assessment methods](https://www.phmsa.dot.gov/sites/phmsa.dot.gov/files/docs/technical-resources/pipeline/gas-transmission-integrity-management/65316/validityofcorrosionassessmentsr1.pdf) — PHMSA
- [TTO-10 dent study (final report, November 2004)](https://www.phmsa.dot.gov/sites/phmsa.dot.gov/files/docs/technical-resources/pipeline/gas-transmission-integrity-management/65291/tto10dentstudyfinalreportnov2004.pdf) — PHMSA
