API 6A and API 6D both cover valves used in oil and gas service, and it’s a common point of confusion which one applies to a given piece of equipment. The short version: it comes down to where the valve sits. API 6A governs wellhead and tree equipment; API 6D governs pipeline valves. Same broad function — controlling flow of pressurized fluid — but different service conditions, different qualification requirements, and often different valve designs entirely.
API 6A: wellhead and tree valves
API 6A (“Specification for Wellhead and Christmas Tree Equipment”) covers the valves and pressure-containing equipment that make up a wellhead stack and production tree — master valves, wing valves, swab valves, and the wellhead components covered in our wellhead equipment overview. These valves are qualified under API 6A’s own product specification levels (PSL 1 through 4, each adding testing and documentation requirements) and temperature classifications, and they’re designed for the specific loading a wellhead sees: high pressure, direct exposure to wellbore fluids, and combined structural loads from the tree and wellhead growth above them, not just internal pressure in isolation.
API 6D: pipeline and pipeline-related valves
API 6D (“Specification for Pipeline and Piping Valves”) covers valves used in pipeline transmission and distribution service — gate valves, ball valves, check valves, and plug valves installed along a pipeline rather than at the wellhead itself. These see a different duty profile: generally lower, more stable pressure than a wellhead in early flowing life, but often larger sizes, buried or remote installation with infrequent access, and a design emphasis on long-term sealing integrity and ease of actuation (manual, gear-operated, or motorized) over the combined structural loading a wellhead valve has to withstand.
Why the distinction isn’t just paperwork
The two specs reflect genuinely different design priorities, not just different test paperwork for the same valve:
- Load cases. An API 6A valve is qualified against combined pressure, temperature, and external structural load from the wellhead and tree above it. An API 6D valve’s qualification is built around pipeline installation and operating conditions — buried loads, thermal expansion of the pipeline itself, and station-to-station pressure profile.
- Service exposure. Wellhead valves see produced fluid directly from the reservoir, which can be more severe (sand, H2S, variable composition) than the processed or transmission-quality product typically flowing through a pipeline valve further downstream.
- End connections and actuation. API 6A valves commonly use flanged or hub connections sized to match wellhead and tree components; API 6D valves are more often flanged, welded, or buried with extension stems for remote or buried actuation.
Where it gets genuinely ambiguous
The boundary isn’t always a clean line at the wellhead flange. Flowline valves immediately downstream of a wellhead, or valves on a manifold that sits between the tree and the pipeline, can reasonably be specified to either standard depending on the operator’s practice and the specific service — and choke and kill system valves in particular often draw on both, since they sit functionally between wellhead and pipeline duty. When it’s not obvious which standard governs, that’s a question worth raising explicitly at the design stage rather than assuming based on the valve’s physical location alone.
We design and specify valves to both API 6A and API 6D, along with the wellhead, tree, and pipeline systems they connect to. See our Design & Engineering services, or talk to an engineer if you’re not sure which standard applies to your equipment.
