Amazon vs. Walmart: Which Stock Will Outperform in 2026?

By Geoffrey Seiler | December 12, 2025, 7:05 AM

Key Points

  • Amazon is seeing great operating leverage in its e-commerce business.

  • Walmart is the more defensively positioned retailer given its role as the largest grocer in the U.S.

  • Amazon has the cheaper stock.

In the retail world, the two dominant heavyweights remain Amazon (NASDAQ: AMZN) and Walmart (NYSE: WMT). In 2025, it was Walmart whose stock outperformed, with it's shares up more than 25%, as of this writing, while Amazon shares were up modestly on the year.

However, let's look at which stock looks poised to outperform in 2026.

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 »

A red shopping bag that says Sale on it.

Image source: Getty Images.

The case for Amazon

Amazon is the king of e-commerce, and the company is only expanding its lead through the use of artificial intelligence (AI) and robotics. The company now has more than 1 million robots operating in its fulfillment centers, all of which are coordinated through its Deepfleet AI model to make them more efficient. Meanwhile, it's using AI to also optimize driver routes, help delivery people find difficult-to-locate drop-off points, and determine the best warehouse to store items, all to speed up delivery times and reduce costs.

The company is also using AI to help drive growth. With AI, it's now easier for merchants to list on its site and create better listings. It's also using AI to help boost its high-gross-margin sponsored business by enabling better targeting and improving ad campaigns.

Combined with its warehouse and logistics efficiencies, this is driving strong operating leverage in Amazon's retail segment. Last quarter, its North American revenue rose 11%, while the company's adjusted operating income surged 28%.

E-commerce is just half the story with Amazon, though, as it also operates the largest cloud computing company in the world in AWS (Amazon Web Services). The business is growing quickly, given the demand for AI services, and revenue should start to accelerate as the company spends aggressively building out its data center infrastructure.

From a valuation standpoint, Amazon is currently the cheaper of the two stocks, trading at a forward price-to-earnings (P/E) ratio of around 29 times next year's analyst estimates compared to more than 38.5 times for Walmart.

The case for Walmart

After Amazon came on the scene and started to dominate the world of e-commerce, Walmart made a somewhat subtle shift to its model that helped the retailer reestablish itself. That move was leaning into groceries, which are less impacted by e-commerce sales. Today, Walmart has become the largest grocer in the U.S.

That move is also one of the big reasons why the retail giant has become such a consumer staples stalwart, despite facing tariff headwinds. Everyone needs to eat, and Walmart is the place to shop for basic necessities as it is the low-cost leader. The company is always willing to push prices to win share, and, as a result, it tends to deliver solid results in both good and bad economic times.

More recently, the company has taken a page from Amazon's book, with its Walmart+ membership. Members get perks such as a free streaming service (Peacock or Paramount+) and savings at gas stations; however, the biggest one is free same-day delivery. This, together with some higher-quality food offerings and its everyday low prices, has been helping the retailer woo more affluent shoppers to its stores.

It's also helping Walmart attack Amazon on its own turf with e-commerce. Walmart's e-commerce revenue has risen by 20% or more in seven straight quarters in the U.S. and accounted for nearly all its 4.5% increase in U.S. same-store sales last quarter. Within its e-commerce segment, it also saw a 33% increase in its Walmart Connect advertising revenue.

The verdict

While Walmart is the more defensive stock, given that much more of its sales come from groceries and other necessities, Amazon is the faster-growing and cheaper stock. Amazon also has added growth coming from AWS, which is actually its largest segment by profitability.

Given that, I like Amazon as a strong rebound candidate in 2026 and think it will be the stock to own next year.

Should you invest $1,000 in Amazon right now?

Before you buy stock in Amazon, 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 Amazon 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 $499,978!* 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,126,609!*

Now, it’s worth noting Stock Advisor’s total average return is 971% — a market-crushing outperformance compared to 195% 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 December 8, 2025

Geoffrey Seiler has positions in Amazon. The Motley Fool has positions in and recommends Amazon and Walmart. The Motley Fool has a disclosure policy.

Latest News