What is ASME B31.3 (process piping)?
ASME B31.3, Process Piping, is the American Society of Mechanical Engineers (ASME) code for new piping in refineries, chemical plants and terminals. It covers materials, components, design, fabrication, erection, examination, inspection and testing up to start-up. The current edition is 2024. Inspection in service falls under codes such as API 570.
By Jun Zhong, Editor·Researched and drafted by Beacon's AI newsroom·Checked by Jun Zhong, Editor·Last checked ·Next review
Why does it matter?
At Texas City, Texas, in 2005, a carbon steel elbow installed where low alloy steel was required ruptured after about 3 months in hot hydrogen service, and the escaping hydrogen ignited 3. The US Chemical Safety and Hazard Investigation Board (CSB) found that high temperature hydrogen attack had weakened the elbow; the fire caused a reported $30 million in property damage 3. The CSB also noted that the carbon steel and alloy elbows in that assembly had been made the same size, which may have saved construction cost but let the wrong one fit, and that the plant verified alloy parts for new construction but not during maintenance 3. B31.3 leaves the choice of material for a service to the designer and owner 2, so design decisions such as interchangeable parts in different alloys carry into every later overhaul.
What piping does ASME B31.3 cover?
ASME lists the facilities it has in mind: petroleum refineries, chemical and pharmaceutical plants, hydrogen, paper, power, semiconductor and cryogenic facilities, and related processing plants and terminals 1. The code applies to any fluid, from raw and finished chemicals and petroleum products to gas, steam, air, water, refrigerants and cryogenic liquids, and it includes piping that links the stages of packaged equipment 1.
B31.3 is a construction code. A 2024 review for the US Department of Energy (DOE) lists its coverage as materials, design, fabrication, examination, testing, overpressure protection, and inspection; periodic inspection, fitness-for-service assessment and repairs are outside it 2. Materials and their allowable stresses are listed in the code itself 2.
New editions have come out every two years; ASME's site lists 2006 through 2024, with 2024 current 1. ASME's summary of the 2024 changes includes impact testing, heat treatment, flexibility analysis and design rules for high pressure service 1. Where plant piping ends and a pipeline begins is covered in ASME B31.3 vs B31.4 vs B31.8: which piping code applies?.
How does B31.3 grade piping by fluid service?
B31.3 sorts piping by fluid service, and the category changes how many new welds are examined and which joint types are allowed 2.
| Fluid service | Examination of new welds | Other effects |
|---|---|---|
| Normal | Visual examination plus radiography of a random sample | Baseline rules |
| Category D | Visual examination only; no surface or volumetric examination required | Lowest examination level of these categories |
| Category M (toxic fluids) | Visual plus more extensive radiography | Extra limits on some flanged joints, as in flammable and cryogenic service |
| High pressure | Visual plus more extensive radiography | Separate design rules, revised in 2024 for pressure design and fatigue |
| Severe cyclic conditions (designated by owner or designer) | Visual plus more extensive radiography | Weld neck flanges unless safeguarded; limits on low-strength bolting |
Sources: DOE PRE-L-02, 2024 2; ASME B31.3 product page 1. Category limits and percentages are in the code and are not reproduced here.
Separately, ferritic steels need Charpy impact testing when their minimum design temperature, thickness and stress level call for it 2.
Who checks the work during construction?
Unlike pressure vessels built to the ASME Boiler and Pressure Vessel Code, B31.3 piping does not require an independent authorized inspection agency 2. The owner instead designates an owner's Inspector, who confirms that the required examinations and tests were completed; that Inspector may not represent the fabricator or erector unless the owner is also the builder 2. The finished system is then pressure tested before it enters service 2.
How does B31.3 connect to OSHA process safety rules and API 570?
The Occupational Safety and Health Administration (OSHA) process safety management (PSM) standard, 29 CFR 1910.119, requires employers to record the materials of construction and design codes for covered equipment, and to document that it meets recognized and generally accepted good engineering practices (RAGAGEP) 6. OSHA's 2016 enforcement memo names ASME B31.3 as an example of such a consensus document, and says OSHA presumes a violation when an employer departs from a mandatory "shall" in the RAGAGEP it adopted 5. Equipment built to codes no longer in general use must instead be shown to be safe 5,6.
After start-up, piping is inspected under an in-service code such as API 570, 5th edition (2024), which covers inspection, rating, repair and alteration of metallic piping 10. OSHA cites API 570 as an example of RAGAGEP and notes that thickness monitoring must include injection points, mixing points and dead legs 7.
Where integrity problems show up
| Decision or step at this stage | What it affects later | In the Library |
|---|---|---|
| Material chosen for the service and verified at installation | A carbon steel elbow in a line requiring low alloy steel failed by high temperature hydrogen attack within months 3 2,3 | What is high temperature hydrogen attack (HTHA)?, What is positive material identification (PMI)? |
| Layout that leaves a dead leg (piping with no flow) | Water collects at low points; in Sunray, Texas, in 2007, water in an idle station froze, cracked an elbow and let out liquid propane at about 4,500 pounds per minute before it caught fire 4,7 | Dead leg, What are condition monitoring locations (CMLs)? |
| Postweld heat treatment (PWHT) of welds in amine service | A survey of 294 amine plants found cracking at about 40% of them, in vessels and in piping; all cracks were in or near welds, mostly welds not heat treated 8 | What is post-weld heat treatment (PWHT)?, What is amine corrosion and amine cracking? |
| Impact testing for the minimum design temperature | Low-toughness steel with a flaw and high stress can fracture in a brittle way when cold 2,9 | Minimum design metal temperature (MDMT), What is brittle fracture? |
| Records of materials and design code | Required in PSM process safety information; for equipment built to codes that have fallen out of general use, the employer has to show and record that it is safe 5,6 | What is material traceability?, What is RAGAGEP (recognized and generally accepted good engineering practice)? |
Sources: DOE, 2024 2; CSB, 2006 and 2008 3,4; OSHA, 2016 and 2017 5,7; 29 CFR 1910.119 6; OSHA Technical Manual 8; NIST SP 780, 1990 9.
Common questions
- Does B31.3 apply to pipelines?
- This is the most common mix-up. Federal liquid pipeline rules exclude in-plant piping at production, refining and manufacturing facilities, and lines between facilities have their own codes.
- Is ASME B31.3 the same as B31.1?
- No. ASME describes B31.3 as a companion to B31.1, Power Piping; they are separate books in the B31 series with separate scopes.
- Does B31.3 cover inspection after start-up?
- No. It stops at construction and testing. In-service inspection, rating, repair and alteration are covered by API 570.
Beacon explains these concepts in its own words for education. It does not reproduce or replace the standards cited, and Winda is not affiliated with or endorsed by the organizations that publish them. Engineering decisions need the current edition of the standard and a qualified engineer.
Sources
- 1.B31.3, Process Piping (product page) (2024) · American Society of Mechanical Engineers (ASME)
- 2.PRE-L-02, Assessment of Safety Equivalency: EN 13480 and ASME B31.3, Process Piping (G. Antaki) · US Department of Energy (DOE) ·
- 3.Safety Bulletin: Positive Material Verification: Prevent Errors During Alloy Steel Systems Maintenance (Texas City refinery fire, 2005) · US Chemical Safety and Hazard Investigation Board (CSB) ·
- 4.Investigation Report: Valero McKee Refinery Propane Fire, Sunray, Texas (Report No. 2007-05-I-TX) · US Chemical Safety and Hazard Investigation Board (CSB)
- 5.RAGAGEP in Process Safety Management Enforcement (memorandum) · US Occupational Safety and Health Administration (OSHA) ·
- 6.29 CFR 1910.119, Process safety management of highly hazardous chemicals · eCFR, US Office of the Federal Register
- 7.Process Safety Management for Petroleum Refineries: Lessons Learned from the Petroleum Refinery Process Safety Management National Emphasis Program (OSHA 3918) · US Occupational Safety and Health Administration (OSHA)
- 8.OSHA Technical Manual, Section IV, Chapter 3: Pressure Vessel Guidelines · US Occupational Safety and Health Administration (OSHA)
- 9.NIST Special Publication 780, Guidelines for Pressure Vessel Safety Assessment (S. Yukawa) · US National Institute of Standards and Technology (NIST)
- 10.2025 Publications Catalog (entry for API 570, Piping Inspection Code) (API 570, 5th edition, February 2024) · American Petroleum Institute (API)
- 11.49 CFR 195.1, Which pipelines are covered by this Part? · eCFR, US Office of the Federal Register