Code
ASME B31.4: liquid and slurry pipelines.
The design and construction code for pipelines carrying crude, refined products, natural gas liquids, carbon dioxide and slurries.
What it covers
ASME B31.4 in plain terms.
ASME B31.4 is a design and construction code. It sets wall thickness, materials, routing, and testing for liquid pipelines, and then points elsewhere for the welding detail.
Welding procedures and welders are qualified to ASME Section IX or API 1104, and girth welds are inspected and accepted to API 1104. In practice, a B31.4 job's weld reports read like API 1104 reports.
The code sets how many welds get nondestructive examination. A random share is examined on ordinary line pipe, and every weld is examined where a failure would matter most, such as river and road crossings.
It also covers pressure testing, corrosion control, and operation and maintenance of the line once it's built.
Where it’s used: Oil, gas, and petrochemical
Regulation
Hazardous liquid pipelines in the US are regulated by PHMSA under 49 CFR 195, which incorporates API 1104 for welding. Operators use B31.4 as the design and construction code alongside it.
- Full title
- Pipeline Transportation Systems for Liquids and Slurries
- Issued by
- ASME
- Applies to
- Pipelines carrying liquid hydrocarbons, liquid alcohols, carbon dioxide, anhydrous ammonia and slurries, with their terminals and pump stations
- Required by
- Operators' specifications; US liquid pipelines are regulated under 49 CFR 195
- Welding qualification
- ASME Section IX or API 1104
- Weld acceptance
- API 1104
- Related codes
- ASME B31.8 for gas · API 1104 for welding · CSA Z662 in Canada
Who it's for
One record. Both sides of the job.
How inspection works
Methods under ASME B31.4.
Who sets the procedure, who sets acceptance, and who may do the work, method by method.
| Method | Procedure | Acceptance | Certification |
|---|---|---|---|
| Radiographic (RT) | API 1104 radiographic procedure | API 1104 | Level II, plus radiation safety |
| Ultrasonic (UT), incl. automated | API 1104 ultrasonic procedure | API 1104 | UT Level II |
| Visual (VT) | Visual inspection of every weld | API 1104 | Qualified inspector |
Acceptance criteria
How a weld passes or fails.
B31.4 sends weld acceptance to API 1104. What B31.4 itself decides is how many welds are examined and where.
- A random share of girth welds is examined on ordinary line pipe, and the operator can raise it.
- Every weld is examined at crossings and in other places the code names, and tie-ins that won't see the pressure test get full examination.
- Each examined weld is accepted or rejected to API 1104's criteria.
- Rejected welds are repaired or cut out, and re-examined.
The report has to show both: the B31.4 extent of examination for that weld, and the API 1104 call.
A summary, not the code. Limits and exceptions are in the edition your job works to.
The report
What ASME B31.4 reports have to carry.
The fields a Level III checks before signing. Miss one and the report comes back.
- Job, operator, line, and station or milepost
- Weld ID, welder ID and the welding procedure
- Pipe size, wall thickness and grade
- Why the weld was examined: random sample, crossing, tie-in
- Method, technique, and equipment
- Each indication and the API 1104 call
- Disposition and repair
- Technician name, certification level and signature, reviewer sign-off
Where reports go wrong
The ASME B31.4 mistakes that send a report back.
How the job's procedures come from your plan
The NDT reporting checklist: eight ways to get reports right the first time
B31.4 as the acceptance standard.
B31.4 sets the extent of examination. Calls are made against API 1104, and the report has to say so.
A crossing weld in the random sample.
Welds at crossings need full examination. Treated as part of a random sample, they're under-inspected.
The gas code on a liquid line.
B31.8 location classes don't apply to a liquid line. The examination extent comes from B31.4.
FAQ
Questions.
Every other answer is on the FAQ page.
What does ASME B31.4 cover?
Design, construction, testing, operation, and maintenance of pipelines carrying liquid hydrocarbons, carbon dioxide, ammonia, and slurries, with their pump stations and terminals.
Which code accepts welds on a B31.4 pipeline?
API 1104. B31.4 sets how many welds are examined and where; API 1104 sets the acceptance criteria.
What's the difference between B31.4 and B31.8?
B31.4 covers liquid pipelines; B31.8 covers gas transmission and distribution. Their design rules and examination extents differ.

See your own report rebuilt.
Book a 30-minute demo on one of your real reports.
Not ready to talk? The calculator works out hours and costs back from your own numbers.

