ASME B31.1 Welding Code Explained: Rules for Power Piping
Table of Contents
A welder on a plant outage once asked why the same 6-inch carbon steel spool needed a full postweld heat treatment on one job and no heat treatment at all on the next. The answer was not skill or preference it was the governing code, and on boiler-external and power station piping that code is ASME B31.1.
What Is ASME B31.1? Understanding the Power Piping Code
If you ask ten people in a power plant what ASME B31.1 is, you’ll get answers ranging from “the welding book” to “the thing the inspector quotes when he rejects my bead.” Neither is quite right. ASME B31.1, Power Piping, is the consensus standard that prescribes minimum requirements for the design, materials, fabrication, erection, examination, testing, inspection, operation and maintenance of piping systems in electric power generating stations, industrial and institutional plants, geothermal heating systems, and district heating and cooling systems. It is published by ASME as an American National Standard, and it is written and maintained by ASME Committee B31, the same committee that administers the wider ASME Code for Pressure Piping.
The key thing to understand is that B31.1 is not only a welding code. Welding is a big part of it, but the code follows the pipe from the calculation sheet to the turnover package. A weld that is perfectly executed on a spool that was never designed for the operating temperature is still a noncompliant joint. That is why fitters, welders, QA/QC inspectors and piping engineers all need at least a working map of the document.
Where the Scope Line Falls
Every code starts with scope language, and B31.1’s is unusually concrete. Two thresholds pull piping into its jurisdiction:
- Boiler-external piping for power boilers where steam or vapor is generated above 15 psig.
- High-temperature water piping above 160 psig and/or above 250 °F (120 °C).
Below those thresholds, or outside the listed industries, other documents may govern. Inside them, B31.1 requirements are not suggestions. The code also reaches beyond the piping itself to associated items such as valves, fittings, joints, supports, expansion joints and their restraint, which is why a change to a hanger or a spring setting can be a code question, not just a mechanical one.
Quick Note: B31.1 does not apply to piping covered by the ASME BPVC Section III nuclear rules, and the owner or engineering design always identifies the governing code on the drawings. If the print doesn’t say, ask before you cut.
The Section I Philosophy
The code’s stated philosophy is deliberate: B31.1 parallels the provisions of the ASME Boiler and Pressure Vessel Code Section I, Power Boilers, with allowable stress values generally consistent with those assigned for power boilers. That parallel matters in practice. Boiler-external piping is essentially treated as an extension of the boiler boundary, so the quality bar for materials, welding, examination and testing is set at the same level as the vessel it feeds. It also explains why power piping rules tend to be stricter than the rules for, say, process piping in a refinery.
The current edition is ASME B31.1-2026, a 404-page American National Standard (ISBN 9780791878026), following the 2024, 2022, 2020, 2018, 2016, 2014, 2012 and 2010 editions. The edition named in the contract or purchase specification is the one that applies, so “which book is on the shelf” is a legitimate job-start question. A useful ASME B31.1 preview from ANSI shows the front matter and scope structure if you want to see how the code frames itself before buying it.
Why It Reaches Every Trade on the Job
Design sets wall thickness and material group; fabrication decides whether that design survives; examination decides whether anyone will ever know. B31.1 ties those threads together into one chain of responsibility:
- Designers use it for allowable stress, pressure design, flexibility and toughness requirements.
- Fitters and welders follow its rules on joint details, preheat, filler control and permitted positions.
- QA/QC inspectors apply its examination extents, acceptance criteria and testing regime.
- Operations and maintenance use it for in-service evaluation and repair.
Break any link and the whole chain weakens. Selecting the right filler and controlling it correctly is a code requirement as much as a workmanship issue, which is a good place to start reading: see Alloy Steel Welding Electrodes: Selection, Use & Safety for how electrode classification and storage feed into qualification records. And because B31.1 covers boiler-external piping, boiler-side familiarity helps; a firm such as Alamo Welding & Boiler Works illustrates the kind of boiler and pressure-vessel service environment where these rules are applied daily.
Short Note: Think of B31.1 as a contract language rather than a textbook. Whoever signs the turnover package is attesting that the work met the edition, the appendices and the examination record the code requires.
With that baseline set, the next step is placing B31.1 inside the wider ASME B31 family and the supporting codes it leans on.
Where B31.1 Fits in the ASME B31 Family and Related Codes
ASME B31.1 does not stand alone. It is one section of the broader ASME Code for Pressure Piping (B31), a family of documents in which each section is maintained by ASME’s B31 committee and published as an American National Standard. Every section addresses pressure piping, but each one is written for a different industry, hazard profile, and service environment. Understanding which section governs a job is the first and most consequential decision on any piping project, because it determines the allowable stresses, fabrication rules, examination extents, and testing regime that follow.
The B31 Family at a Glance
The sections most often confused with B31.1 are B31.3, B31.4, B31.5, and B31.8. Each covers a distinct territory:
- B31.1 Power Piping covers boiler external piping, turbine Island and balance-of-plant piping at power stations, District heating, cogeneration, and similar services. It is the code that parallels ASME’s Boiler and Pressure Vessel Code Section I philosophy for power plant systems.
- B31.3 Process Piping covers petroleum refineries, chemical, pharmaceutical, textile, paper, semiconductor, and cryogenic plants. It is more permissive in some fabrication allowances but stricter in examination categories.
- B31.4 Liquid Petroleum and Other Liquids Pipelines governs pipeline transportation systems for liquid petroleum and non-hazardous liquids.
- B31.5 Refrigeration Piping addresses refrigeration and air conditioning systems, including halocarbon and ammonia refrigerants.
- B31.8 Gas Transmission and Distribution Piping Systems covers onshore and offshore gas pipelines, including gas storage and processing connections.
A simple rule of thumb helps: if the piping carries steam or water for generating power, B31.1 is the likely home. If it carries process fluids inside a refinery, B31.3 usually governs. If it moves product across a pipeline right-of-way, B31.4 or B31.8 applies. The B31.1 scope language makes this jurisdictional boundary explicit, and owner specifications or local jurisdictional adoption can extend or narrow it further.
Quick Note: B31.1 is prominently referenced in ASME’s Boiler and Pressure Vessel Code Section I, and it was adopted by the U.S. Department of Defense on October 3, 1994 for use by DoD activities. That dual recognition is part of why B31.1 carries such weight in both commercial power work and military facility construction.
Comparison Table: B31.1 vs. the Other B31 Sections
| Code | Primary Industry | Typical Fluids / Service | Key Distinction |
|---|---|---|---|
| B31.1 | Power generation | Steam, feedwater, condensate, turbine piping | Aligns with BPVC Section I; heavy PWHT emphasis |
| B31.3 | Chemical, petrochemical, pharma | Process fluids, hydrocarbons, cryogenics | Examination categories (Normal, Moderate, Severe) |
| B31.4 | Liquid pipelines | Petroleum products, non-hazardous liquids | Continuous pipeline construction rules |
| B31.5 | Refrigeration | Halocarbon and ammonia refrigerants | Leak control and machine-room focus |
| B31.8 | Gas pipelines | Natural gas, mixed gas, storage | Transmission/distribution-specific safety factors |
The Supporting Codes B31.1 Depends On
B31.1 is, by design, incomplete on its own. It references a stack of supporting ASME documents that supply the actual technical detail. Welders and inspectors interact with these constantly:
- ASME BPVC Section IX governs welding, brazing, and fusing procedure and welder performance qualification. Every WPS, PQR, and welder continuity record required by B31.1 traces back to Section IX essential variables.
- ASME BPVC Section V provides the nondestructive examination methods themselves, including radiography (Article 2), ultrasonics (Article 4), liquid penetrant, magnetic particle, and visual examination. B31.1 specifies what to examine and accept; Section V specifies how.
- ASME BPVC Section II, Parts C and D supply the filler metal specifications and the allowable stress tables that drive design and weld strength reduction decisions.
- ASME B36.10M defines dimensions for welded and seamless wrought steel pipe, while ASME B36.19M covers stainless steel pipe dimensions. When a drawing calls out a schedule or wall thickness, these are the standards behind the numbers.
This layered structure is a feature, not a burden. It means a single update to Section IX or Section V ripples through B31.1 work without rewriting the whole power piping code. For shops that work across industries, fluency in Section IX is especially valuable, since it is the common qualification language shared with process piping and structural welding alike. If you are building that foundation, our guide to alloy steel welding electrodes covers the filler metal side that power piping work demands.
Note: Because B31.1 leans on so many referenced standards, the contract documents must list not just the B31.1 edition but also the applicable editions of Section IX, Section V, and Section II. A project citing a 2022 B31.1 alongside a 2015 Section V creates gaps that inspectors are trained to catch.
In practice, one project can involve three different B31 sections at once. A combined-cycle power station might run B31.1 for the steam cycle, B31.3 for a fuel gas conditioning skid, and B31.8 for the natural gas supply tie-in. Knowing where each boundary sits, and which referenced standard fills in each gap, is what separates a compliant power piping welder from one who keeps getting sent back to the toolbox.
Code Structure: Chapters, Mandatory Appendices, and What Changed in Recent Editions
Knowing that ASME B31.1 governs power piping is one thing. Knowing where to find the rule you need, in the edition your contract names, is what keeps a job moving. The code is deliberately laid out so that a fitter, welder or inspector can go straight to the relevant chapter instead of reading 400-plus pages cover to cover.
How the Chapters Are Arranged
B31.1 runs in logical sequence, following a piping system from concept to operation:
- Chapter I, Scope and Definitions (para. 100): what the code covers, what it excludes, and the vocabulary used throughout.
- Chapter II, Design (paras. 101–122): allowable stresses, pressure design, flexibility and expansion, material limitations and toughness requirements.
- Chapter III, Materials (paras. 123–125): permitted pipe, fittings, flanges, bolting and rods, with limits tied to the published code.
- Chapter IV, Dimensional Requirements: sizes, wall thickness designations and related dimensional standards such as B36.10M and B36.19M.
- Chapter V, Fabrication, Assembly and Erection: the chapter welders live in. Welding requirements, including written procedure and performance qualification, start around para. 127 and run through preheat, postweld heat treatment and tack welds.
- Chapter VI, Examination and Testing (paras. 136–137): visual and supplemental examination, extent of radiography or ultrasonics, acceptance criteria and pressure testing.
- Chapter VII, Operation and Maintenance: in-service guidance, including documentation of dynamic events and pipe-support maintenance programs, plus nonmandatory appendices covering topics like safety valve installation and corrosion control.
Quick Note: Paragraph numbers are stable navigation aids. When someone on a job says “para. 132” or “para. 137,” they are pointing at the PWHT table or the pressure test rules, so learn the map rather than the page numbers of your printed copy.
Mandatory vs. Nonmandatory Appendices
This distinction matters more than most crews realize. Nonmandatory appendices offer guidance you may adopt voluntarily. Mandatory appendices carry the same force as the body of the code, and once a project specification adopts them, they become enforceable requirements at inspection. Any appendix marked “Mandatory” should be treated as a hold point in your quality plan, not as optional reading.
Tracking Editions: What Actually Changed
The contractually specified edition is the edition that governs. A welder who qualifies a procedure against a shop’s 2014 copy can be sent back to the drawing board if the owner specified the 2022 edition. Four revision points are worth remembering:
- 2010: all equations were renumbered, and Grade 91 material was reclassified from P-No. 5B Group 2 to P-No. 15E Group 1. That single reclassification changes PWHT decisions and qualification ranges, and it still trips up shops working from older records. If you handle Grade 91, cross-check your electrode selection against resources like our Alloy Steel Welding Electrodes: Selection, Use & Safety guide alongside the current P-number grouping.
- 2014: rules for nonmetallic piping and nonmetallic-lined piping became mandatory; preheat and postweld heat treatment rules were reformatted into tabular form for clarity; and Chapter VII was revised to address documentation of dynamic events and pipe-support maintenance programs. The tabular preheat and PWHT format is what most people use today, and you can preview the 2014 edition front matter from ANSI.
- 2022: continued refinement of examination, materials and heat treatment provisions. Because annual interpretations accumulate between printings, always confirm against the edition named in the contract rather than a superseded shop copy.
- 2026: adds new Mandatory Appendix Q (quality management program requirements for metallic nonboiler external piping covered by the code) and new Mandatory Appendix R (documentation, records and report requirements), and deletes Mandatory Appendix D by making ASME B31J the only route for stress intensification and flexibility factors.
The B31J change deserves emphasis. Where older designs could source flexibility and stress intensification factors from inside the code, current practice now points to ASME’s related standards and B31J for those factors, so stress analysis input decks built on Appendix D data need revalidation.
Heat treatment itself is governed by the para. 132 tables read together with ASME B31P, which standardizes heat treatment for fabrication processes. Keep that pairing in view whenever a P-number, wall thickness or alloy combination looks unusual.
Note: Record the edition, addenda and interpretation letters used on your job in the turnover package. Inspectors frequently trace failures to a crew working from the wrong printing rather than from a wrong technique.
Related reading that pairs well with this chapter-level view: our Alloy 20 Welding: Procedures, Filler Metals, and Best Practices article shows how material grouping drives procedure qualification in practice.
Design Fundamentals That Shape Every Weld Joint
Before anyone strikes an arc on a power piping spool, a designer has already fixed most of what that weld must deliver. Wall thickness, material group, design temperature, and joint loads all come out of calculations under ASME B31.1, Power Piping. That knowledge explains why one joint needs full radiography and postweld heat treatment while the spool beside it does not.
Allowable Stress: The Number Behind Every Thickness
Paragraph 102.3.1 sets out how allowable stress values are derived, and the results are published as tables of maximum allowable stress versus temperature in Mandatory Appendix A. Read the row for your material and the column for your design temperature: that single value sets the required wall thickness for every straight run, elbow, and branch.
The same chapter applies design factors through Table 102.4.3-1, and they cover straight-seam and spiral-seam welded pipe alike. A spiral-welded line is not disqualified, but it carries the same factor as its seamless or straight-seam counterpart, so thinner or lower-rated pipe does not slip through just because a weld spirals down its length. The design chapter is laid out in the ASME B31.1 preview pages published through ANSI.
Pressure Design of Components
Chapter II, Division 1 gives the pressure design rules for pipe, fittings, blanks, and other components. Minimum wall starts from internal pressure, then is adjusted for mill under-tolerance, corrosion and erosion allowances, and the additional loadings the code calls out. The fabrication consequence is simple: the finished weld must be at least as strong as the weakest component it joins, and mill under-tolerance is already handled in the designer’s number, not yours.
Flexibility and Thermal Expansion
Power piping moves. Hot steam lines grow, cold lines shrink, and a rigidly anchored run pushes that movement into the joints as displacement stress. Paragraph 104.8.4 evaluates it with the relation:
SL = √(Sb² + 4St²)
where Sb is the resultant bending stress and St the torsional stress. The calculated SL is checked against the allowable displacement stress range SA, built from the cold allowable stress SC and the hot allowable stress SH. Since the hot value is lower, the material trades some room-temperature strength for service movement.
That is why routing, guides, and expansion loops are more than paperwork: a joint in a line designed for movement must tolerate repeated strain, so profile, fusion, and reinforcement defects are less forgiving there.
| Design Input | Where It Comes From | Effect at the Joint |
|---|---|---|
| Allowable stress vs. temperature | Para. 102.3.1, Mandatory Appendix A | Required wall thickness, examination extent |
| Design factors | Table 102.4.3-1 | Seamed pipe acceptability |
| Weld strength reduction factor | Table 102.4.7-1 | Penalty on seamed pipe in the creep range |
| Displacement stress range | Para. 104.8.4 (SL vs. SA) | Workmanship tolerance for cyclic movement |
| Toughness requirements | Nonmandatory Appendix VIII | Impact testing requirement |
Weld Strength Reduction Factors on Seamed Pipe
Table 102.4.7-1 defines weld strength reduction factors (WSRFs) applied when calculating minimum wall thickness or allowable design pressure for components made with a longitudinal seam fusion weld. At room temperature the factor is 1.00. As service temperature climbs into the creep range it drops below 1.00, downgrading seamed pipe relative to seamless material of the same nominal grade.
The trap is that even a fully radiographed seam can be penalized for being a seam. Designers sometimes sidestep this by specifying seamless pipe for high-temperature service, so shops fabricating seamed components should check the factor before committing to a thickness or pressure rating.
Quick Note: Three inputs usually decide what a weld must achieve: required wall thickness, P-number group, and service temperature. Change any one and preheat, PWHT, examination extent, and toughness requirements can all shift.
Material Limitations and Toughness in Low-Temperature Service
Carbon and low-alloy steels lose toughness as temperature falls, and a pipe that is plenty strong can still fail in a brittle manner at startup or during a cold shutdown. Nonmandatory Appendix VIII gives guidelines for deciding whether low-temperature toughness requirements apply, covering how design minimum metal temperature and thickness interact with material grouping. Many jobs qualify for exemption from impact testing, but the exemption must be demonstrated against the appendix’s criteria, not assumed out of habit. Filler selection matters too: alloy steel welding electrode selection directly affects the impact properties of deposited weld metal.
At the other end of the temperature scale, paragraph 125 covers creep strength enhanced ferritic materials such as Grade 91, where design and fabrication rules are tightly coupled. These steels depend on a precise heat-treated microstructure, so welding parameters, interpass control, and postweld heat treatment are part of the design basis itself.
One boundary matters: B31.1’s material and toughness rules are written around ferrous alloys in power service. Aluminium process piping follows its own filler and heat-input logic, so welders switching between the two should reset assumptions (see Aluminum MIG Welding: The Complete Practical Guide).
The design chapter is where the weld’s job description is written. Everything that follows in Chapter V, from procedure qualification to preheat and examination, sits downstream of these calculations, so reading the design basis before first fit-up is a crew’s cheapest quality control.
Welding Fabrication Requirements Under Chapter V
Chapter V is where ASME B31.1 stops being a design document and starts issuing orders at the joint. Every allowable stress table, flexibility analysis and material selection upstream eventually collapses into a small set of enforceable rules about procedures, people, consumables, joint geometry and paperwork. Miss one, and it surfaces at the hydrotest, at the third-party inspection, or worse, the week of turnover. Here is what the chapter actually demands of a welding operation.
Written Procedures and Qualification Records
No production weld on B31.1 work proceeds without a qualified written welding procedure specification (WPS) supported by a procedure qualification record (PQR). Qualification itself is carried out under ASME BPVC Section IX, which defines the essential, supplementary and nonessential variables and provides the suggested WPS formats in QW-482. B31.1 does not replace that system; it adds supplementary requirements on top of it for power piping. That routinely means impact-tested procedure coupons where Section IX alone would accept bend tests, plus qualified ranges that match the real joints on the isometrics. A WPS qualified for a 1/2-inch groove in P-No. 1 Group 1 does not legally cover a 3-inch butt weld in P-No. 1 Group 3.
Filler Metal and Consumable Control
Filler metals must conform to ASME BPVC Section II Part C specifications, and each consumable lot has to stay identified from receipt through the final pass. Low-hydrogen electrodes for pressure-retaining welds require controlled baking, dry storage and holding ovens; damp electrode goes back through the oven, not into a root pass. Alloy and creep-resistant joints make this stricter still, which is why consumable handling for alloy steel welding electrodes is managed as a QA item rather than a shop preference.
Welder Performance Qualification and Continuity
Welders qualify by performance coupon in the exact process and position they intend to use, accepted by radiography or guided bends plus visual examination. The rule that trips up more schedules than actual skill is continuity: a performance qualification lapses when the welder has not welded under it for six months. Continuity records must be maintained per welder, covering both shop and field crews, typically through a supervisor-signed log. A welder who spends six months on the fitting bench returns to an expired card unless the records show qualifying work.
Quick Note: Continuity logs, WPS/PQR packages and welder-to-weld mapping should be audited monthly, not assembled at turnover. Retrofitting six months of missing signatures after the fact is the fastest route to a failed documentation review.
Permitted Processes and Position Qualification
Chapter V permits the standard pressure-welding processes — SMAW, GTAW, GMAW, FCAW, SAW and certain automatic pipe-welding processes — each subject to qualification under Section IX. Position matters as much as process: a flat plate coupon does not authorize a fixed 6G root on a spool. Brushing up on all position welding rod selection helps crews match consumables to the positions their coupons genuinely qualified.
Joint Details: Flanges, Socket Welds and Tack Welds
Paragraph 127.4.4 defines the geometry inspectors measure against. Figure 127.4.4(B) details welding for slip-on and socket-welding flanges, including fillet sizes and the requirement that socket fillets be applied evenly around the joint. Figure 127.4.4(C) gives minimum weld dimensions for socket-welding components other than flanges. Inspectors verify these with a fillet gauge, not by eye, and undersized socket fillets are among the most common fabrication rejections on power piping.
Tack welds are treated as permanent welds: same WPS, same qualified welder, sound fusion and no cracking. If a tack is removed and leaves a crater defect, it gets repaired exactly like any other production weld.
Branch Connections and Repair Welding
Branch connections under paragraph 127.5 require reinforcement designed per the code’s rules, or joint details taken from the code’s own figures. Wrapping a fillet around a hole in a header is not a branch connection. Repair welding follows the code’s repair provisions: defects are removed completely to sound metal by gouging or grinding, the repair is made under a qualified procedure, and repeated repairs on a single joint trigger mandatory re-examination.
Material Traceability
Finally, every pressure-retaining component must remain traceable to its material test report through fit-up and welding. Heat numbers stay legible, or are transferred and documented, so any joint can be traced back to its melt. Mixed heats pass visual inspection and still fail a material verification audit, and on B31.1 work that failure lands squarely in the turnover record book. Traceability is not paperwork for its own sake: it is the thread that connects the fabricator’s weld log to the hydrotest report and to the operation and maintenance records that follow for the next forty years of service.
Preheat and Postweld Heat Treatment: The Rules Welders Argue About
If there is one place where power piping crews lose time arguing, it is preheat and postweld heat treatment. One fitter swears the spool needs PWHT, the supervisor says it is exempt, and the inspector pulls out the code book. Paragraphs 131 and 132 of ASME B31.1 Power Piping are where those arguments get settled, and they reward people who read them literally rather than from memory.
How Preheat Is Determined Under Para. 131
Preheat in B31.1 is not a preference and it is not a blanket shop rule. Para. 131 ties the minimum preheat temperature to three variables: the P-Number (and Group number) of the base metal, the thickness of the section being joined, and the chemistry of the material, including carbon equivalent for carbon and low-alloy steels. The minimum preheat temperatures are tabulated, with a thickness column that steps down as the coupon gets thicker, because a heavier section acts as a larger heat sink and cools the weld faster.
In practice you look up each side of the joint, confirm the P-number from the material test report rather than from the heat number stencil alone, and take the more demanding of the two results. Preheat must be applied and maintained during welding, verified with a contact thermometer or temperature-indicating crayons on the joint surface, and recorded. Where filler metal selection interacts with preheat and hydrogen control, the electrode choice and its condition matter just as much, which is why guidance like Alloy Steel Welding Electrodes: Selection, Use & Safety is worth reading alongside the procedure.
Reading the PWHT Tables in Para. 132
PWHT requirements are specified in para. 132, with the holding time and temperature taken from Table 132.1.1-1. Depending on the material group and thickness, alternate requirements may come from Table 132.1.1-2 instead. Both tables are read the same way: find the P-number group, move across to the thickness range, and read off a minimum holding temperature and a minimum holding time, usually expressed in hours per 25 mm (1 in.) of thickness with a stated minimum. The wrong table is one of the most common source of nonconformances on power piping jobs.
Exemptions and the Dissimilar-Metal Rule
PWHT exemptions under para. 132.3 are granted per P-Number and Group number, and they come with thickness limits and notes. For a weld to qualify as exempt, each part of the joint must independently satisfy the exemptions and notes for its own P-Number. A joint is only as exempt as its least exempt component.
When parts of two different P-Numbers are joined, PWHT shall be that specified for the material requiring the higher PWHT temperature. And where a nonpressure part is welded to a pressure part, the maximum PWHT temperature must not exceed what the pressure-retaining part accepts. This is where dissimilar-metal and attachment welds routinely trip up crews, and why high-alloy and specialty joints deserve a documented procedure, as covered in Alloy 20 Welding: Procedures, Filler Metals, and Best Practices.
Short Note: Common PWHT misconceptions: an exemption for the pipe wall does not automatically exempt a repair weld; exempting one P-number does not exempt the whole joint; PWHT does not “fix” a bad weld or compensate for a low-temperature impact requirement; and once PWHT is required, doing it is not optional just because the bead looks sound.
Holding Time, Heating Rates, Instrumentation and Records
Beyond temperature and time, para. 132 controls heating and cooling rates so thick sections are not thermally shocked, defines soak bands that the whole joint must stay inside, and requires the temperature to be monitored with instruments whose readings are recorded. Those charts, along with preheat logs, WPS/PQR references and welder identification, become part of the record book at turnover. Unsupported claims about code acceptance are common online; the code text and its supporting documents are the authority.
It is also worth knowing that B31.1 does not carry all of the heat-treatment method detail itself. ASME B31P, Standard Heat Treatments for Fabrication Processes, provides requirements for preheating, PWHT and postforming heat treatment for piping built to the B31 code sections, giving crews one consistent reference for how the treatment is actually performed.
The practical takeaway: settle preheat and PWHT before the first tack, put the table lookups in the WPS, record every reading, and treat exemptions as joint-specific rather than job-wide. Done that way, the argument never starts.
Examination, NDE, and Pressure Testing of B31.1 Welds
Welding finishes the joint; Chapter VI decides whether it survives inspection. ASME B31.1 organizes verification into three layers: visual examination of every weld, supplemental nondestructive examination where the design requires it, and a pressure test of the finished system. Skip a layer, shortcut it, or staff it with unqualified people, and a weld you were proud of turns into rework.
Visual Examination: The First Gate
Before anyone rolls out a film crawler or a UT probe, every weld gets looked at. The code expects visual examination of welded joints for surface condition, profile, undercut, overlap, cracks, excessive reinforcement, misalignment, and general conformance to the qualified procedure and the joint details in Chapter V. Visual examination is itself a formal method performed under ASME Section V with proper lighting and access, judged against the acceptance criteria in the examination rules of B31.1.
Practically, this is the cheapest quality control on the job. A weld with visible lack of fusion at the root or a crater crack at the stop does not deserve radiography; it goes straight back for removal and repair. Only surfaces that pass visual inspection move on to more expensive methods.
Supplemental NDE Performed Under ASME Section V
When the engineering design calls for more than eyes, B31.1 points to ASME Boiler and Pressure Vessel Code Section V for the method itself: radiographic testing, ultrasonic testing, liquid penetrant testing, and magnetic particle testing. ASME describes Section V as an indispensable means of assuring sound construction, and its examination procedures apply directly to B31.1 power piping. Each method has its own article, its own setup requirements, and its own limitations: radiography shows internal volume flaws well, ultrasonics handles thick walls and long scans, and penetrant or magnetic particle find surface-breaking indications that the other two can miss.
The extent of radiography or ultrasonic examination is not a single fixed percentage for every power piping system. The required coverage, whether full examination of butt welds or a specified sample, comes from the engineering design, the owner’s requirements, or the jurisdiction, and sometimes from the service severity. Once that extent is chosen it has to be written down, executed as drawn, and reconciled against a weld map showing exactly which joints were examined and by what method.
Who May Perform NDE: Procedures First, Then People
Two prerequisites apply before production examination starts. First, NDE procedures must be written and approved: a procedure that sits in a laptop unapproved is not a procedure. Second, personnel must be qualified under the employer’s written practice, which normally references standards such as ASNT SNT-TC-1A or ANSI/ASNT CP-189 and defines the Level I, II, and III responsibilities, training, experience, and examination each operator must complete.
Quick Note: Continuity applies to NDE personnel just as it does to welders. If a technician’s certification lapses mid-job, every report signed in that gap becomes a documentation problem. Verify certificates and procedure approvals at kickoff, not at turnover.
Repair and the Re-Examination Loop
When an indication fails acceptance criteria, the defect is removed by grinding or arc-air gouging to sound metal, the excavation is cleaned and re-checked by penetrant or magnetic particle to confirm the flaw is gone, the weld is repaired using a qualified procedure, and the finished repair is re-examined by the same method that rejected it. Repair welding on P-number alloy steels brings its own filler and preheat questions, which we cover in Alloy Steel Welding Electrodes: Selection, Use & Safety.
Every repair gets recorded, and repeat repairs on the same joint should trigger an engineering review rather than a third attempt. The loop closes only when the re-examination result passes.
Pressure Testing Under Paragraph 137
The final proof is the leak test. Paragraph 137 governs it, and hydrostatic testing is the default: the test is generally performed at not less than 1.5 times design pressure, with the system vented at its high points, temporary equipment properly isolated or protected, calibrated gauges in place, and a hold period long enough to reveal leaks. Pneumatic testing is permitted only when hydrostatic testing is impractical, and because stored energy is far more dangerous, it carries strict rules for excluding personnel from the area during pressurization. Any alternative test route requires documented justification and approval before it is used.
The 2026 edition adds an operational detail worth planning around: paragraph 137.2.1 on Exposure of Joints now requires joints to be uncoated during a pressure test unless the owner allows otherwise.
Quick Note: If coating crews and test crews work from separate schedules, you will either strip coating that just went on or test over joints that should have been bare. Put the coating hold points into the test plan and have coating application sequenced so joints are exposed when the system is pressurized.
Test reports, NDE reports, weld maps, and repair records assembled during this chapter become the evidence package that goes into the turnover record book. Without them, the pressure test you passed on site cannot be proven to anyone reviewing the job later.
Common B31.1 Welding Mistakes and How to Avoid Them
Most rejected welds on power piping jobs are not caused by bad welding. They come from paperwork, assumptions, and a table read the wrong way. The errors below show up repeatedly in nonconformance reports on boiler-external and power station piping, and every one can be caught before the arc is struck.
Building to the Wrong Edition
The contract and drawing index must name the edition of the ASME B31.1 Power Piping code that governs the job. Shops that quietly keep working to the copy on the shelf are gambling. The clearest example is Grade 91 steel: in the 2010 edition it moved from P-No. 5B Group 2 to P-No. 15E Group 1, so legacy WPSs and PWHT schedules written against the old grouping can put the wrong heat treatment on a weld. Preheat, holding temperature, and essential variable ranges all shift with the grouping.
Prevention: print the edition on the top of every ITP, WPS, and weld map, and re-review any procedure carried over from a previous project. If the drawings do not state an edition, get the answer in writing from the engineer of record before material is cut.
Misreading P-Numbers, Groups, and Filler Metals
Grouping errors happen when a fitter or welder matches materials by trade name instead of by the P-number and group on the MTR. A P-No. 1 material welded to a P-No. 5 material needs a procedure qualified for that combination, and impact-test requirements follow the group, not the alloy label. The same care applies to consumables: an electrode that “welds fine” on the bench may not be listed on the WPS for that base metal, which is exactly why filler selection should be checked against qualified data and common guidance such as alloy steel welding electrodes before the first pass.
Prevention: require the P-number and group to be stamped on the fit-up sheet, and cross-check it against the WPS range and the consumable certification.
Misapplying PWHT Exemptions
This is the single most argued rule in the code. Each part of a dissimilar joint must satisfy its own PWHT exemption criteria independently, and the higher PWHT temperature of the two materials governs the treatment actually applied. An exemption that clearly applies to the carbon steel side tells you nothing about the alloy side. Repairs are another trap: heat treatment waived for a new weld is not automatically waived for a repair in an area already heated once, and thickness measured at the repair is not always the thickness that was exempt the first time.
Prevention: document the exemption calculation per material, per joint, and have the inspector sign it before welding. When in doubt, treat the joint as requiring PWHT and let the engineer remove it.
Qualification, Continuity, and NDE Gaps
- Welder continuity lapses. A welder whose continuity has lapsed under Section IX is unqualified from that date forward, no matter how many years he has held the card. Track continuity in a register with expiry dates, not in a filing cabinet nobody opens. Position causes similar problems: a welder qualified in one position is not qualified in another, which is why position and process ranges deserve the same scrutiny as all position welding rod selection on the rod chart.
- Unqualified NDE. Visual and supplemental examination must be performed by personnel certified under an employer’s written practice, with methods carried out through ASME BPVC Section V. A contractor’s radiographer with no valid certification to the code edition in use will stall the job as fast as a cracked weld.
- Missing impact testing. Low-temperature service pulls in toughness requirements, and the test temperature and thickness thresholds are read from the code tables. Skipping the impact test on a P-number group that requires it, or testing at the wrong temperature, is a design-level nonconformance that cannot be welded out later.
Fabrication Detail Errors
Socket welds fail inspection for two predictable reasons: no assembly gap left for thermal expansion, and a fillet size outside the permitted range. The minimum leg must be met, but the fillet must also stay within the limit set by the branch and header wall thicknesses; bigger is not stronger here, it is nonconforming. Related errors include tack welds left in without being made with qualified consumables, gouging out tacks without a repair procedure, and branch reinforcement computed for one wall thickness and welded to another.
Seamed pipe brings another quiet failure: ignoring the weld strength reduction factor applied to longitudinal seams in elevated-temperature service. The parent material’s allowable stress does not automatically apply to the seam, and designers who assume it does can understate the joint’s capability at operating temperature.
Quick Note: A weld repaired without a qualified repair procedure and without re-examination of the repaired area is one of the most frequently cited reasons for rejected welds in fabricated power piping. Repair is a welding operation with its own qualification, its own preheat, and its own NDE loop.
Loose Records
Documentation is not optional housekeeping. The 2026 edition’s new Mandatory Appendix R makes documentation, records, and report requirements explicit for covered piping systems, which means missing charts, unsigned weld maps, or absent MTR traceability are code findings rather than clerical issues. Records are also what justify PWHT exemptions and continuity claims during an owner’s audit or an AHJ review.
Prevention: assemble the turnover book as work progresses, one packet per system, with a checklist tied to the ITP. A record filled in the same shift as the work is reliable; a record rebuilt months later is a liability.
B31.1 vs B31.3: Choosing the Right Code for the Job
Here is the question that comes up on every mixed-industry job: this spool carries boiler feedwater leaving a turbine house, and the identical-looking spool next door carries feedwater inside a process unit. Same pipe, same welder, same procedure specification, different governing code. ASME publishes B31.1 and B31.3 as companion documents, and because they share a chapter layout, a P-number system and the same Section IX base, crews treat them as interchangeable. They are not.
Scope and Industries: Boiler External vs Process Plant
B31.1 covers power and institutional piping: boiler-external piping for power and high-pressure boilers, turbine and auxiliaries piping, district heating systems, and the steam, feedwater and condensate circuits that keep a power station running. B31.3 covers petroleum, chemical, pharmaceutical, textile, paper, cryogenic and related process piping, from tank farm lines to reactor circuits.
The dividing line is not the fluid alone but the service. A steam line leaving a package boiler and a steam line feeding a reactor jacket can both be 6-inch carbon steel, yet one is boiler-external piping judged by power boiler pressure-temperature conditions, and the other is process piping judged by process hazards. At a power-block tie-in, both scopes meet at the same weld, and someone has to decide which governs each side.
Design Philosophy and Design Factors
Both codes build allowable stresses from material properties in ASME BPVC Section II and start from the same basic design margin. The differences live in the rules layered on top. B31.1 applies weld strength reduction factors for elevated-temperature service, where long-term exposure weakens the weld and heat-affected zone. B31.3 adds its own provisions for flange design, flexibility analysis, and the stricter treatment Category M lethal service demands.
Material limits differ too. B31.3 reaches into cryogenic territory, with impact testing and material rules built for low-temperature process service. B31.1 works from minimum design metal temperatures appropriate to power service and is not the code for a cryogenic line. Toughness at deep cold comes from the B31.3 framework.
Examination Categories vs Service-Driven Examination
This is the contrast welders notice first. B31.3 sorts piping into examination categories: Category D utility piping may need little more than visual examination, normal fluid service adds a share of radiographic or ultrasonic examination on butt welds, and Category M lethal service demands the most intensive examination. B31.1 uses no such lettering; its examination intensity comes from service conditions and the engineering design, with boiler-external piping paralleling ASME BPVC Section V practice for how the NDE itself is actually performed. The governing code sets how much examination you need; Section V sets how you carry it out.
| Aspect | B31.1 (Power Piping) | B31.3 (Process Piping) |
|---|---|---|
| Primary scope | Power and institutional piping; boiler-external, turbine, district heating | Petroleum, chemical, pharmaceutical, cryogenic and related process piping |
| Examination approach | Driven by service conditions and the engineering design | Categories D, normal and M with rising baseline NDE levels |
| Preheat and PWHT | Paras. 131 and 132 tables; exemptions by P-number, group, thickness | Section 330 tables; exemptions by P-number, group, carbon, thickness (different cutoffs) |
| Temperature range | Power service; cryogenic service is not its purpose | Cryogenic through high-temperature process service |
| Qualification | Both use ASME BPVC Section IX; portable between codes, though bending and forming rules differ slightly | |
Quick Note: Preheat and PWHT requirements genuinely differ, even on the same P-number and thickness. Never carry a PWHT exemption from a B31.3 job sheet onto a B31.1 spool without re-reading the governing table. Electrode selection for P-number group materials deserves a refresh too: see Alloy Steel Welding Electrodes: Selection, Use and Safety. For practice beyond the code tables, ASME B31P documents standard heat treatment procedures.
How the Governing Code Gets Selected
Three things decide it. The owner or the owner’s engineering design names the governing code in the purchase specification or project scope document. The jurisdiction has the final word where it has adopted rules for boiler-external or process piping, and that is not negotiable. And when the documents are silent, the service points the way: boiler-external piping goes to B31.1, process, petrochemical or cryogenic service goes to B31.3. Resolve conflicts on paper before fit-up, not during the pressure test.
Note: Running the wrong code is not a paperwork problem. It can invalidate the pressure test, the inspector’s sign-off, and the owner’s acceptance of the system. A spool welded to B31.3 exemptions may be missing PWHT the jurisdiction expected under B31.1, and by then the remedy is a cutting torch, not a signature.
Get this decision right at kickoff and it costs one paragraph in a specification instead of a shutdown’s worth of rework. Confirm the code before materials are ordered, before procedures are qualified, and before anyone strikes an arc, because the code you start with is the code the system is judged by at turnover.
Practical Compliance Checklist and Final Takeaways
Knowing the ASME B31.1 welding code is one thing; running a job against it, weld by weld and record by record, is another. The good news is that the code boils down to a repeatable workflow. Whether you are fabricating spools in a shop or welding a boiler-external tie-in during an outage, the sequence below takes you from receipt of the design package to a turnover-ready record book.
The B31.1 Workflow, From Design Package to Turnover
- Confirm the governing code and edition. Before anything is cut, verify in writing that B31.1 governs and pin down which edition the contract specifies. A later edition’s changes to PWHT tables or examination categories cannot be applied retroactively if the drawings call an older one.
- Review the design basis and allowable stresses. Check design pressure and temperature, corrosion allowance, expansion joint and support details, and the allowable stress values for the specified materials. Confirm flexibility and expansion analysis exists for long, hot runs.
- Verify materials and traceability. Match every pipe, fitting, flange and valve to its mill test report and heat number. Confirm P-number grouping and, for low-temperature service, the impact-test status of the base metal before it is ever fit up.
- Qualify the WPS, PQR and welders. Every procedure must be qualified by a procedure qualification record under ASME B31.1 and ASME BPVC Section IX, and every welder must be qualified and current on that procedure. Filler metal classification, shielding gas and position limits must line up exactly with the qualified ranges. Alloy work adds consumable control to the list; our alloy steel welding electrodes guide covers storage, baking and handling basics that keep qualifications valid.
- Control fit-up and preheat. Verify joint geometry, root gap, offset and tack weld quality at the fit-up hold point, then set preheat from P-number, thickness and chemistry and document it with calibrated instruments.
- Weld and monitor parameters. Track heat input where the WPS limits it, monitor interpass temperature, control filler metal issue and reclaim, and log welder identification against every weld number.
- Perform examination. Run visual examination first, then radiographic, ultrasonic or other supplemental examination as the design requires, executed under a written practice by certified personnel.
- Complete PWHT with charts. Where required, run postweld heat treatment with recording instruments, thermocouple placement per the code and chart retention. ASME B31P is the companion standard for heat-treatment practice.
- Conduct the pressure test. Hydrostatic or pneumatic testing per paragraph 137, with the correct test pressure, hold time and relief of bonded seals and nonmetallic gaskets as applicable.
- Assemble the record book and plan maintenance. Compile the complete documentation package and hand over the operation and maintenance requirements.
Schedule Verification at Defined Hold Points
Inspection effort is most effective when it is planned, not reactive. Build five hold points into the traveler and do not release work past them until they are signed off:
| Hold Point | What Is Verified |
|---|---|
| Material receipt | Certificates, heat numbers, P-number, impact-test status, damage and marking |
| Fit-up | Joint type and dimensions, root gap, offset, cleanliness, tack welds, preheat readiness |
| Post-weld, pre-examination | Weld identity, welder, visual acceptance, profile, grind marks, repairs logged |
| Post-PWHT | Chart compliance, hardness checks where specified, final dimensions |
| Pre-pressure test | Examination complete, supports and anchors verified, test package reviewed |
Quick Note: The 2026 edition’s Mandatory Appendices Q and R formalize the quality management program and the documentation, records and report package for covered piping systems. Record-keeping is now a code requirement, not a courtesy. If your QA program was built around “nice to have” paperwork, align it with Appendix Q before the next audit.
What a Complete B31.1 Record Book Contains
Treat the record book as a deliverable with the same weight as the welds themselves. A complete package typically includes:
- Design basis and stress calculations, including flexibility analysis where required
- Approved WPS and PQR documents for every procedure used
- Welder performance qualification and continuity records
- Material test reports and heat-number traceability records
- Preheat, interpass and PWHT charts with instrument calibration records
- NDE reports, including written practice and personnel certification evidence
- Pressure test records, including test package, gauge calibration and sign-offs
Shops that already run disciplined documentation habits find this transition easier. For a practical look at how a boiler-oriented shop builds that culture, see our profile of Alamo Welding & Boiler Works.
After Turnover: Chapter VII Obligations
Compliance does not end at the pressure test. Chapter VII covers piping and pipe-support maintenance programs, personnel requirements for operation, and documentation of dynamic events such as earthquakes or water hammer. Build the turnover package so a future inspector can reconstruct the system’s history without calling the original crew.
The main answer from the start of this article still stands: on power piping, the governing code, not the welder’s preference, decides how a joint is designed, welded, examined and tested. Follow the workflow, honor the hold points, keep the records complete, and B31.1 stops being an obstacle and becomes what it was written to be: a predictable path to piping that runs safely for decades.
Frequently Asked Questions
What is ASME B31.1 used for?
ASME B31.1 is the Power Piping code, covering the design, materials, fabrication, erection, examination, testing, inspection and maintenance of piping in power generating stations, industrial and institutional plants, geothermal and district heating systems. It also covers boiler-external piping for boilers producing steam above 15 psig and high-temperature water above 160 psig and/or 250°F.
Is B31.1 a welding code or a design code?
B31.1 is a construction code for the whole piping system, covering design through testing, and Chapter V contains its fabrication and welding rules. Welding procedures, welders and welding operators are qualified to ASME BPVC Section IX, which B31.1 supplements with its own requirements.
When does B31.1 require postweld heat treatment?
PWHT requirements under para. 132 depend on the material’s P-Number and Group number, nominal weld thickness and service conditions, and are read from the code’s PWHT tables. Exemptions under para. 132.3 apply per P-Number, and in dissimilar-metal joints the material requiring the higher PWHT temperature governs.
Does B31.1 require 100% radiography on every weld?
No. Visual examination applies broadly, while supplemental NDE such as radiography, ultrasonic, penetrant or magnetic particle testing is specified according to service conditions and the engineering design, performed using ASME BPVC Section V methods. Always check the project’s examination requirements and the applicable code edition.
What is the current edition of ASME B31.1?
The current edition is ASME B31.1-2026, a 404-page standard, which follows the 2024, 2022, 2020, 2018, 2016, 2014, 2012 and 2010 editions. The contract or the jurisdiction typically specifies which edition governs a given project, so confirm it before fabricating.
Do welders need ASME Section IX qualification for B31.1 work?
Yes. Welders and welding operators must be qualified to ASME BPVC Section IX for the processes, materials and positions they use, and B31.1 adds supplementary requirements. Qualifications lapse if the welder has not welded under the qualification for six months, so continuity records must be kept.
What is the difference between B31.1 and B31.3?
B31.1 covers power, institutional and boiler-external piping, while B31.3 covers process piping in refineries, chemical and similar plants. Their allowable stresses, preheat and PWHT rules and examination categories differ, although both rely on Section IX for welding qualification.
What test pressure does B31.1 require?
Under para. 137 the hydrostatic test is the default and is generally performed at not less than 1.5 times the design pressure, with pneumatic testing allowed only when hydrostatic testing is impractical and with personnel excluded from the area. Alternative approaches such as initial service leak testing may be permitted when they meet the code’s conditions.
Where can I get a copy of ASME B31.1?
The code is sold by ASME through its online store and is also available via ANSI, in print or digital formats, with earlier edition preview documents published by ASME. Because it is copyrighted, project teams normally purchase licensed copies for the specified edition.
Nicholas Harper
Editorial TeamCovering welding processes, equipment selection, and shop-floor practice for WeldZen — with every claim checked against the governing code.
Related Studies
Get The Next Benchmark First
New field studies and calibration sheets, once a week. No spam.