A wellhead is the pressure-holding assembly at the top of an oil or gas well. It hangs each string of casing and the production tubing, seals the annulus between them, and gives the crew a flanged base for a blowout preventer while drilling and a Christmas tree or pumping tee once the well produces. Wikipedia sums up its main job as providing “the suspension point and pressure seals for the casing strings.” Every piece of it carries a pressure rating, and in Texas the Railroad Commission requires that rating to meet or beat the pressure that piece might see. When a wellhead is going to be opened for a workover, the pressure it’s holding has to be checked and bled off first.

What is a wellhead?

The SLB Energy Glossary gives two definitions. For drilling, it’s “the system of spools, valves and assorted adapters that provide pressure control of a production well.” For completions, it’s the surface end of the wellbore where casing hangers go in during construction, the production tubing is hung, and the Christmas tree and flow-control equipment are installed.

Wikipedia adds the practical detail. Wellheads are typically welded onto the first string of casing after it’s cemented, so the wellhead becomes part of the well’s structure. Stream-Flo, a wellhead maker, describes it as both “a mechanical support and a pressure barrier.” The casing and tubing weight hangs from it, and it seals off the annulus.

Wellhead vs Christmas tree

People often use the two words for the same thing. The wellhead is the lower part: casing head, casing spools and tubing head, all of which stay with the well. The Christmas tree is the stack of valves bolted on top of the tubing head adapter. It controls and monitors flow during production. During drilling there’s no tree yet; the BOP sits on the wellhead instead. The photo above has both labelled.

Wellhead components

ComponentWhat it doesWhat to watch
Casing headBottom section, attached to the surface casing; hangs and seals the next stringSide outlets give access to the casing annulus; Texas requires valves accessible at surface
Casing spools and hangersHang each later casing string and isolate the annulus between stringsPackoff seals; any pressure between strings is reportable in Texas
Tubing head (tubing spool)Top spool; holds the tubing hangerGives access to the tubing-casing annulus
Tubing hangerSuspends the production tubingSeal integrity when the tubing is pulled and rerun
Tubing head adapterConnects the tubing head to the treePressure rating must match the tree
Christmas tree valvesMaster, wing and choke valves that control productionTexas requires two master valves above 5,000 psi surface pressure
Pumping tee and stuffing box (rod-pumped wells)Takes the place of a tree; seals around the moving polished rodPacking leaks onto the wellhead and the ground

The list follows Wikipedia’s and Stream-Flo’s component lists. Stream-Flo also names choke and kill lines, an annulus vent line and adapter spools.

How the wellhead changes over the life of a well

StageWhat sits on the wellheadSource
DrillingBlowout preventer on the casing head, tested on a scheduleWikipedia; 16 TAC 3.13
CompletionAdditional spools and the Christmas treeStream-Flo
Flowing productionChristmas tree with master, wing and choke valvesWikipedia; 16 TAC 3.13(a)(6)(F)
Rod-pumped productionPumping tee and polished rod stuffing box under the pumping unitDOE RMOTC report
WorkoverTree or pumping tee removed, BOP installed, rods and tubing pulledOSHA eTool; 16 TAC 3.13

If you’re working on a rod-pumped well, the stuffing box section below matters most.

How to read an API 6A wellhead nameplate

Wellhead and tree equipment is built to API Specification 6A. Wikipedia cites the 20th Edition (2010). Stream-Flo’s API purchasing guide covers the 21st Edition and notes that it is no longer tied to ISO 10423. The nameplate carries more than a pressure number. Here is what the tables in that guide say each marking means.

MarkingOptions in API 6AWhat it tells you
Rated working pressure2,000, 3,000, 5,000, 10,000, 15,000, 20,000 psiMaximum rated pressure for the piece
Temperature classK, L, N, P, S, T, U, V, X, YLowest ambient and highest fluid temperature. P is -20 to 180°F, U is 0 to 250°F, Y runs to 650°F
Material classAA, BB, CC (general service); DD, EE, FF, HH (sour service); ZZBody and trim materials. DD through HH must meet NACE MR0175/ISO 15156
PSLPSL 1 to 4Level of inspection and testing. The 21st Edition sets a minimum PSL by material class and pressure
PRPR1, PR2, PR2FPerformance requirement the design was verified to; PR2F means it passed API 6A Annex F testing

From the minimum-PSL table: general-service equipment (AA, BB, CC) can be PSL 1 up to 5,000 psi but needs PSL 2 at 10,000 and 15,000 psi. HH and ZZ equipment needs PSL 3 at every pressure up to 15,000 psi. API 6A’s optional ratings for 6B flanges also de-rate them at temperature classes X and Y: a 5,000 psi flange in class Y is good for 3,575 psi.

A spool or valve that “looks the same” isn’t interchangeable unless pressure, temperature class and material class all match the well. A general-service AA valve on a well making H2S is a mismatch the nameplate will show you. Stream-Flo’s ordering notes say API holds the user responsible for choosing the pressure, temperature and material class, so that check belongs to the operator.

