Request a Safety Valve Quote

Share your medium, set pressure, temperature, size,standard, or datasheet, and our team will review yourrequirement and respond with the appropriate next step.

ASME B31.12 Hydrogen Piping and Pressure-Relief Guide

ASME B31.12 provides requirements for piping and pipelines handling gaseous hydrogen, gaseous hydrogen mixtures and piping in liquid-hydrogen service. It addresses the hydrogen-specific material, design, fabrication, inspection, testing, operation and maintenance issues that must be resolved before a pressure-relief device is selected.

This guide connects the B31.12 piping boundary to practical safety-valve work: defining the protected section, identifying regulator, compressor, blocked-in and thermal relief cases, checking hydrogen compatibility and leakage, reviewing safe venting and preparing a complete PSV or PRV RFQ.

››› Scope & Code Structure

B31.12 separates general requirements, industrial piping and pipelines

The General Requirements establish common hydrogen-service rules. The Industrial Piping section addresses hydrogen piping within facilities and packages, while the Pipelines section addresses gaseous-hydrogen pipeline systems. The applicable section must be identified before design conditions, materials, examination and testing are approved.
B31.12 defines the piping system; it does not replace the construction code for compressors, pressure vessels, storage cylinders, electrolyzers or other connected equipment. The interface joint and responsibility boundary should therefore be shown clearly on the P&ID and mechanical specification.

Edition and application note

This page is based on ASME B31.12-2023. Always confirm the edition, jurisdiction and owner specification required for the project. Hydrogen pipeline requirements may also interact with other pipeline codes, local regulation and integrity-management requirements.
››› Hydrogen Service Characteristics

Hydrogen changes the material, leakage and ignition review

The piping and relief system should be evaluated for the actual hydrogen concentration, pressure, temperature, cycling and discharge environment.
01

Hydrogen-Assisted Material Degradation

Material strength alone is not enough. The review should consider hydrogen compatibility, fatigue, fracture behavior, welds, heat treatment and pressure cycles.
02

Small-Molecule Leakage

Hydrogen can escape through very small leakage paths. Seat design, stem seals, gaskets, threaded joints and test acceptance require careful control.
03

Wide Flammability and Low Ignition Energy

Vent outlets, electrical classification, ignition sources, ventilation and dispersion should be considered together.
04

High Pressure and Rapid Expansion

Storage banks, compressors and refueling systems can involve high pressure, large stored energy, cooling during expansion and high-velocity discharge.
05

Pressure and Thermal Cycling

Fast filling, compressor operation, trailer loading and repeated pressure reduction can create fatigue-sensitive service.
06

Cryogenic Liquid Hydrogen

Liquid-hydrogen piping adds very low temperature, boil-off, thermal contraction, blocked-in liquid expansion and cold-plume hazards.
››› Protected Systems

Typical B31.12 hydrogen piping and pressure boundaries

Each relief device should be assigned to a specific protected section, maximum source pressure and credible flow path.
01

Electrolyzer Outlet Piping

Protect separators, dryers, purification equipment and downstream piping from electrolyzer or compressor pressure.
02

Hydrogen Compressor Systems

Review stages, intercoolers, separators, pulsation vessels, blocked discharge and recycle or control failure.
03

High-Pressure Storage and Manifolds

Protect storage headers, isolation sections, cascade banks and connected low-rated piping.
04

Pressure-Reducing Stations

Protect downstream piping and equipment against regulator, monitor, bypass or control-valve failure.
05

Refueling Stations and Tube-Trailer Interfaces

Review compressor discharge, priority panels, dispensing lines, trailer manifolds and rapid-fill transients.
06

Hydrogen Pipelines

Define section isolation, station piping, compressor interfaces, regulator stations and credible upstream pressure sources.
07

Fuel-Cell Supply Systems

Protect low-pressure fuel-cell piping, buffer vessels and process equipment from upstream storage or regulator failure.
08

Liquid-Hydrogen Piping

Protect transfer lines, loading sections, vaporizers, blocked-in liquid volumes and boil-off connections.
››› Overpressure Scenarios

The governing relief case must be defined before the valve is sized

The maximum source flow and the lowest-rated downstream boundary often control the pressure-relief requirement.
01

Regulator or Control-Valve Failure

A failed-open regulator, monitor or bypass can expose downstream piping to the maximum credible upstream pressure and flow.
02

Compressor Blocked Discharge

Use compressor capability, recycle condition and downstream restriction to define the required relieving load.
03

Blocked Outlet or Closed Isolation

Flow into a closed hydrogen piping section can rapidly exceed the section design pressure.
04

Thermal Expansion of Trapped Fluid

Blocked-in liquid hydrogen or another cold liquid can generate high pressure as heat enters.
05

Vaporizer or Heat-Exchanger Failure

Excess heat input, blocked gas outlet or high-pressure-side leakage can overload the lower-rated system.
06

External Heat or Fire

Where required by the applicable equipment or project basis, review heat exposure, gas generation and safe disposal.
››› Materials & Design

Hydrogen compatibility must be verified for the actual pressure and duty cycle

