2 Outstanding AI Stocks to Buy and Hold for the Next Decade

Source The Motley Fool

Key Points

  • Many investors are spooked by these companies' AI-related spending.

  • But their financial results suggest that their investments are paying off.

  • There is much more growth fuel left for both of these AI leaders.

  • 10 stocks we like better than Microsoft ›

Investors who foresaw the rapid growth of the artificial intelligence (AI) industry -- and bought shares of some of its leaders, such as Nvidia -- are sitting pretty right now. The good news for others who didn't get in on the party early on is that there is still ample room for AI-focused companies to deliver excellent returns over the long run. The key is to pick the right corporations, purchase their shares, and stick with them through thick and thin. And in that spirit, two AI stocks that I think look attractive right now are Microsoft (NASDAQ: MSFT) and Meta Platforms (NASDAQ: META). Here is why both could beat the market over the next 10 years.

Meta Platforms and Microsoft logos.

Image source: The Motley Fool.

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 »

1. Microsoft

Microsoft's shares have dropped 19% over the past six months. Besides the company's significant capex spending, many investors worry that the new artificial intelligence (AI) world order will disrupt its business. If that happens, the spending won't pay off, revenue growth will decline, and margins will compress. Despite those fears, Microsoft is performing relatively well. During the third quarter of its fiscal year 2026, ending on March 31, Microsoft's revenue climbed 18% year over year to $82.9 billion. The company's biggest growth driver, Azure, posted 40% year-over-year sales growth.

Microsoft plans to continue spending heavily on its AI ambitions. That is still an issue for the market. That said, the evidence suggests that the company's top-line growth should remain healthy for the foreseeable future. Consider, for instance, Microsoft Cloud (including Azure), which ended the period with $627 billion in contracted obligations, up 99% year over year. The company said that 25% of that -- or about $156.8 billion -- will be recognized in the next 12 months, an increase of 39% year over year.

Meanwhile, the company also said its AI business now has an annual revenue run rate of more than $37 billion, up 123% year over year. AI has been a boost to Microsoft's operations, and it could continue growing at a good clip, which arguably justifies Microsoft's heavy spending. Further, Microsoft is a highly innovative company. In my view, it will continue to find ways to incorporate AI into its business to improve its products and services, making it less likely that the technology will replace it. Lastly, Microsoft is a great dividend stock, having increased its payouts by almost 153% over the past decade. Microsoft's shares may be down, but that's a great opportunity to buy the stock on the dip and hold it for a while.

2. Meta Platforms

Meta Platforms' shares fell off a cliff following its latest quarterly update. Investors weren't too happy about the company's daily active users. While it grew 4% year over year to 3.56 billion, it actually declined slightly compared to the fourth quarter. Further, just like Microsoft, Meta Platforms continues to invest heavily to support its AI ambitions. And despite what the company's post-earnings dip might suggest, it is paying off. Meta Platforms' first-quarter revenue grew by 33% year over year to $56.3 billion.

The company is performing well, partly thanks to AI, which is boosting engagement on its platforms through recommendation algorithms. The company has also deployed AI to help businesses get more bang for each advertising buck.

It's also worth pointing out that the company's quarter-over-quarter decline in active users was due to issues in Iran and Russia. My view is that the company will also rebound in that department. And with a deep ecosystem and better monetization capabilities thanks to AI, Meta Platforms could maintain healthy revenue and earnings growth over the next few years, even as it continues to invest tens of billions to sustain its AI ambitions. Lastly, Meta Platforms trades at just 20.5x forward earnings, which is below the average of 22.2x for communication services stocks.

At current levels, Meta's shares look like a bargain. Buying the stock today and holding onto it through 2036 could be a brilliant move.

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 $473,985!* 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,204,650!*

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

Prosper Junior Bakiny has positions in Meta Platforms and Nvidia. The Motley Fool has positions in and recommends Meta Platforms, Microsoft, and Nvidia. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Bitcoin CME gaps at $35,000, $27,000 and $21,000, which one gets filled first?Prioritize filling the $27,000 gap and even try higher.
Author  FXStreet
Aug 22, 2023
Prioritize filling the $27,000 gap and even try higher.
placeholder
Markets in 2026: Will gold, Bitcoin, and the U.S. dollar make history again? — These are how leading institutions thinkAfter a turbulent 2025, what lies ahead for commodities, forex, and cryptocurrency markets in 2026?
Author  Insights
Dec 25, 2025
After a turbulent 2025, what lies ahead for commodities, forex, and cryptocurrency markets in 2026?
placeholder
ECB Policy Outlook for 2026: What It Could Mean for the Euro’s Next MoveWith the ECB likely holding rates steady at 2.15% and the Fed potentially extending cuts into 2026, EUR/USD may test 1.20 if Eurozone growth proves resilient, but weaker growth and an ECB pivot could pull the pair back toward 1.13 and potentially 1.10.
Author  Mitrade
Dec 26, 2025
With the ECB likely holding rates steady at 2.15% and the Fed potentially extending cuts into 2026, EUR/USD may test 1.20 if Eurozone growth proves resilient, but weaker growth and an ECB pivot could pull the pair back toward 1.13 and potentially 1.10.
placeholder
My Top 5 Stock Market Predictions for 2026Five 2026 market predictions written in a native, news-style voice: AI’s winners and losers, broader sector leadership, dividend demand, valuation cooling as the Shiller CAPE sits at 39 (Dec. 31, 2025), and quantum-computing bursts—while keeping all original facts and numbers unchanged.
Author  Mitrade
Jan 06, Tue
Five 2026 market predictions written in a native, news-style voice: AI’s winners and losers, broader sector leadership, dividend demand, valuation cooling as the Shiller CAPE sits at 39 (Dec. 31, 2025), and quantum-computing bursts—while keeping all original facts and numbers unchanged.
placeholder
WTI Oil pulls back as Hormuz supply worries ease, Iran-US tensions keep volatility highWest Texas Intermediate (WTI) trades around $101.10 on Tuesday, down 1.26% at the time of writing, after posting strong gains the previous day amid escalating geopolitical tensions in the Middle East.
Author  FXStreet
May 05, Tue
West Texas Intermediate (WTI) trades around $101.10 on Tuesday, down 1.26% at the time of writing, after posting strong gains the previous day amid escalating geopolitical tensions in the Middle East.
goTop
quote