Artificial intelligence stocks have soared over the past three years.
The technology has the potential to reshape the way companies operate, and as a result, supercharge growth.
Artificial intelligence (AI) stocks have driven the S&P 500 higher over the past three years and helped the bull market roar to multiple new record highs. You may recognize the names of some of the winners leading the way, from AI chip leader Nvidia (NASDAQ: NVDA) to AI software company Palantir Technologies. (They each saw their shares climb 1,000% and 2,400%, respectively, over three years.)
Why such excitement about AI? The technology has what it takes to help companies and individuals gain efficiency, and it paves the way to faster and stronger innovation. The possibilities are endless -- from powering autonomous vehicles and robots to improving the drug discovery process. And those are just a few examples.
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 »
For companies developing or using AI, all of this may translate into cost savings as well as explosive earnings growth. Investors were quick to hop on this train in recent years -- but is AI still the best growth theme for long-term investors? Let's find out.
Image source: Getty Images.
First, let's consider what's happened so far. Certain companies already have seen both earnings and stock performance take off thanks to their positions in the AI market. I mentioned Nvidia and Palantir earlier for their share price gains, and these have been accompanied by soaring earnings, too. Early AI winners, like Nvidia, have powered the development of AI tools, or, like Palantir, have helped customers apply AI to their real-world problems.
But this doesn't mean the AI opportunity is over. Companies continue to train AI models, and cloud service providers are investing to increase capacity. In fact, Nvidia chief Jensen Huang says he expects AI infrastructure spending to reach as much as $4 trillion just a few years from now. This preparation of infrastructure suggests we're still in the early stages of the AI story.
Next, we should see broader use of AI by various companies throughout industries. (For example, many pharma and biotech companies have started to use AI to guide the discovery of new drugs, but this movement is still in its early days.) During this stage, we should see an ongoing need for compute to power the thinking process models go through to solve complex problems. This area, called AI inference, requires chips, networking equipment, and other tools that should continue to drive growth for companies like Nvidia, Advanced Micro Devices, and Taiwan Semiconductor Manufacturing, to name a few.
And companies that use AI also should benefit from the technology, as I mentioned above. Market growth forecasts support this, with expectations for today's billion-dollar AI market to increase, reaching into the trillions by the end of the decade.
All of this means that AI is on track to power revenue growth across industries in the years to come -- and this makes AI the best growth theme for long-term investors even after the spectacular performance of AI stocks in recent years.
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 $487,089!* 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,139,053!*
Now, it’s worth noting Stock Advisor’s total average return is 970% — a market-crushing outperformance compared to 197% 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 January 15, 2026.
Adria Cimino has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Advanced Micro Devices, Nvidia, Palantir Technologies, and Taiwan Semiconductor Manufacturing. The Motley Fool has a disclosure policy.