How to Invest in Energy

Last updated July 2026

Short answer

You can invest in Energy by buying the individual stocks that fit the thesis (COP, CVX, DUK), holding an ETF proxy like XLE, VDE, or building a focused Energy basket. The energy theme covers the companies that find, move, refine and sell the fuel and power an economy runs on. It splits into three distinct businesses that behave differently: upstream producers whose earnings swing with the commodity price, midstream pipeline operators that charge tolls on volume and behave more like infrastructure, and utilities that earn a regulated return and trade more like bonds. Grouping them under one label hides how differently they respond to the same oil price.

What gets a stock into the Energy theme?

Revenue derived from producing, transporting, refining or distributing oil, natural gas or electric power, including regulated utilities and midstream partnerships.

What stocks are in the Energy theme?

Every public name that fits the Energy thesis, with the rationale for inclusion. Click any ticker for the full stock guide. The basket above starts equal-weighted; you set your own target weights inside Walnut.

COPCOP

ConocoPhillips (NYSE: COP) is an exploration and production (E&P) company focused exclusively on the upstream segment of the oil and gas industry.

CVXCVX

Integrated oil major with low-cost production, a strong balance sheet, and a high dividend tied to commodity prices.

DUKDUK

Duke Energy is a holding company for a group of regulated electric and gas utilities serving roughly eight and a half million electric customers across six states, including the Ca

EOGEOG

EOG Resources is one of the largest independent crude oil and natural gas exploration and production companies in the United States, with proved reserves primarily in the Permian B

EPDEPD

Enterprise Products Partners operates one of the most integrated midstream systems in North America, with tens of thousands of miles of pipelines plus storage, natural gas processi

ETET

Energy Transfer owns and operates one of the largest and most diversified energy-infrastructure portfolios in the United States, spanning roughly 140,000 miles of pipeline across 4

KMIKMI

Kinder Morgan, Inc.

MPCMPC

Marathon Petroleum Corporation (NYSE: MPC), headquartered in Findlay, Ohio, is the largest independent downstream energy company in the United States.

NEENEE

NextEra Energy runs two very different businesses under one holding company.

OKEOKE

ONEOK (NYSE: OKE) is an American midstream energy company headquartered in Tulsa, Oklahoma.

OXYOXY

Leveraged Permian oil and gas producer with chemicals and carbon-capture arms; large Berkshire Hathaway stake.

PSXPSX

Phillips 66 is a leading integrated downstream energy provider headquartered in Houston, Texas.

VLOVLO

Valero Energy is the largest independent petroleum refiner in the world, operating 15 refineries across the United States, Canada, and the United Kingdom with a combined throughput

WMBWMB

A large US natural gas midstream company that owns the Transco and Northwest pipeline systems handling roughly a third of the nation's gas, with fee-based income plus growth from LNG exports and data-center power demand.

XOMXOM

The largest US integrated oil and gas major, combining Permian and Guyana production growth with refining, chemicals, and a 43-year dividend-increase streak.

For the full roundup of the individual names in this theme, grouped by the role each one plays, read best energy stocks.

Which ETFs cover Energy?

If you want the theme as a single ticker rather than as a basket, these are the ETFs people most commonly use. Each has trade-offs (concentration, expense ratio, sector overlap) covered in the individual ETF guides.

The bottom line on Energy

Energy is best expressed as a focused basket of the names that actually fit the thesis rather than a diluted sector ETF. Core names include COP, CVX, DUK. In a portfolio it works as a satellite tilt you size deliberately, not a core holding.

FAQ

How do I invest in energy stocks?

+

Decide first which part of energy you actually want. Upstream producers give you the most direct exposure to the oil and gas price. Midstream operators charge fees on volume and are less price-sensitive. Utilities are rate-regulated and behave more defensively. You can buy the names directly, hold a sector ETF such as XLE or VDE, or build a focused basket weighted toward the sub-sector you believe in. Not investment advice.

Why do energy stocks move with the oil price?

+

For producers, the oil price is close to the revenue line: costs are largely fixed once a well is drilled, so a change in price flows through to profit with leverage in both directions. Refiners are different, earning on the spread between crude and refined products, which can widen when crude falls. Midstream and utilities are the least exposed because they charge for transport and delivery rather than selling the commodity itself.

Are energy stocks a good inflation hedge?

+

They have often behaved that way, because energy prices are a direct input to inflation, so producer revenue tends to rise with it. That relationship is not reliable enough to depend on: energy can fall during an inflationary period if supply grows or demand weakens, and the sector carries its own cycle. Treat it as correlated, not as a hedge.

What is the difference between upstream, midstream and downstream?

+

Upstream companies explore for and produce oil and gas, and are the most exposed to the commodity price. Midstream companies own the pipelines, storage and terminals that move it, and typically earn fee-based revenue on volume. Downstream companies refine crude into fuels and sell them, earning on the crack spread. The same oil price can be good for one and bad for another.

Why do energy stocks pay such high dividends?

+

Mature producers and midstream operators generate substantial cash and have limited reinvestment opportunities compared with growth sectors, so a larger share is returned to shareholders. Midstream partnerships in particular are structured to distribute most of their cash flow. The high yield is a feature of the business model, not necessarily a sign the stock is cheap, and it can be cut when the cycle turns.

What are the risks of energy stocks?

+

The commodity cycle is the biggest: prices are set globally and can halve in a year, taking producer earnings with them. Beyond that, capital discipline can slip at the top of a cycle, regulatory and environmental costs are rising, and the long-run energy transition is a structural question for demand. Utilities carry a different risk: they are interest-rate sensitive and their returns are set by regulators.

Should I hold energy stocks or an energy ETF?

+

An ETF such as XLE gives you the sector in one holding, but it is heavily weighted toward the largest integrated producers, so it is closer to a bet on a few companies than the holding count suggests. Individual names let you choose between upstream leverage and midstream stability. A focused basket lets you weight those sub-sectors deliberately rather than accepting an index's split.

Which ETFs cover the energy theme?

+

XLE is the largest US energy sector fund and VDE is the broad Vanguard equivalent; both are dominated by the integrated majors. Narrower funds exist for oil services, midstream and clean energy, each with a very different risk profile. Check the top holdings, because concentration in this sector is high.

Does Walnut recommend which energy stocks to buy?

+

No. Walnut is informational and not a registered investment adviser. It lets you assemble an energy basket from constituents you pick, set target weights across upstream, midstream and utilities, track it against the S&P 500, and approve every order yourself at your own broker.

Build the Energy basket in Walnut

Walnut's AI assistant takes the thesis above, proposes 5 to 6 constituents with target weights, and lets you fund the basket through your existing broker. You approve every order; we never trade on your behalf.

Other themes

  • AI infrastructure. Picks and shovels of the AI buildout: GPUs, networking, foundries, and the software platforms training the largest models.
  • Data center power and cooling. The grid, switchgear, liquid cooling, and electrical contracting that AI data centers can't run without.
  • Semiconductors. The full chip stack: designers, foundries, equipment makers, materials suppliers, and packaging specialists.
  • Defense and modernization. Software, sensors, and specialty materials at the center of US and allied defense buildouts.
  • Critical materials. Rare earths, specialty metals, and strategic materials at the center of supply chain reshoring.

Walnut is informational, not investment advice. Theme membership is descriptive, not prescriptive; nothing on this page should be read as a recommendation. Always verify current financials and your own circumstances before investing.

    How to Invest in Energy (Stocks & ETFs), Walnut