Code
ASME B31.8: gas transmission and distribution pipelines.
The design and construction code for gas pipelines, from transmission lines to distribution mains, where population nearby sets how strict the rules are.
What it covers
ASME B31.8 in plain terms.
ASME B31.8 covers gas pipelines from design through operation. Its organizing idea is location class: the more people live near the line, the higher the class, the thicker the pipe, and the more inspection it gets.
Like B31.4, it points elsewhere for welding detail. Procedures and welders are qualified to ASME Section IX or API 1104, and welds are accepted to API 1104.
The share of girth welds examined rises with location class, up to every weld in the most populated areas, at crossings and on tie-ins that won't be pressure tested.
The US federal gas rules, 49 CFR 192, grew out of B31.8 and still cover much of the same ground. On a regulated line, the rule is the floor and the operator's specification often goes further.
Where it’s used: Oil, gas, and petrochemical
In the glossary: PHMSA
Regulation
Gas pipelines in the US are regulated by PHMSA under 49 CFR 192, which incorporates API 1104 for welding and grew out of B31.8. Operators use B31.8 as the design code and often require more than the rule does.
- Full title
- Gas Transmission and Distribution Piping Systems
- Issued by
- ASME
- Applies to
- Gas transmission lines, distribution mains and services, compressor stations, and gathering lines
- Required by
- Operators' specifications; US gas pipelines are regulated under 49 CFR 192
- Key idea
- Location class: Class 1 to Class 4, by how many buildings are near the line
- Welding qualification
- ASME Section IX or API 1104
- Weld acceptance
- API 1104
- Related codes
- ASME B31.4 for liquids · 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.8.
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.8 sends weld acceptance to API 1104. What it decides is how many welds are examined, and that depends on location class.
- Class 1 lines, in open country, have the smallest examined share; Class 4, in dense areas, the largest.
- Crossings, tie-ins, and other named locations get full examination whatever the class.
- Each examined weld is called against API 1104.
- Rejected welds are repaired or cut out and re-examined.
The report should carry the location class, because it explains why the weld was examined and how many more like it were.
A summary, not the code. Limits and exceptions are in the edition your job works to.
The report
What ASME B31.8 reports have to carry.
The fields a Level III checks before signing. Miss one and the report comes back.
- Job, operator, line, location class, and station or milepost
- Weld ID, welder ID and the welding procedure
- Pipe size, wall thickness and grade
- Why the weld was examined: 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.8 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
No location class on the report.
Without it, nobody can check the examined share was right for the line.
B31.8 as the acceptance standard.
Calls are made against API 1104. B31.8 sets how many welds are examined.
The federal rule forgotten.
On a regulated line, 49 CFR 192 applies alongside B31.8, and the stricter of the two governs.
FAQ
Questions.
Every other answer is on the FAQ page.
What is location class in ASME B31.8?
A rating from Class 1 to Class 4 based on how many buildings are near the pipeline. Higher classes get more conservative design and more weld examination.
Which code accepts welds on a B31.8 pipeline?
API 1104. B31.8 sets the extent of examination; API 1104 sets the acceptance criteria.
Is B31.8 the same as 49 CFR 192?
No. 49 CFR 192 is the federal rule for gas pipelines; B31.8 is the consensus code it grew out of. Both cover similar ground, and the stricter requirement governs.

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.

