Text or WhatsApp (808) 600-9260 (WhatsApp)richard@familyoffices.com
OilWells.com
Guide

How an Oil Well Works

Published by OilWells.com, a site run by Richard C. Wilson

Updated

An oil well moves crude oil from underground rock to a sales point by using reservoir pressure, and later artificial lift, to drive fluids through a steel-lined wellbore to surface equipment that separates oil, gas, and water. Cemented casing isolates the wellbore from groundwater, production tubing carries fluids to a valve set called the Christmas tree, and separators split the mixture so oil goes to tanks, gas to a pipeline, and water to disposal. Once sold, revenue flows to owners through monthly run statements.

A panoramic view shows attendees seated at tables facing a presenter and presentation screens.
Eight-step flowchart of an oil well from lease, title and permit through AFE and JOA, drilling and completion, production, decline, and plugging.
The Life of an Oil Well. See the full infographic.
US Energy Investing and Conventional Drilling Strategies

What happens underground before the well flows

Oil and gas sit trapped in porous rock, most often sandstone or limestone, beneath a layer of impermeable cap rock. The hydrocarbons fill tiny pore spaces the way water fills a sponge. Pressure from the weight of overlying rock, dissolved gas in the oil, and surrounding water pushes fluids toward any opening. When a well penetrates the formation, that pressure difference drives oil and gas into the wellbore.

Reservoir quality comes down to two properties:

  • Porosity: the percentage of rock volume that is open pore space.
  • Permeability: how easily fluids move through connected pores.

Geologists and engineers estimate both before drilling by studying seismic surveys, well logs, and whole cores. A core is a solid column of rock, usually two to four inches in diameter, pulled from the formation.

In a conventional reservoir, oil and gas flow through naturally connected pores. In shale, the rock is so tight that it must be fractured to create flow paths. Most new U.S. shale wells are drilled vertically, then turned sideways into a horizontal lateral that can extend a mile or more, and completed with hydraulic fracturing in stages. If you want the drilling side of this in detail, see our step-by-step guide to drilling an oil well.

How pressure and artificial lift keep oil moving

At first, natural reservoir pressure may be enough to push oil to the surface without help. This is called natural flow. As pressure declines, production slows. Engineers model that decline using Arps curves, which describe exponential, hyperbolic, or harmonic patterns based on historical data. You can see how this plays out visually in our oil well decline curve illustration.

When natural pressure fades, artificial lift takes over:

Method How it works Best for
Beam pump (pumpjack) Surface motor moves sucker rods up and down; a downhole pump lifts fluid on each stroke. Shallow to moderate depth, lower flow rates
Electric submersible pump (ESP) Multi-stage centrifugal pump placed downhole, powered by electricity. Higher volumes, deeper wells
Gas lift Injected gas lightens the fluid column so it flows. Wells with available gas, deviated wellbores

Plunger lift is a fourth option. It uses a free piston that travels with the fluid, often in gas wells that load up with liquid. Lease operating expenses (LOE) cover the power, labor, chemicals, water handling, and repairs for whatever lift system is in place, and the choice depends on depth, fluid type, production rate, and cost.

The wellbore: casing, cement, and perforations

The wellbore is the hole drilled into the earth. It is lined with steel casing, cemented in place to isolate the well from surrounding rock and groundwater. Several casing strings run from top to bottom. Surface casing protects freshwater zones. Intermediate casing seals off unstable or high-pressure zones. Production casing runs through the reservoir.

Cement prevents fluid movement between layers and to the surface. Each U.S. well carries a unique API number used by regulators and data providers. State regulators such as the Railroad Commission of Texas and the North Dakota Industrial Commission set casing and cementing rules.

After casing is set and cemented, the well is perforated. Small shaped charges punch holes through the casing and cement into the reservoir, letting oil and gas enter the wellbore. In horizontal wells, the lateral is fractured using plug-and-perf or sliding sleeve methods.

Tubing and the Christmas tree

Inside the production casing, a smaller pipe called tubing carries oil and gas to the surface. Tubing is suspended from the wellhead and can be pulled out for maintenance. The space between tubing and casing, called the annulus, can be used for gas lift or pressure monitoring.

