The whipping post

The 1 AI Stock I'd Buy and Hold for the Next Decade

Key Points

  • Microsoft’s Azure revenue grew 40% year over year in its most recent quarter.

  • The company’s commercial backlog roughly doubled year over year to $627 billion.

  • The stock trades about 30% below its 52-week high.

  • 10 stocks we like better than Microsoft ›

If I could hold only one AI (artificial intelligence) stock for the next 10 years, I wouldn’t reach for the market’s hottest name. A decade is long enough for at least one brutal downturn and a wave of competition nobody sees coming.

What survives all of that, arguably, isn’t momentum. It’s business quality — a durable competitive advantage, heavy cash generation, and demand that outlasts the boom phase.

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now, when you join Stock Advisor. See the stocks »

My pick is Microsoft (NASDAQ: MSFT).

That answer may sound boring next to chipmakers posting triple-digit growth rates. But boring is part of the appeal. Here’s why I’d be comfortable holding the software giant for the next decade.

A person interacting with AI on their laptop.

Image source: Getty Images.

Why Microsoft fits the 10-year test

Microsoft‘s competitive advantage is entrenchment. Its software runs the workday at most large businesses (Office, Windows, Teams, and the developer and security tools around them), and its Azure cloud platform is where many of those same customers already store data and run applications. Switching away is expensive and disruptive, so customers rarely do it.

A durable advantage in enterprise software isn’t necessarily a better product. It’s a customer base that has organized itself around yours.

That entrenchment is now pulling AI demand toward the company. In Microsoft’s fiscal third quarter (the period ended March 31, 2026), its “Azure and other cloud services” revenue grew 40% year over year.

And that’s no one-quarter spike. Azure grew 40% in fiscal Q1 and 39% in fiscal Q2, so the business has held steady at about 40% growth for three straight quarters — remarkable consistency for a business of this scale. Enterprise adoption of AI is arguably still early, too. And when businesses do adopt, Microsoft is often the first vendor they try, because it’s the vendor they already pay.

The forward-looking signal is even stronger. Microsoft’s commercial remaining performance obligations (contracted work it hasn’t yet recognized as revenue) roughly doubled year over year to $627 billion in fiscal Q3. And CEO Satya Nadella said on the company’s fiscal third-quarterearnings callthat Microsoft’s AI business surpassed an annual revenue run rate of $37 billion, up 123% year over year.

Then there’s the cash. Fiscal third-quarter revenue rose 18% year over year to $82.9 billion, net income climbed 23% to $31.8 billion, and earnings per share grew 23% to $4.27. That profit engine lets Microsoft fund one of the largest AI build-outs in the world from its own operations while still paying a dividend.

The price of admission

So why is a stock this good trading about 30% below its 52-week high of $555.45?

In a word, spending.

Chief financial officer Amy Hood said on the fiscal third-quarter call that Microsoft expects to invest about $190 billion in capital expenditures in calendar year 2026, including about $25 billion from the impact of higher component pricing. That plan is likely the biggest reason the stock still sits well below its high: Investors want proof that the build-out’s returns will justify its cost. And as those investments hit the income statement as depreciation in the coming years, they could weigh on margins.

See also  The Best High-Yielding Oil Stocks to Buy on the Dip

That concern is worth taking seriously. But it’s also why the valuation finally looks reasonable. At about $385 per share as of this writing, Microsoft trades at about 23 times earnings and about 20 times forward earnings. Nvidia, the obvious alternative, trades at about 23 times forward earnings versus Microsoft’s roughly 20. That isn’t a huge gap, but Nvidia’s earnings are far more exposed to swings in chip demand. For a decade-long holding, I’d rather own the company that buys the chips, rents them out through Azure, and keeps the customer relationship either way.

Could Microsoft stumble? Of course.

Competition in cloud computing is fierce, with Amazon and Alphabet investing just as aggressively. And if AI demand pauses, a $190 billion spending spree would look painful for a few years. Of course, Microsoft’s growth could also simply slow as its numbers get bigger, making today’s premium harder to defend.

But a 10-year holding isn’t a bet on the next few quarters. It’s a bet on who will still own the customer relationships and the infrastructure behind them 10 years from now. On those criteria, I think Microsoft is the safest way to own the AI era — and at today’s price, I think it’s a buy-and-hold for the next decade.

Should you buy stock in Microsoft right now?

Before you buy stock in Microsoft, 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 Microsoft 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 $395,679!* 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,294,805!*

Now, it’s worth noting Stock Advisor’s total average return is 929% — a market-crushing outperformance compared to 211% 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 July 12, 2026.

Daniel Sparks and his clients do not have positions in any of the stocks mentioned. The Motley Fool has positions in and recommends Alphabet, Amazon, Microsoft, and Nvidia. The Motley Fool has a disclosure policy.

5 Stocks Our Experts Predict Could Double In the Next Year

By submitting your email, you'll also get a free pivot & flow membership. A free daily market overview. You can unsubscribe at any time.