S&P 500 5,278.40 +0.45% NASDAQ 16,755.02 +0.67% DOW JONES 38,886.57 +0.32% RUSSELL 2000 2,084.45 +0.15% VIX 13.42 -1.52% GOLD 2,348.30 +0.21% OIL (WTI) 78.62 +0.18% US 10Y 4.28% -0.04%
All articles Labor Market

2 AI Stocks Poised for Outperformance Over the Next 5 Years

2 AI Stocks Poised for Outperformance Over the Next 5 Years

Key Points

  • As AI cloud demand grows, Microsoft’s recent dip provides investors a timely entry point.

  • Advanced Micro Devices saw its CPU market share gains accelerate in the first quarter.

  • 10 stocks we like better than Microsoft ›

The tech-centric Nasdaq-100 has outperformed the S&P 500 (SNPINDEX: ^GSPC) over the last one-, five-, and 10-year periods. The growing adoption of artificial intelligence (AI) is a long-term tailwind for this streak to continue. Morgan Stanley sees data center construction becoming a global force in economic expansion, with spending expected to reach nearly $3 trillion by 2028.

Two stocks that will benefit from this growth are Microsoft (NASDAQ: MSFT) and Advanced Micro Devices (NASDAQ: AMD). Here’s why these stocks can outperform over the next five years.

1. Microsoft

Microsoft stock has fallen 30% from its recent highs, creating a timely buying opportunity. Demand for the software giant’s cloud and Copilot services remains robust.

Its annual recurring revenue from AI surged 123% year over year to $37 billion, while Microsoft 365 commercial cloud revenue is also showing strong growth. The company’s remaining performance obligations doubled over the year-ago quarter to $627 billion, with 25% of that backlog expected to be earned in the next 12 months.

To deliver on the rest of its growing backlog, Microsoft is on track to double its data center capacity over the next two years. Wall Street might be concerned about near-term earnings pressure from additional capital spending, but management said these assets are expected to generate returns over a longer time frame, in the next five to 15 years.

The leading hyperscalers are well positioned to deliver long-term returns for investors thanks to their massive data center infrastructure. This is a strategic advantage in an AI-driven economy that Wall Street is underestimating.

Microsoft has the resources it needs to invest in technology, generating a whopping $170 billion in cash flow from operations over the last year. This ultimately funds investment in expanding compute capacity and designing its custom Maia AI chips, among other initiatives.

There are risks, including near-term weakness in the consumer PC market due to high memory costs. The company is expected to spend roughly $190 billion on capital expenditures this year, which may weigh on its earnings and free cash flow.

Still, the stock trades at a reasonable forward price-to-earnings (P/E) ratio of 20, while analysts project earnings to grow at an annualized rate of 16% in the next several years. This is an attractive valuation relative to expected growth, which could set the stage for superior returns.

2. Advanced Micro Devices

Shares of Advanced Micro Devices have surged 157% year to date, but this could be the start of a longer bull run through the end of the decade. This chip company could see substantial growth driven by demand for AI inference.

Demand for inference has become more pronounced since the beginning of the year, with the launch of new agentic AI tools like OpenClaw and Anthropic’s Claude Cowork. Inference requires more central processing units (CPUs) to handle certain compute tasks, opening a huge opportunity for AMD.

AMD offers a range of CPUs, from 8-core to more advanced 256-core designs, that can meet customer needs at relatively low cost. Its server CPU revenue grew more than 50% year over year in the first quarter.

AMD has been gaining share on Intel in the server CPU market for several years, and management reported that share gains accelerated in the quarter. This partly reflected a strong ramp for AMD’s next-generation EPYC Turin CPUs.

What’s more, AMD could see accelerating demand for its data center graphics processing units (GPUs). It acquired ZT Systems in 2025, which bolstered AMD’s capabilities in designing complete rack systems for data centers, similar to Nvidia. Shipments for AMD’s new Helios rack-scale architecture are expected to begin in the second half of 2026. Even before Helios ramps up, AMD’s data center revenue is already strong, up 57% year over year in Q1.

Weaknesses in AMD’s gaming and consumer PC business are near-term headwinds, but this will likely be overshadowed by growing demand from enterprise and cloud.

While AMD shares trade at a high 74x forward P/E, it could see robust earnings growth. Analysts expect earnings to grow about 59% annually over the coming years. That sets the stage for market-beating returns.

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 $397,351!* 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,304,257!*

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

John Ballard has positions in Nvidia. The Motley Fool has positions in and recommends Advanced Micro Devices, Intel, Microsoft, and Nvidia. The Motley Fool has a disclosure policy.

Eagle One Intelligence

The edge serious investors read.

Macro shifts, market structure, and the ideas worth tracking — straight to your inbox.

Note. For informational purposes only. Not financial advice. Past performance does not guarantee future results.