Crude trunk lines that have sat idle for a long time come back with unknowns the original integrity file never captured. Stagnant, water-wetted product can drive internal corrosion and microbiological activity. Cathodic protection may have degraded, or been switched off altogether. Wax or sludge may have settled out, and valves and pig traps may not have been exercised in years. Restart without a structured assessment and you risk losing containment. Offshore, that means a release to sea, a difficult intervention and a long regulatory stop. The opposite mistake is expensive too: replacing a line that a well-planned inspection and targeted repair programme would have returned to service safely.

This article walks through a practical sequence for aged crude trunk lines, particularly those with offshore or subsea sections: data review, in-line inspection (ILI), defect assessment, repair selection and restart verification.

Standards and Requirements Context

Most operators will work inside the framework below. Check which edition applies in your jurisdiction and under your licence.

  • API 1160 covers managing system integrity for hazardous liquid pipelines and sets out the integrity management programme cycle: identify threats, assess, repair, mitigate, re-evaluate. API announced publication of a second edition of a pipeline integrity management recommended practice on 18 August 2026 (API news release), so confirm which edition your programme references.
  • ASME B31.4 covers pipeline transportation systems for liquids and slurries, including design, operation and maintenance requirements for crude lines.
  • DNV-ST-F101 covers submarine pipeline systems, and DNV-RP-F116 covers integrity management of submarine pipeline systems. Both are the primary references for offshore sections.
  • ASME B31G provides corroded-pipe remaining-strength assessment for onshore pipelines, and DNV-RP-F116 provides the equivalent method for submarine pipelines.
  • API 1163 covers in-line inspection systems qualification, and NACE SP0102 covers in-line inspection of pipelines. Both govern how ILI is specified and validated.
  • ASME PCC-2 covers repair of pressure equipment and piping, and ISO 24817 covers composite repairs for pipework.

Start With the Integrity File, Not the Pig

Reconstruct the line history

Before you specify any inspection, pull together what you actually know about the line:

  • Design and construction records: grade, wall thickness, seam type, coating system, girth weld procedures, and any as-built deviations.
  • Operating history: pressure cycling, product quality including water and sour constituents, upsets, and any previous repairs.
  • Previous ILI, hydrotest and CP survey data, and whether earlier anomalies were ever excavated and verified.
  • Shutdown condition: whether the line was left full or empty, whether it was preserved, whether inhibitor or biocide was applied, and how long CP was out of service.

The AIE guidance on managing aged onshore pipelines (2020) makes the broader point that a functional, proactive integrity system is now widely accepted, though it has not always been in place. On older lines the records are often the weakest link. Where they are missing, assume the less favourable material and coating properties until you can verify them, and log the gaps in the threat register.

Identify credible threats for a shutdown line

Applied to a returning crude line, the threat list usually includes:

  • Internal corrosion at low points, dead legs and water-collection sections, including under-deposit and microbiologically influenced attack.
  • External corrosion where coating has disbonded and CP was lost or interrupted.
  • Seam and crack-like defects in older vintage pipe, which metal-loss tools do not reliably size.
  • Mechanical damage, dents and free-span or seabed-stability effects on subsea sections.
  • Degraded valves, flanges, risers and riser clamps and supports at the splash zone and platform interface.

In-Line Inspection Planning

Confirm piggability first

Running ILI on a line that has been idle needs a staged approach. Put a high-resolution tool into an unqualified line and you have the most common route to a stuck-pig recovery.

  1. Clean the line. Run progressively more aggressive cleaning pigs and review the debris returned at the receiver. Large wax, scale or sludge volumes tell you about the condition ahead of the tool.
  2. Run a gauging or caliper pig before any magnetic or ultrasonic tool. Restrictions, dents or ovality showing up at this stage will save you from an expensive tool loss.
  3. Confirm launcher and receiver readiness, including closures, kicker and bypass lines, valve full-bore status and tool-handling arrangements.
  4. Then run the selected inspection tools, matched to the threats identified above.

