If your valve sits between the wellbore and the upstream side of the production wing-valve flange, it qualifies under API Spec 6A. If it sits in a gathering line, transmission line, or any pipeline downstream of the lease meter run, it qualifies under API Spec 6D. The boundary is a physical interface, not a marketing distinction, and procurement gets it wrong often enough that it shows up on returns.
This article is for the engineer or buyer who has a requisition open, a quote in hand, and the suspicion that the valve being offered isn't the one the spec calls for. Both standards qualify pressure-containing valves. They are not interchangeable. The wrong call costs lead time, paperwork, and sometimes a workover.
The boundary, drawn precisely
API Spec 6A — Specification for Wellhead and Christmas Tree Equipment — covers the wellhead, casing head, tubing head, and christmas-tree components from the surface up to the upstream side of the production wing-valve flange. The studded outlet on a tubing head is in scope. The frac valve is in scope. Wing valves and master valves are in scope. The kill line, the swab valve, the choke isolation block — all in scope.
API Spec 6D — Specification for Pipeline and Piping Valves — covers gate, plug, ball, check, and butterfly valves used in oil and gas pipeline systems. Liquid pipeline. Gas pipeline. Gathering. Transmission. Storage tie-ins. Once produced fluid leaves the lease and enters a pipeline system intended to move it somewhere, the valves on that system fall in 6D's lane.
The contested middle is the choke manifold and the production manifold. Common practice on a christmas-tree-fed manifold is to keep API 6A through the choke and switch to 6D from the choke discharge into the gathering line. Operators have legitimate reasons to do otherwise — high-pressure cushion-gas service on an underground storage facility is one — but the default split is the choke.
Where the specs actually diverge
Same job description, different rulebooks. The differences that show up on a quote:
Pressure rating. API 6A uses pressure ratings of 2,000, 3,000, 5,000, 10,000, 15,000, 20,000, and 30,000 psi. API 6D uses ASME B16.34 pressure classes — 150, 300, 600, 900, 1500, and 2500. A 10,000-psi 6A valve and a Class 1500 6D valve overlap on working pressure but they are not the same animal.
End connections. API 6A defaults to 6B and 6BX flanges (with their distinctive ring-joint grooves), studded outlets, and threaded connections in smaller bores. API 6D points to ASME B16.5 and B16.47 flanges (raised face or RTJ), butt-weld ends, and threaded connections in small bore. Specifying an RTJ B16.5 flange on a wellhead body that wants 6BX will not seal — the gasket geometry is different.
Material classes. API 6A defines material classes AA, BB, CC, DD, EE, FF, and HH against the produced-fluid environment, integrating sour-service requirements directly into class selection. API 6D requires materials per its own annexes and separately invokes NACE MR0175 / ISO 15156 for sour service. Same goal, different sentence on the spec sheet.
Testing. API 6A defines two performance verification regimes — PR1 (production performance verification) and PR2 (extended cycle testing including thermal cycles for upper performance levels). API 6D requires a hydrostatic shell test, hydrostatic seat test, gas seat test for high-pressure gas service, and factory acceptance testing per its own Annex H. The PR2 regime in 6A is more demanding than the standard 6D shell-and-seat sequence; it is also more expensive and adds weeks to lead time. Don't ask for PR2 unless you actually need it.
Specification levels. API 6A defines product specification levels PSL 1 through PSL 4, with a PSL 3G variant for gas-service hold tests. API 6D does not have a parallel concept; quality and inspection requirements are written into the body of the specification.
Common confusions on the spec line
Three patterns show up on requisitions that come back for clarification.
Calling for a "6A ball valve" on a pipeline isolation. Pipeline isolation valves should be 6D unless the operator has a documented reason otherwise. A 6A-monogrammed ball valve will work, but the buyer is paying for wellhead-grade qualification on a gathering-line application, and the end connections may not match the line's flange spec. The vendor will quote it. The engineer is over-paying.
Calling for a "6D gate valve" on a wellhead. The reverse problem. A 6D gate valve will not have the 6BX flange the christmas tree expects above 5,000 psi, and its trim is classed against a different rulebook than the rest of the wellhead. The valve might function, but the documentation package won't pass an audit looking for a coherent 6A wellhead build.
Stacking fire-safe and fugitive-emissions specs without picking a base. API 6FA and API 607 govern fire-safe testing. API 624 and ISO 15848 govern fugitive emissions. These are layered specs — they sit on top of either 6A or 6D, not in place of them. A complete spec line names the base standard and any layered tests, in that order.
Two worked spec lines
A wellhead wing valve, written cleanly:
3-1/16" 5,000 psi production wing valve, API Spec 6A, PSL 3, PR2, material class FF, 6BX RTJ flange ends, monogram required, MTRs and certification package on file.
A gas gathering-line ball valve, written cleanly:
6" Class 600 trunnion-mounted ball valve, API Spec 6D, NACE MR0175 / ISO 15156:2020 compliant trim, fire-safe per API 607 7th Edition, fugitive emissions per ISO 15848-1 Class B, ASME B16.5 RTJ flange ends, full bore.
Both lines are short. Both name the base standard, the size, the rating, the trim, the layered tests, and the connection. Either one would land on a manufacturer's quote sheet without a follow-up phone call.
When to ask the rep before quoting
Three situations warrant a phone call before the requisition leaves the desk:
- Choke manifold scope. The boundary between 6A and 6D on a multi-skid choke manifold is rarely obvious from the P&ID alone. Pin it down before the metallurgy decisions cascade.
- Operator legacy specs. Some E&P operators carry company specs that grandfather one standard across the entire production system. If the operator's spec calls for 6A through the LACT unit, the spec wins. Match it.
- CO₂, H₂S, and saltwater disposal services. Any service severe enough to drive material class selection to DD or above in 6A — or its equivalent in 6D — is severe enough to deserve a second pair of eyes on the trim before the order ships.
Get the spec right before it leaves the desk
If you have a draft requisition open and want a second read on the standard, the trim, or the connection, call your rep. We carry valves to both specifications across six manufacturers, and we'd rather sort the line on a 10-minute call than on a returns ticket.
Call 800-274-2003 or request a spec review.
Sources
- API Specification 6A, 21st Edition (2018) — Specification for Wellhead and Christmas Tree Equipment American Petroleum Institute
- API Specification 6D, 25th Edition (2021) — Specification for Pipeline and Piping Valves American Petroleum Institute
- ASME B16.34-2017 — Valves: Flanged, Threaded, and Welding End American Society of Mechanical Engineers
- ASME B16.5-2020 — Pipe Flanges and Flanged Fittings American Society of Mechanical Engineers
- NACE MR0175 / ISO 15156:2020 — Materials for Use in H₂S-Containing Environments in Oil and Gas Production NACE International / ISO
- API Standard 607, 7th Edition (2016) — Fire Test for Quarter-Turn Valves American Petroleum Institute
- ISO 15848-1:2015 — Industrial Valves: Measurement, Test and Qualification Procedures for Fugitive Emissions ISO
