Both Walmart and Costco Wholesale have evolved beyond traditional retail into hybrid models.
Walmart is layering advertising, membership, and marketplace economics on top of scale.
Costco anchors its model in high-retention membership fees that behave like subscription revenue.
For most investors, the hardest part of building a Motley Fool-esque long-term portfolio isn't finding great companies. It's having the patience to hold them through decades of market noise, recessions, valuation swings, and changing consumer behavior. The businesses that survive those cycles tend to share a few traits: scale, pricing power, recurring cash flow, and the ability to adapt without losing what made them dominant in the first place.
That's why these two tickers continue to stand out. They operate different retail models, attract different types of shoppers, and make money in different ways, but both have quietly evolved into far more durable businesses than many investors realize.
Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »
Image source: Getty Images.
Walmart (NASDAQ: WMT) is the easier of the two to underwrite over the next 20 years. The company is a Dividend King (a company with at least 50 consecutive years of dividend increases), with 53 years of consecutive dividend increases. The company extended its dividend-growth streak to 53 consecutive years in 2026, with the quarterly payout raised to $0.248 per share. The dividend itself is modest in absolute terms, but the growth rate and durability matter on a multi-decade horizon.
What has changed at Walmart over the last five years is a shift toward higher-margin businesses. Advertising revenue is now around $6.4 billion annually, Walmart Plus membership is scaling, and the marketplace business has expanded the take-rate model that historically belonged to Amazon. In the fiscal fourth quarter, adjusted operating income grew 10.8% on 5.6% revenue growth -- the kind of operating leverage that compounds when sustained over years.
For fiscal 2027, Walmart is guiding to adjusted earnings per share in the range of $2.75 to $2.85, which would cover the new dividend several times over.
Walmart's market position is large enough that antitrust scrutiny is a recurring possibility, and competition from Amazon, Costco, and the discounters is constant. Neither is likely to break the dividend, but both could compress the multiple at various points.
Costco Wholesale (NASDAQ: COST) is on a banger of a stock run. It has a different shape than Walmart but more of the same idea. The dividend yield is modest, and the company occasionally pays a large special dividend in addition to the regular payout.
The underlying business is what supports the 20-year thesis. Membership fee revenue in the first 24 weeks of fiscal 2026 reached $2.68 billion, which exceeded the operating income generated from merchandise sales over the same period by $134.2 billion in merchandise revenue. That single fact is the most important thing to understand about Costco.
The membership model converts the business into something closer to a high-renewal-rate subscription company than a traditional retailer. Renewal rates have remained above 90% in the U.S. and Canada for years, which is an extraordinary level of customer retention. Each membership fee dollar is high-margin and recurring, and the merchandise business mostly exists to make the membership worth renewing.
That being said, Costco trades at one of the highest multiples in retail, partly because of the membership profile and partly because of the unit growth runway. If membership fee growth or renewal rates ever soften, the multiple is exposed and you may see a price dip. There is also some risk from international expansion execution, particularly in Asia and Europe, where store counts are still relatively small.
Walmart and Costco solve different customer problems. Walmart is the broad-based everyday retailer with a growing higher-margin layer (advertising, membership, marketplace) on top. Costco is a curated wholesale-style membership model with high renewal economics. Both have category leadership, both generate substantial free cash flow, both have raised dividends for years, and both have demonstrated the ability to adapt to e-commerce in ways that smaller retailers have not.
For a 20-year investor, the appeal of pairing them is diversification within consumer retail without overlapping the underlying business model. A weakness in any one channel or geography is unlikely to break both.
The honest answer is that nobody knows what consumer retail will look like in 2046. What can be said with reasonable confidence is that both Walmart and Costco are likely to be among the more durable companies in U.S. retail, that both have dividend policies aligned with long-term shareholder value, and that both have demonstrated the rare ability to keep growing share at their current scale.
I wouldn't go all in with my investments right now, especially on Costco. These are the kinds of stocks that could keep climbing for the next 20 years, but Costco still looks pretty expensive to me. I'd rather stay patient, wait for a pullback, and buy on the dips.
Before you buy stock in Costco Wholesale, 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 Costco Wholesale 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 $477,813!* 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,320,088!*
Now, it’s worth noting Stock Advisor’s total average return is 986% — a market-crushing outperformance compared to 208% 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 May 24, 2026.
Micah Zimmerman has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Amazon, Costco Wholesale, and Walmart. The Motley Fool has a disclosure policy.