At the surface, the wellhead includes a set of valves known as the Christmas tree. It controls flow, allows tool access, and connects to gauges and a choke. The choke adjusts flow rate and maintains backpressure on the reservoir. Tubing size affects flow speed and lifting efficiency, and the whole system must handle pressure, temperature, and corrosion over time.

Watch: US Energy Investing and Conventional Drilling Strategies

Read the summary and key points from this video.

Separation and the tank battery

Fluid arriving at the surface is a mix of oil, gas, water, and sometimes sand. It flows into a separator, a cylindrical steel tank that uses gravity and pressure to split the phases. Gas rises to the top, oil settles in the middle, and water sinks to the bottom.

Separated gas is measured and sent to a pipeline, or flared if no pipeline exists. Oil is stored in tanks at the tank battery until it is sold. Oil is measured in barrels; one barrel is 42 U.S. gallons. Gas is measured in thousand cubic feet (Mcf) or by heat content in million Btu (MMBtu). Produced water is most often sent to a Class II injection well, regulated under the Safe Drinking Water Act's Underground Injection Control program. Some water is treated and reused.

How the sale works and what you get paid

Once oil is stored, a pipeline or truck takes it to a refinery or gathering point. The price is based on a benchmark. West Texas Intermediate (WTI) crude is priced at Cushing, Oklahoma. Henry Hub natural gas is priced in Erath, Louisiana. Brent is the main international crude benchmark.

Producers rarely receive the exact benchmark price. The difference, called a differential, reflects quality, location, and transport costs. Heavy crude may sell at a discount to light crude, and gas sold at the wellhead may be discounted versus a pipeline hub.

The purchaser sends a run statement showing gross volume, sales price, taxes, deductions, and net payment. Royalty owners do not pay drilling or operating costs but may pay severance tax and, depending on lease terms and state law, some post-production costs. Working interest owners pay their share of lease operating expenses. If you are new to ownership terms, start with what a working interest in an oil well is.

Worked example: well revenue after costs

Here is a hypothetical example. A well produces 100 barrels of oil per day. The royalty is 20%, so the net revenue interest (NRI) for the working interest owner is 80%. That 80% assumes the owner holds the full 100% working interest under the stated royalty; if the owner holds a smaller slice of the working interest, their NRI is proportionally lower.

For the full 80% NRI owner in this example, the share is 80 barrels. At $70 per barrel, gross revenue is $5,600 per day. Severance tax is 5% of the owner's share, or $280. Lease operating expenses are $1,500 per day. Net revenue before other deductions is $5,600 minus $280 for tax and $1,500 for LOE, which equals $3,820 per day. That is the owner's cash flow before additional costs such as workovers or overhead.

Common well components at a glance

Component Function Typical material
Casing Lines the wellbore, isolates formations Steel, cemented
Tubing Carries fluids to surface Steel, corrosion-resistant
Pumpjack Provides artificial lift Steel beam, motor
Separator Separates oil, gas, water Steel tank
Christmas tree Controls well flow Steel valves
Tank battery Stores oil before sale Steel tanks
Class II injection well Disposes of produced water Steel, cement

What your monthly statement actually shows

Once a well is producing, you will receive a monthly statement from the operator or a third-party division order company. This document is called a run statement. It lists the gross volume of oil or gas sold from the well, the price received, and the deductions taken before you get paid.

Your payment starts with the well's gross production. The operator applies your net revenue interest, which is your share after all royalties and other burdens are subtracted. For example, if a well produces 1,000 barrels in a month and your NRI is 0.025, your share is 25 barrels. The statement shows the sales price per barrel, based on a benchmark like WTI or Henry Hub, minus a differential for quality and location.

From your gross revenue, the operator deducts severance taxes. These are state taxes on production, and the rate varies by state. You may also see deductions for post-production costs such as treating, transporting, and compressing gas. Whether you pay these depends on your lease language and state law. Lease operating expenses like power, labor, and chemicals are not deducted from a royalty owner's check; the working interest owner pays those.

The statement shows the well's API number, a unique identifier you can use to look up production data from the state regulator. If you own a working interest, your statement also shows your share of operating costs, deducted before revenue is paid. Compare the price on your statement to the monthly average for WTI or Henry Hub to assess the differential you are receiving. For more on how ownership shares get set up, see what a division order is.

What investors commonly misunderstand

