Berkshire Hathaway is holding $344 billion in cash. Warren Buffett has been a net seller of stocks for eight consecutive quarters. Whether or not you think a recession is coming, the Oracle of Omaha is clearly preparing for one.

The question for the rest of us: if a downturn hits, which stocks actually hold up?

Not every "defensive" stock is truly recession-proof. Some consumer staples companies have stretched balance sheets. Some utilities trade at premiums that evaporate when rates spike. And plenty of dividend aristocrats have moats that are thinner than their marketing suggests.

What you actually want are companies with durable competitive advantages that protect margins during economic contractions. Companies whose customers cannot easily switch away, whose products people buy regardless of the economy, and whose balance sheets can absorb a hit without cutting dividends or issuing shares.

Here are seven stocks from Moatifi's screener that combine wide moats with recession resilience.

What Makes a Stock Truly Recession-Proof?

Three qualities matter more than the "defensive" label:

1. Inelastic demand. People keep buying the product even when times are tough. Toothpaste, insurance, payment processing. If demand drops 30% when GDP dips 2%, that is not recession-proof.

2. Pricing power. The company can raise prices without losing customers. This is the moat in action. During the 2022 inflation shock, companies with genuine pricing power (Costco, Visa, Microsoft) passed costs through. Companies without it (Peloton, DoorDash) ate the margin compression.

3. Low debt and high free cash flow. Recessions kill leveraged companies. Cash-rich businesses with minimal debt obligations can weather downturns and even acquire distressed competitors at bargain prices.

Moatifi evaluates all three dimensions through its moat analysis framework. The stocks below all score 7/10 or higher.

1. Visa (V): The Toll Booth on Global Commerce

Moat Score: 9/10 | Full Analysis on Moatifi

Visa does not lend money. It does not take credit risk. It simply processes transactions and takes a small cut of every swipe. That business model is almost perfectly recession-proof.

During the 2008-2009 financial crisis, Visa's revenue grew. Not "held steady." Grew. Consumer spending dropped, but people shifted from cash to cards, and Visa's volume actually increased. The same pattern held during COVID: e-commerce surged, card adoption accelerated globally, and Visa emerged stronger.

Why the moat holds in a recession: - Network effect: 4.3 billion cards, 100 million merchants. No alternative network comes close - Operating margins above 65%. Even a significant revenue decline barely dents profitability - Capital-light: minimal capex, no inventory, no factories to maintain during a slowdown - 16 consecutive years of dividend increases

The risk? Government regulation of interchange fees. It is the one force that could compress Visa's economics, and it is worth monitoring. But even regulated, Visa's scale advantage remains.

2. Costco (COST): The Membership Moat

Moat Score: 8/10 | Full Analysis on Moatifi

Costco's cost advantage moat makes it one of the few retailers that actually benefits from recessions. When consumers tighten budgets, they trade down from Whole Foods and Target to Costco's bulk pricing. Membership renewals stayed above 90% through both the 2008 recession and COVID.

Key metrics: - Membership renewal rate: 93% (North America) - Revenue growth during 2008-2009: positive every quarter - Net margin is thin (~2.5%), but that is by design. Low margins keep competitors from competing on price - Operating cash flow consistently exceeds $8 billion annually

Costco's switching costs come from the membership model itself. Once you have paid $65-130 for a Costco card, you shop there to justify the fee. The bulk format creates habitual buying patterns that are sticky even when the economy recovers.

3. Johnson & Johnson (JNJ): Healthcare's Quiet Fortress

Moat Score: 8/10 | Full Analysis on Moatifi

JNJ has increased its dividend for 62 consecutive years, spanning every recession since 1963. The company operates across three segments (pharmaceuticals, medtech, consumer health post-Kenvue spin-off) that all have recession-resistant demand profiles.

People do not skip heart surgery because GDP is declining. Hospitals do not stop buying surgical robots. And JNJ's pharmaceutical pipeline (Darzalex, Tremfya, Stelara successors) generates revenue from insurance-covered treatments where patient price sensitivity is low.

Recession track record: - 2001 dot-com bust: revenue grew 10% - 2008-2009 financial crisis: revenue flat (not growing, but not declining) - 2020 COVID: revenue grew 0.6%

The moat comes from patent protection, brand trust built over 140 years, and regulatory barriers that prevent generic competition for years after drug approval. JNJ's AAA credit rating (one of only two US companies with that distinction) means it can borrow at near-government rates during any downturn.

4. Waste Management (WM): Garbage is Recession-Proof

Moat Score: 7/10 | Full Analysis on Moatifi

Trash collection is one of the most recession-proof businesses that exists. People generate waste in good times and bad. Municipalities sign multi-year contracts with waste haulers. And the barriers to entry are enormous: you need trucks, transfer stations, landfills (which take 7-10 years to permit), and regulatory approvals.

