|
|||||
|
|
Morningstar analysts recently ranked Nvidia and Microsoft as the two best artificial intelligence stocks to buy right now.
Brian Colello at Morningstar says Nvidia has an economic moat due to its leadership in GPUs, networking, and software tools needed for artificial intelligence.
Dan Romanoff at Morningstar says Microsoft’s cloud computing unit has emerged as a leader in artificial intelligence due to investments in OpenAI.
Palantir Technologies has been one of the best-performing artificial intelligence (AI) stocks in recent years. Shares have advanced 1,000% since January 2024, but many analysts worry about its valuation. That may explain why Palantir did not appear on Morningstar's recent list detailing the best AI stocks to buy now.
Instead, Nvidia (NASDAQ: NVDA) and Microsoft (NASDAQ: MSFT) took the top two spots, followed by Amazon, Broadcom, and Meta Platforms. But optimism concerning Nvidia and Microsoft is not limited to Morningstar. Most Wall Street analysts believe the stocks are undervalued.
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 »
Here's what investors should know about Nvidia and Microsoft.

Image source: Getty Images.
Morningstar analyst Brian Colello writes:
"Nvidia has a wide economic moat, thanks to its leadership in graphics processing units, or GPUs, hardware, software, and networking tools needed to enable the exponentially growing market around artificial intelligence. In the long run, we expect tech titans to strive to find second sources or in-house solutions to diversify away from Nvidia in AI, but these efforts will, at best, only chip away at Nvidia's AI dominance."
To summarize, Nvidia has an important competitive advantage in its full-stack strategy. The company is best known for its GPUs, chips that accelerate demanding data center workloads like AI training and AI inference. But Nvidia is truly formidable because it pairs best-in-class GPUs with CPUs, high-speed interconnects, and networking platforms, such that the company essentially builds entire data centers.
Additionally, Nvidia has spent the better part of two decades creating its CUDA software platform, which comprises an unparalleled number of code libraries, pretrained models, and application frameworks that assist developers. While custom AI chips developed by Broadcom may be cheaper, the total cost of ownership is often higher because they lack pre-built software tools.
Nvidia has over 90% market share in data center GPUs, a market where sales are projected to grow at 36% annually through 2033, and the company is likely to maintain its dominant position due to its full-stack strategy. Wall Street estimates Nvidia's adjusted earnings will increase at 48% annually through the fiscal year ending in January 2028. That makes the current valuation of 47 times earnings look cheap.
Microsoft is the largest enterprise software company in the world. While best known for Microsoft 365 (a suite that includes office applications like Excel, PowerPoint, and Word), the company also has a strong position in other software verticals, including business intelligence, cybersecurity, and enterprise resource planning.
Microsoft has added generative AI copilots to several software products and monthly active users surpassed 150 million in the September quarter, up from 100 million in the June quarter. And CEO Satya Nadella told analysts, "Customers continue to adopt Microsoft 365 Copilot faster than any other Microsoft 365 suite. All up, more than 90% of the Fortune 500 now use Microsoft 365 Copilot."
Meanwhile, Microsoft Azure is the second-largest public cloud in terms of infrastructure and platform services sales. "Azure has several distinct advantages, including that it offers customers a painless way to experiment and move select workloads to the cloud," according to Morningstar analyst Dan Romanoff. "Based on its investment in OpenAI, the company has also emerged as a leader in AI."
Microsoft owns a 27% equity stake in OpenAI and it has exclusive rights to the AI start-up's most advanced models (e.g., GPT-4 and GPT-5). Also, The Information reports that OpenAI shares 20% of its revenue with Microsoft under the agreement. Those payments will top $1 billion this year, up from about $500 million last year, according to TechCrunch.
Wall Street estimates Microsoft's adjusted earnings will increase at 16% annually through the fiscal year ending in June 2027. That makes the current valuation of 34 times earnings look somewhat expensive. But Microsoft topped the consensus earnings estimate by an average of 8% during the last four quarters, which makes the current valuation look more reasonable. Nvidia is still the more attractive option, but I think patient investors should consider buying a small position in both stocks.
Before you buy stock in Nvidia, 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 Nvidia 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 $509,470!* 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,167,988!*
Now, it’s worth noting Stock Advisor’s total average return is 991% — a market-crushing outperformance compared to 196% 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.
*Stock Advisor returns as of December 28, 2025.
Trevor Jennewine has positions in Nvidia and Palantir Technologies. The Motley Fool has positions in and recommends Microsoft, Nvidia, and Palantir Technologies. The Motley Fool recommends Broadcom and recommends the following options: long January 2026 $395 calls on Microsoft and short January 2026 $405 calls on Microsoft. The Motley Fool has a disclosure policy.
| 36 min | |
| 1 hour | |
| 2 hours | |
| 5 hours | |
| Dec-27 | |
| Dec-27 | |
| Dec-27 | |
| Dec-27 | |
| Dec-27 | |
| Dec-27 | |
| Dec-27 | |
| Dec-27 | |
| Dec-27 | |
| Dec-27 | |
| Dec-27 |
Join thousands of traders who make more informed decisions with our premium features. Real-time quotes, advanced visualizations, backtesting, and much more.
Learn more about FINVIZ*Elite