What Texas requires of a wellhead

Statewide Rule 13 (16 TAC 3.13) covers casing, cementing and well control, and three parts of it apply directly to wellheads on land wells. Rule 17 adds the bradenhead requirement.

RuleRequirement in plain terms
3.13(a)(6)(A) Wellhead assembliesOnce surface casing is set, a wellhead assembly must be used to keep surface control of the well at all times. Each component needs a pressure rating equal to or greater than the pressure it might see during drilling, testing or production
3.13(a)(6)(E) CasingheadEvery land and bay well needs a casinghead with enough rated pressure and valves accessible at surface to pump fluid between any two strings of casing. A well with sustained casinghead pressure is tested by killing it and applying pump pressure; if the casinghead gauge reflects that pressure, the casing is condemned
3.13(a)(6)(F) Christmas treeCompleted non-pumping wells need tree fittings and wellhead connections rated at or above the surface shut-in pressure. One master valve is required, two above 5,000 psi. Connections are pressure tested before installation
3.17 BradenheadAll wells must have a bradenhead. Pressure developing between any two strings of casing must be reported to the RRC district office immediately

Rule 17 also sets the test for a well “leaking gas, oil, brine, or geothermal resource” between surface and the production string: kill the well, apply pump pressure through the tubing head, and if the bradenhead gauge follows it, the casing is condemned and a new string must be run and cemented. Reading the bradenhead and casing gauges on routine lease checks catches that pressure early.

Rod-pumped wellheads and stuffing box leaks

On a beam-pumped well the tree is replaced by a pumping tee with a stuffing box on top. The polished rod strokes up and down through the stuffing box packing, and produced fluid leaves through a flowline off the tee. The packing is a moving seal, so it wears.

A 1999 Department of Energy field test at the Rocky Mountain Oilfield Testing Center looked at a redesigned stuffing box on two rod-pumped stripper wells chosen because they had “a history of packing element wear and stuffing box leaks.” The wells ran on a time clock, which means the packing starts and stops many times a day. The report’s main field lesson applies to any stuffing box: tighten the packing correctly. When the crew tightened the packing bolts “the exact same distance using a ruler,” the box performed better.

A stuffing box leak sprays or drips crude and produced water onto the wellhead and the ground around it. Wellhead cellars and pumping unit bases collect it. Catching it early is mostly a matter of looking at the polished rod and the ground under the tee on every lease visit.

Working on the wellhead during a workover

OSHA’s oil and gas eTool lists the steps of a typical well servicing job, and the wellhead is near the start. On a pumping well the horsehead usually has to come off first to reach the wellhead. The hazards OSHA names include the unit starting up while the crew is working on it and being struck by counterweights. Then the wellhead is removed from the casing flange. The hazards OSHA lists for that step:

  • being struck by released pressure or flying particles
  • being struck by the wrench or hammer while removing bolts and fittings
  • being caught between the wellhead, hydraulic wrenches and fittings
  • pinched hands between flanges or valves
  • slips, trips and falls, and entering well cellars

The first fix on OSHA’s list is to “check wellhead pressure and bleed pressure off before removal,” and to stand clear of valves and fittings while bleeding off. Rule 13 also requires that lines from outlets on or below the BOPs be “securely installed, anchored, and protected from damage.” Pump-in and flowback lines tied into the wellhead carry full well pressure. If a connection on one of them parts, the line whips, so those lines get restrained.

Once the tubing comes out of the hole through the wellhead, it’s the best chance the operator gets to find bad joints before they go back in. See workover rig operations for the rest of the job.

Pre-workover wellhead checklist

  1. Read the nameplates on every spool, valve and adapter. Confirm pressure rating, temperature class and material class match the well, including H2S.
  2. Read tubing, casing and bradenhead pressures and record them. Report any pressure between casing strings to the RRC district office.
  3. Lock out the pumping unit and secure the counterweights before anyone works under the horsehead.
  4. Bleed pressure off through the right valve, standing clear of the outlet, before loosening any flange.
  5. Check the cellar for fluid and gas before anyone climbs in.
  6. Restrain pump-in, kill and flowback lines tied into the wellhead.
  7. Put containment under the wellhead, the pump and the fluid transfer points before tubing and rods start coming out wet.
  8. Plan to inspect the tubing joint by joint as it’s pulled.

Tubing inspection, restraint and containment at the wellhead

Site Safe Solutions runs EMI tubing inspection at the wellhead or on the lease, so pulled tubing can be scanned for wall loss, rod wear and corrosion without hauling the string to a yard. For lines tied into the wellhead, the company installs high-pressure restraint systems on hose and iron for slick-water, nitrogen, energized fluid and standard pumping jobs. Its Fast Mats give drive-over containment for service trucks and small fluid transfers, and it builds lined containment pads where a job needs more. Call before the rig moves in.