After 19 years of working with family offices and investors on private deals, I see the same gaps come up again and again. The most common one is confusing gross production with what actually lands in an owner's account. Investors read a well's headline production number, assume it flows to them, and forget the chain of royalties, severance taxes, differentials, and, for working interest owners, lease operating expenses standing between the two. The worked example above exists because that chain is where most of the surprise lives.

The second gap is assuming a producing well is a low-maintenance asset. Wells need workovers, lift equipment wears out, and water production tends to rise over time, which raises LOE. When I review deals with investors, the ones that hold up are usually the operator's equivalent of hitting singles and doubles: wells drilled in proven areas with straightforward completions, not outsized bets on unproven rock. Understanding the components on this page is also a practical due diligence tool. An operator who can clearly explain their casing program, lift method, water disposal plan, and how they calculate your run statement is demonstrating competence. One who cannot answer those questions is telling you something too.

Questions to answer before you invest

  • Does the well have a unique API number for tracking?
  • What type of artificial lift is installed, if any?
  • Is the well completed with casing and cement to protect groundwater?
  • What is the net revenue interest for the working interest owner?
  • Are separators and tank batteries in place for oil, gas, and water?
  • How is produced water disposed of or reused?
  • What benchmark price is used for oil or gas sales, and what differentials apply?
  • What are the lease operating expenses per month?
  • Is the well subject to severance taxes, and at what rate?
  • Who issues the run statement, the operator or a division order company?

Frequently asked questions

What is the difference between casing and tubing?

Casing is the steel pipe cemented into the wellbore to isolate formations and protect groundwater. It is permanent. Tubing is a smaller pipe inside the casing that carries oil and gas to the surface. Tubing can be removed for maintenance without disturbing the casing.

How does a pumpjack work?

A pumpjack uses a surface motor to move a string of sucker rods up and down. The rods connect to a downhole pump. On each upstroke, the pump lifts fluid up the tubing. It is used when reservoir pressure is too low to push oil to the surface naturally.

What happens to the water produced with oil?

Produced water is separated from oil and gas at the surface. Most of it is reinjected into underground formations through Class II injection wells, which are regulated under the Safe Drinking Water Act. Some water is treated and reused in operations.

How is oil measured and sold?

Oil is measured in barrels. One barrel equals 42 U.S. gallons. It is stored in tanks at the tank battery and sold to a pipeline or truck at a price based on a benchmark such as WTI, minus a differential for quality and location.

What does a monthly run statement tell me?

A run statement shows the gross volume of oil or gas sold, the price received, your net revenue interest share, severance taxes, and any post-production deductions. It also lists the well's API number so you can verify production data with the state regulator.

Why does well production decline over time?

Reservoir pressure drops as fluids are produced, so the driving force pushing oil to the surface weakens. Engineers model this with Arps decline curves. Operators respond with artificial lift, and eventually with workovers or infill drilling to restore or maintain flow.

Keep reading

Talk to Richard

Richard C. Wilson runs OilWells.com. If you have a question about an oil and gas deal you are reviewing, email richard@familyoffices.com or text or WhatsApp (808) 600-9260 (WhatsApp).

Educational only. Not investment, legal or tax advice.

Sources and method

U.S. Energy Information Administration, Oil and Petroleum Products Explained: https://www.eia.gov/energyexplained/oil-and-petroleum-products/ U.S. EPA, Class II oil and gas related injection wells: https://www.epa.gov/uic/class-ii-oil-and-gas-related-injection-wells FracFocus Chemical Disclosure Registry: https://fracfocus.org/ U.S. Department of the Interior, Orphaned Wells Program: https://www.doi.gov/orphanedwells Railroad Commission of Texas, data and online research queries: https://www.rrc.texas.gov/ Bureau of Land Management, oil and gas leasing and operations: https://www.blm.gov/programs/energy-and-minerals/oil-and-gas Bureau of Ocean Energy Management, oil and gas energy programs: https://www.boem.gov/oil-gas-energy Bureau of Safety and Environmental Enforcement, Data Center: https://www.data.bsee.gov/ U.S. Energy Information Administration, WTI, Brent and Henry Hub spot prices: https://www.eia.gov/dnav/pet/pet_pri_spt_s1_m.htm

Every fact in this guide to how an oil well works comes from the public sources listed and was checked line by line against them.

See the methodology and editorial policy.