Meet the Little-Known Artificial Intelligence (AI) Stock Leading the S&P 500 in 2025 (Hint: Not Nvidia)

By Jon Quast | November 17, 2025, 4:50 AM

Key Points

I have a small obsession with tracking the best-performing stocks in the S&P 500. I want to know why they were winners, so that I can better identify future winners.

Among stocks that were in the S&P 500 index for the entire year, Nvidia was the best performer in 2023 and in 2024. But here in 2025, a new artificial intelligence (AI) company is sprinting toward first place: Western Digital (NASDAQ: WDC).

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 »

Some might object to calling Western Digital an AI stock. After all, the company has been around since 1970, and it went public in 1978, which well precedes the AI era. But keep in mind that from 2014 through 2024, this stock went absolutely nowhere. And now it's suddenly up about 250% year to date, catalyzed by the AI trend.

A pleasantly surprised investor discovers good news on their phone.

Image source: Getty Images.

Considering it's leading the way in the S&P 500 in 2025, now is a good time to get to know Western Digital and decide whether or not it could still be a stock to buy.

How Western Digital makes money

Western Digital focuses on hard disk drive (HDD) memory products -- it spun out its flash memory business earlier this year. Much of its business today is in the cloud. As tech giants build data centers, they need memory products, and HDD is well-suited for storing data at high volumes.

The 20-year chart below illustrates how Western Digital's business has historically worked. It's common for demand for memory products to rise and fall. When demand is high, revenue surges and profit margins expand. But when demand drops, Western Digital can swing to steep losses.

WDC Revenue (TTM) Chart

Data by YCharts.

Again, this isn't a Western Digital problem per se. I could substitute many players in the memory space into the chart above, and the trend lines would be similar. It's just normal cyclicality with a semiconductor stock.

The profit margins can be quite good for Western Digital when things are going well. In fact, it has a trailing-12-month operating margin of 23% right now. That's a great business. The key is understanding that it's not always this good. And management needs to manage the business through the entire cycle to avoid big losses when demand cools.

Is Western Digital stock a buy now?

Even though Western Digital stock has skyrocketed in 2025, the valuation is still cheaper than your average S&P 500 stock. As of this writing, it trades at just 23 times earnings and 21 times forward earnings. That doesn't look unreasonable on the surface, but there's more to consider.

Investors need to remember that Western Digital's profits are elevated right now. The question is whether the AI trend can lift memory demand higher and, if so, how long will demand keep surging? In other words, how long will this cycle last, and how big will it be?

As excited as investors are for AI infrastructure ideas, I think many are still underestimating the upside with memory. Perhaps they're underestimating memory because they have memories of past down cycles in the space. But I believe agentic AI can make things different this time, pushing the cycle higher for longer.

Large language models (LLMs) have their own memory needs. But agentic AI is where the market is headed now. The idea is having an AI agent that can do things on your behalf. The tech giants want these AI agents to be personalized, learning your needs, preferences, and more. This dramatically increases the need for memory products; an AI agent needs a long-term memory if it's going to be personalized to you.

Western Digital's fiscal 2026 (which started in October) is off to a good start, and management is expecting a roughly 20% growth rate and a gross margin of around 44%, which would be a record. In short, things are shaping up quite nicely for the next year.

And beyond this year as well. Western Digital's management says that some of its customers have already made their orders for calendar 2027. In other words, it appears that the data center build-out trend marches on, and red-hot demand for memory products isn't about to cool off.

Western Digital is using its surging profits to reward shareholders. It's paying down debt, repurchasing shares, and even initiated a dividend after a multiyear hiatus.

WDC Shares Outstanding Chart

Data by YCharts.

Personally, I believe that Western Digital stock has more upside from here because I believe that the agentic AI trend is underappreciated. That said, it's still important to remember that demand will eventually cool, and Western Digital's business will likely return to more historical trends. It's a matter of "when." But I believe the "when" is still multiple years into the future.

Should you invest $1,000 in Western Digital right now?

Before you buy stock in Western Digital, 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 Western Digital 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 $599,784!* 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,165,716!*

Now, it’s worth noting Stock Advisor’s total average return is 1,035% — a market-crushing outperformance compared to 191% for the S&P 500. Don’t miss out on the latest top 10 list, available when you join Stock Advisor.

See the 10 stocks »

*Stock Advisor returns as of November 10, 2025

Jon Quast has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Nvidia. The Motley Fool has a disclosure policy.

Mentioned In This Article

Latest News