The material review should include pipe, fittings, flanges, valve bodies, trim, bolting, welds and heat-affected zones. Strength, toughness, hydrogen effects, fatigue, fracture mechanics and inspection requirements may all change with pressure, wall thickness and service history.
For liquid hydrogen, low-temperature toughness, thermal contraction, impact testing, gasket behavior and heat-number traceability must also be confirmed.

Material and design checklist

››› Valve Selection & Tightness

A hydrogen relief valve must satisfy capacity, leakage and operating requirements

The selected valve should have sufficient certified gas capacity for the governing load and remain suitable for set pressure, temperature, back pressure, operating-pressure margin and hydrogen service.
Pilot-operated designs may be considered for clean, high-pressure or close-to-set-pressure service, while spring-loaded designs may be preferred where simplicity and contamination tolerance are more important. The choice must be made from the actual system and manufacturer data.

Hydrogen valve review points

››› Venting & Installation

Hydrogen discharge must be routed to a defined safe location

The relief outlet should be evaluated for dispersion, ignition sources, weather effects, high velocity, noise, reaction force, electrostatic concerns and possible air ingress. Common vent headers can create superimposed and built-up back pressure that affects valve capacity and stability.
The installation should keep the inlet line short, support the outlet independently, avoid trapped liquid, maintain vent-stack drainage and preserve safe access for inspection and replacement.

Discharge-system checklist

››› Engineering Workflow

Eight-step B31.12 hydrogen pressure-protection workflow

The workflow links the piping code boundary to the pressure-relief calculation, valve specification and safe discharge system.
01

Define the B31.12 boundary

Identify industrial piping, pipeline, liquid-hydrogen piping and connected equipment interfaces.
02

Identify protected sections

Mark storage headers, compressors, regulators, blocked-in lines and downstream low-rated piping.
03

Define credible relief cases

Review regulator failure, blocked discharge, thermal expansion, heat input and equipment failure.
04

Calculate the governing load

Use maximum source flow, gas properties, pressure, temperature and downstream conditions.
05

Verify materials and design

Check hydrogen compatibility, fatigue, toughness, seals, welds and pressure-temperature ratings.
06

Select the relief device

Verify certified capacity, set pressure, leakage, valve type and connection requirements.
07

Review venting and installation

Check back pressure, dispersion, ignition control, support, drainage and maintenance access.
08

Complete the document package

Issue calculations, datasheets, drawings, MTCs, test reports and inspection requirements.
ZOBAI stainless steel pilot-operated safety relief valve on display
SHOP-FLOOR VERIFICATION

From Code Requirement to Shop-Floor Verification

Standards define technical requirements, but purchase-order compliance depends on design, materials, inspection scope and recorded test results. This actual ZOBAI photograph documents stainless steel pilot-operated safety relief valve on display. It is facility evidence, not a substitute for project-specific certificates or an agreed inspection and test plan.

››› RFQ Data

Information needed for a B31.12 hydrogen safety-valve review

A request stating only hydrogen service and connection size is incomplete. Provide the piping code section, maximum source conditions, relief case, required capacity and discharge-system data.

Recommended engineering input

››› Related Applications & Standards

Continue the hydrogen piping and pressure-relief review

These links use current ZOBAI pages already available on the website.
01

Hydrogen Safety Valves

Hydrogen compressors, storage banks, electrolyzers, refueling stations, pipelines and skids.
02

High-Pressure Safety Valves

Review leakage, pressure class, materials and high-pressure gas service.
03

Pipeline Safety Valves

Review regulator failure, compressor stations, blocked outlet and pipeline relief.
04

Pressure-Temperature Ratings

Check valve body, flange, material group and temperature-dependent allowable pressure.
05

ASME B16.5 Flanges

Verify flange size, class, facing, gasket and bolting compatibility.
06

Ask an Engineer

Submit a hydrogen P&ID, relief calculation or valve specification for technical review.
››› FAQ

Common questions about ASME B31.12 hydrogen piping

ASME B31.12 provides requirements for the design, materials, fabrication, inspection, testing, operation and maintenance of hydrogen piping and pipeline systems.

The current published edition is ASME B31.12-2023. Projects should confirm the required edition with the jurisdiction, owner and project specification.

Yes. Its scope includes piping in liquid-hydrogen service. Gaseous-hydrogen pipelines are also covered, while the exact code section depends on the system.

The piping code applies through the joint connecting the piping to associated vessels and equipment, but it does not provide the construction rules for the vessels or equipment themselves.

Common cases include regulator or control-valve failure, compressor blocked discharge, blocked outlet, trapped-liquid thermal expansion, vaporizer failure and external heat exposure where applicable.

Not automatically. The selected valve must be verified for hydrogen-compatible materials, leakage requirement, set pressure, certified gas capacity, operating margin, back pressure, seals, connections and discharge conditions.

Provide the B31.12 section, protected piping, hydrogen composition and phase, design and set pressures, temperature, governing relief case, required capacity, back pressure, materials, connections and required test documents.

Need a hydrogen piping or pressure-relief review?

Send the B31.12 piping boundary, P&ID, hydrogen conditions, source pressure, relief scenarios, required capacity, venting arrangement and material requirements. ZOBAI can identify missing inputs and define the next sizing or quotation step.