Dominion Energy is benefiting from data center growth.
Williams Companies foresees a rising need for its natural gas services.
Both companies expect long-term earnings growth.
There's no escaping the impact of tariffs. When President Donald Trump recently announced he would raise tariffs on nearly everything the U.S. imports from most of our trading partners to 15%, markets stumbled. These import taxes affect nearly every business by raising the costs of basic goods, such as steel and electronics.
However, there are some energy sector companies that are less affected by tariffs than others. Dominion Energy (NYSE: D) and Williams Companies (NYSE: WMB) offer investors an antidote to tariff concerns, both from the U.S. and abroad, because they focus solely on domestic consumption. Both also appear to be safer artificial intelligence (AI) plays than software stocks, as they are already reaping the benefits of AI growth without having to lay out unusually high amounts on capital expenditures.
Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »
Image source: Getty Images.
Rising demand for energy will likely drive profits for both companies. Dominion is a utility that serves 4.5 million electric and natural gas customers in Virginia, North Carolina, and South Carolina. If it faces higher costs due to tariffs, it can petition state utility commissions to allow it to raise its rates to compensate. Williams Companies is a midstream energy operator that owns natural gas pipelines in the U.S. Its revenues are based on the volume of natural gas moving through its pipes, not on the cost of the steel used to build those pipes years ago. Its contracts also include escalator clauses that automatically increase the fees it charges based on inflation.
Dominion Energy is coming off a strong year. Revenue rose 14% to $16.5 billion in 2025, and earnings per share (EPS) increased 48% to $3.45. The company expects its operating EPS to grow by 5% to 7% annually through 2030, and forecasts that it will be in the higher end of that range from 2028 onward. The stock is up more than 7% this year.
Northern Virginia, which happens to be the home of the world's largest concentration of data centers, is in Dominion's service area, and the company increased its five-year capital spending plan by about $15 billion to support surging electricity demand from those data centers. That extra spending will likely pay off handsomely for the company. Since 2016, data center power use has grown at a compound annual rate of about 20%. The hyperscalers that are building data centers need dedicated sources of energy for them, and Dominion, through its wind farms, nuclear facilities, and natural gas power plants, provides what they require.
Another thing to like about Dominion is its dividend, which at its current share price yields around 4%.
Midstream giant Williams Companies delivers about one-third of the natural gas used in the U.S. through its 33,000 miles of pipelines. Its business is entirely domestic, so the effect of tariffs on it is minimal, and its contracts are long term, giving it dependable cash flow.
It has increased its adjusted earnings before interest, taxes, depreciation, and amortization (EBITDA) for 13 consecutive years. In 2025, its adjusted EBITDA rose 9% to $7.8 billion. So far this year, its share price is up more than 21%.
The growth of AI and data centers has also propelled its revenue, as natural gas is widely used to power data centers because of its dependability. This has also been a colder-than-usual winter in many parts of the U.S., which has increased natural gas demand for heating.
Williams reported revenue of $11.9 billion in 2025, up 13.7%. EPS was $2.14, up 17.5%. The company also raised its dividend by 5% this year, the 52nd consecutive year it has delivered a dividend. Over the past five years, it has raised its payouts by 28%. The yield is around 2.9% at its current share price, and it is covered by the company's adjusted funds from operations at 2.4 times, which is plenty safe and gives it room for further increases.
Before you buy stock in Dominion Energy, consider this:
The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Dominion Energy wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.
Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $519,015!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,086,211!*
Now, it’s worth noting Stock Advisor’s total average return is 941% — a market-crushing outperformance compared to 194% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.
See the 10 stocks »
*Stock Advisor returns as of February 28, 2026.
James Halley has positions in Williams Companies. The Motley Fool recommends Dominion Energy. The Motley Fool has a disclosure policy.