Match the tool to the threat

Threat Typical ILI approach Key limitation to manage
General metal loss (internal and external) Magnetic flux leakage Sizing accuracy depends on defect geometry, and the tool needs adequate cleanliness and speed control
Wall thickness and crack-like features Ultrasonic or crack-detection tools Needs a suitable couplant (liquid-filled line) and clean surfaces
Dents, ovality, buckles Caliper or geometry tools Does not size metal loss
Strength verification Hydrotest Proves the line at test pressure but does not locate or characterise all defects, and requires disposal of test water
External coating and CP condition CP surveys, ROV external inspection Gives indirect or localised coverage only

For subsea sections, the nearest equivalent is ROV-based or diver-based external inspection. It is rarely a substitute for ILI, but it is the check that calibrates it.

Pig-trap and venting safety

Opening a pig trap on a crude line is a hydrocarbon-containing intervention. Treat it as one.

  1. Isolate the trap from the line and from all connected systems using positive isolation, with double block and bleed where the design allows.
  2. Depressurise to a safe location (flare, closed drain or approved vent). Never vent to atmosphere in an uncontrolled way.
  3. Verify zero energy at the trap: check pressure gauges, bleed open, and confirm no flow.
  4. Apply lock-out/tag-out (LOTO) to every isolation point and to the trap closure.
  5. Treat the area as hazardous. Use ATEX- or IECEx-rated equipment, bond and earth the tool-handling equipment, and control ignition sources. Where the crude is sour, get H₂S detection and respiratory protection in place before the trap is opened, and plan for safe handling of pyrophoric iron sulphide deposits.
  6. Monitor with fixed and portable gas detection, including for H₂S where the crude is sour. Purge or inert as required before opening.
  7. Vent and drain residues to a controlled system, and manage pyrophoric iron sulphide deposits, which can ignite on exposure to air.

Defect Assessment

Verify before you rank

ILI reports list anomalies. They do not decide repairs. The New York DPS-filed integrity programme shows a workable pattern: anomalies are prioritised under an in-line inspection and analysis procedure, repair methods are governed by a separate defect evaluation and repair procedure, and "Rehab Books" are maintained for each line segment to document assessments and associated digs. Keeping ranking apart from repair selection, with a record per segment, is worth copying.

A sound sequence looks like this:

  1. Reconcile ILI data with the construction and previous inspection records, aligning features by girth weld and known fixed points.
  2. Screen anomalies using a recognised method such as ASME B31G or DNV-RP-F101 for corrosion, with the tool's stated sizing tolerance applied conservatively.
  3. Classify defects by immediacy: those that could fail at current or restart pressure, those that need action in the near term, and those for monitoring.
  4. Select verification digs, or ROV inspections offshore, covering the worst defects, a sample of mid-ranked features, and any areas where tool performance is uncertain. Compare field measurements against ILI predictions to see how accurate the tool really is.
  5. Use API 579-1/ASME FFS-1 fitness-for-service assessment for features outside the scope of simple corrosion methods, such as dents with metal loss, cracks or interacting defects.

Set the restart pressure on evidence

If the assessment shows defects cannot be repaired before restart, the usual lever is a temporary pressure restriction based on the remaining strength of the most severe unrepaired defect. Record that restriction formally, with a defined date or trigger for revisiting it. A hydrotest may be justified where records are weak or crack-like threats cannot be ruled out. The Penspen option assessment treats it as one of several options, to be weighed against the water handling and disposal burden, not as a default.

Repair and Rehabilitation Options