Waste Management controls the largest landfill network in North America. Landfill capacity is finite and shrinking as states restrict new permits. That gives WM pricing power that compounds over time.

During the 2008-2009 recession: - Revenue dipped 6% (commercial volumes dropped, residential held steady) - Free cash flow remained positive every quarter - Dividend was maintained and grew - The stock recovered faster than the S&P 500

WM's best stocks to buy and hold forever credentials come from the irreplaceability of its asset base. You can build a new software company in a garage. You cannot build a new landfill network. Ever.

5. Microsoft (MSFT): Enterprise Software Lock-In

Moat Score: 9/10 | Full Analysis on Moatifi

Microsoft's moat during recessions comes from switching costs that make its products nearly impossible to replace, even under budget pressure.

Consider what it would take for a Fortune 500 company to leave the Microsoft ecosystem: migrate email (Outlook/Exchange), replace Office suite workflows (Excel macros, PowerPoint templates, SharePoint integrations), retrain every employee, rebuild IT infrastructure, and hope nothing breaks during the transition. No CIO does that to save 10% on software licensing during a recession.

Azure cloud adds another layer: once workloads are in Azure, moving them is expensive and risky. Azure revenue grew 27% during the 2022 tech slowdown when everything else in tech was getting slashed.

Financial fortress: - Over $75 billion in cash and equivalents - Free cash flow exceeds $60 billion annually - Net margins above 35% - 21 consecutive years of dividend growth

Microsoft could lose 20% of revenue tomorrow and still be one of the most profitable companies on earth. That is what a 9/10 moat score means in practice.

6. Procter & Gamble (PG): 70 Brands People Buy on Autopilot

Moat Score: 8/10 | Full Analysis on Moatifi

Tide, Pampers, Gillette, Crest, Bounty. These are products people buy without thinking, regardless of the economic cycle. P&G's brand moat is built on decades of shelf-space dominance, distribution relationships, and marketing spend that dwarfs competitors.

Recession performance: - Has paid a dividend for 133 consecutive years - 68 consecutive years of dividend increases (Dividend King) - Revenue grew through both 2008-2009 and 2020 recessions - Organic sales growth of 5-7% annually even during inflationary periods

P&G's recent strategy of focusing on "daily use" categories and premium products has actually made it more recession-resistant, not less. Consumers may trade down from organic artisan soap, but they trade down to Tide and Bounty, not away from branded products entirely.

The risk is private label competition. In severe recessions, store brands gain share. But P&G's history shows it recovers that share during recoveries, and the innovation pipeline (Tide Pods, Pampers premium lines) keeps the brand premium justified.

7. UnitedHealth Group (UNH): Healthcare's Scale Monster

Moat Score: 8/10 | Full Analysis on Moatifi

Health insurance is another business where demand is essentially non-discretionary. People do not cancel their health coverage because the economy is slowing. Employers maintain health benefits even during layoffs (the remaining employees still need coverage). And government programs (Medicare Advantage, Medicaid managed care) actually expand during recessions as more people qualify.

UnitedHealth's moat analysis reveals a combination of scale advantage, data moat, and vertical integration that competitors cannot easily replicate. Optum, UNH's healthcare services arm, generates over $200 billion in annual revenue and processes more healthcare data than any other entity in the US.

Recession-proof characteristics: - Revenue grew through every recession since UNH's founding - Operating margins of 8-9% on enormous revenue (over $370 billion) - Optum diversification means UNH profits from healthcare delivery, not just insurance - 15 consecutive years of dividend increases with a low payout ratio (30%)

Building a Recession-Proof Portfolio

Owning all seven of these stocks gives you exposure across sectors (tech, healthcare, consumer staples, financials, industrials) while maintaining the recession-proof characteristics:

Stock Moat Score Sector Div. Streak
Visa (V) 9/10 Financials 16 years
Costco (COST) 8/10 Consumer Staples 20 years
J&J (JNJ) 8/10 Healthcare 62 years
Waste Mgmt (WM) 7/10 Industrials 21 years
Microsoft (MSFT) 9/10 Technology 21 years
P&G (PG) 8/10 Consumer Staples 68 years
UnitedHealth (UNH) 8/10 Healthcare 15 years

The common thread: pricing power, low debt relative to cash flow, and competitive advantages that strengthen during downturns because weaker competitors fall away.

With Berkshire's record cash position signaling caution about current valuations, building a portfolio around these names provides both downside protection and participation in long-term compounding. These are not stocks that will double overnight. They are stocks you can own for decades without worrying about whether a recession will destroy your capital.

Use Moatifi's screener to find more wide-moat stocks across every sector and build your own recession-proof watchlist. Each stock page includes AI-powered moat analysis, valuation context, and competitive advantage scoring to help you identify the most durable businesses in the market.


This article is for educational purposes only and does not constitute investment advice. Always do your own research before making investment decisions.