Building a diversified artificial intelligence portfolio can help long-term investors stay even-keeled during stock market sell-offs.
With the S&P 500 up a remarkable 79% in the last three years, some investors may be worried that we’re due for a sell-off in 2026. And while no one can know for sure when such down markets will occur nor how long they’ll last, we do know that investing in fundamentally sound companies, even when they’re trading at expensive valuations based on their recent results, can be an effective way to grow one’s wealth over the long term.
According to The Motley Fool’s 2026 AI Investor Outlook Report, 60% of survey respondents said they believe that companies focused on artificial intelligence (AI) will deliver strong long-term results, with outsized optimism coming from Gen Z (67%), millennials (63%), and high earners making at least $150,000 per year (70%).
Here’s why ASML (ASML +5.71%), Nvidia (NVDA +0.43%), and Microsoft (MSFT +0.05%) stand out to me as excellent AI stocks to buy now.
Image source: Getty Images.
ASML is irreplaceable in the AI age
ASML is a semiconductor equipment manufacturer and services company. It is the only company in the world capable of making extreme ultraviolet (EUV) lithography machines, which are essential equipment for manufacturing the advanced chip designs created by companies like Nvidia, Broadcom, and Advanced Micro Devices.
Demand for ASML’s EUV machines should continue to grow for decades to come, as cutting-edge chips (which have smaller features packed more densely) require a level of precision that isn’t achievable at general-purpose fabs. Chip foundries must invest in ASML’s machines to meet the needs of their AI customers.

Today’s Change
(5.71%) $66.43
Current Price
$1230.21
Key Data Points
Market Cap
$451B
Day’s Range
$1211.98 – $1231.00
52wk Range
$578.51 – $1231.00
Volume
85K
Avg Vol
1.4M
Gross Margin
52.70%
Dividend Yield
0.63%
Nvidia is powering AI data centers
Custom chips from Broadcom, AMD, and Alphabet (which designed its chips in collaboration with Broadcom) are beginning to take more market share from Nvidia in the AI accelerator space. But Nvidia remains the undisputed leader in designing graphics processing units and rack-scale solutions for hyperscale data centers.
As an investment, Nvidia offers a catch-all way to benefit from increased AI adoption. Whether Oracle takes market share from Amazon Web Services, or Anthropic’s Claude large language model gains ground on OpenAI’s ChatGPT, the chipmaker will still profit.
Nvidia’s sky-high 53% net profit margin means it is converting over half of its revenue into after-tax earnings. Even if competition erodes some of its pricing power and its margins fall somewhat, it will remain an incredible business.
Image source: The Motley Fool.
Microsoft has multiple ways to profit from AI
Further up the value chain is Microsoft. It is arguably the most balanced AI stock to buy in 2026 because it is a major player in cloud computing through Azure, a significant investor in OpenAI (which provides the backbone of Microsoft’s AI tools), and a leader in enterprise software and gaming.
Put another way, Microsoft is involved in the entire AI stack through infrastructure, models, and applications. As such, it’s the perfect stock to pair in your portfolio with ASML and Nvidia.
Microsoft pays a growing dividend, consistently returns capital to investors through aggressive stock buybacks, and is a reliable value trading at 30 times forward earnings.
Three top growth stocks to buy now
For investors, it would be a mistake to overly concentrate on one aspect of the AI value chain — like only buying chipmakers or sticking solely with AI software companies.
By taking positions in industry leaders across the value chain, investors give themselves multiple potential ways to profit from this generational opportunity while also positioning their portfolios to withstand the inevitable bumps that will occur along the way.
Daniel Foelber has positions in ASML, Nvidia, and Oracle and has the following options: short January 2026 $1,200 calls on ASML and short March 2026 $240 calls on Oracle. The Motley Fool has positions in and recommends ASML, Advanced Micro Devices, Alphabet, Amazon, Microsoft, Nvidia, and Oracle. 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.