Repair method Best suited to Offshore/subsea considerations
Grinding / local dressing Shallow surface defects, gouges Topside and riser sections accessible without a diver or ROV tooling
Composite sleeve (ISO 24817, ASME PCC-2) Moderate metal loss, no active leak Surface preparation and cure conditions underwater need qualified procedures
Full-encirclement steel sleeve Corrosion and some mechanical damage Welded types need weldability and hot-work controls; bolted/clamped types suit subsea
Mechanical clamp Leaks and severe local damage in subsea sections Seal and bolt-load integrity must be verified for the service life
Cut-out and replace spool Severe damage, dents with cracking, widespread degradation Needs isolation, flooding or decontamination, and a hyperbaric weld or mechanical connector
Section or full replacement Extensive corrosion where repair economics fail Greatest cost and schedule impact; justified by the life-extension case

The right choice depends on the defect mechanism as much as its size. A repair can restore strength and still leave the mechanism running. If water holdup is driving internal corrosion, a sleeve buys time while the cause carries on, so mitigation has to go with the repair.

Mitigation after repair

  • Reinstate and test cathodic protection, and verify potentials along the whole line, including at the riser and any anode-depleted sections.
  • Establish an internal corrosion control regime: regular cleaning pigging, inhibitor or biocide where justified, and water-content monitoring and sampling.
  • Review the monitoring strategy. Set the re-inspection interval from measured corrosion growth between runs, not from the pre-shutdown schedule.

Illustrative Scenario

This scenario is illustrative and not drawn from a specific project.

An offshore operator plans to return an export crude line to service after a prolonged shutdown. The line includes a subsea section and a riser at the platform. The old file shows one earlier ILI run and no record of dig verification.

The operator runs staged cleaning pigs, then a caliper tool. The caliper run identifies a localised dent in the subsea section that coincides with a historical anchor-handling area. An MFL tool follows. The report shows clustered internal metal-loss features at a low point, with similar features at a pipeline-riser transition.

The team prioritises the worst low-point features and the dent for verification. ROV inspection and ultrasonic wall measurement show that the MFL tool undersized one defect relative to the field measurement. The team therefore applies a more conservative sizing assumption to the remaining low-point features and re-screens them. The dent goes to fitness-for-service assessment because it coincides with metal loss. A composite sleeve is chosen for moderate defects, a bolted clamp for one feature near the riser base, and a spool replacement is planned for the dent location. The operator sets a temporary pressure restriction for restart, ties it to the remaining strength of the worst unrepaired feature, and records a date for review. An inhibitor and cleaning-pig programme starts on day one of operation, with a repeat ILI run scheduled once corrosion growth between runs can be measured.

Practical Checklist

  • Is the integrity file reconstructed, with missing data explicitly assumed conservative?
  • Has the threat register been updated for the shutdown condition, including internal corrosion, CP loss and seabed or span changes?
  • Is the line proven piggable by cleaning and gauging runs before any inspection tool is launched?
  • Does the ILI tool selection match the threats, including crack-like features in older pipe?
  • Is the ILI vendor's performance specification qualified against API 1163, with a verification dig and ROV plan to check it?
  • Are ranking and repair selection documented separately, with a per-segment record such as a rehab book?
  • Are all pig-trap interventions run under isolation, depressurisation, zero-energy verification, LOTO, hazardous-area controls, gas detection and controlled venting?
  • Is each repair method qualified for the defect mechanism and the environment (topside, splash zone, subsea)?
  • Is the restart pressure supported by a documented assessment, with a review trigger?
  • Are CP, internal corrosion control and re-inspection planning reinstated before the first product enters the line?

Conclusion

Returning an aged crude trunk line after a long shutdown is really a re-baselining job. Rebuild the integrity file, then clean and gauge before you inspect. Pick ILI tools for the threats you actually have, check the results against field measurements, and repair by mechanism as well as by size. Put the restart pressure on documented evidence and tie it to a review point.

Next, convene a cross-discipline review covering pipeline integrity, corrosion, subsea and operations. Agree the threat register and the staged pigging plan, and check your integrity programme against the current edition of API 1160 and, for offshore sections, DNV-RP-F116, before you commit to a restart date.