MoatScopeMoatScope
← BlogOpen App
StrategyMarch 22, 2026·8 min read·By Sarah Lee

How to Invest During Inflation: Key Strategies

Learn how inflation erodes purchasing power, which assets perform well during inflation, and how quality stocks with pricing power protect your wealth.


Inflation is the silent tax on every portfolio — and we've analyzed how every stock in our universe performs through inflationary periods. When prices rise faster than your investments grow, your purchasing power erodes even if your account balance is increasing. A portfolio returning 7% annually sounds healthy — until you realize that 5% inflation means your real return is only 2%.

Understanding how different assets behave during inflationary periods is critical for building a portfolio that preserves and grows wealth in any economic environment. Not all investments handle inflation equally, and the difference between inflation-resistant and inflation-vulnerable assets can compound dramatically over time.

How Inflation Affects Investments

Inflation affects investments through two primary channels. The direct channel is straightforward: rising prices erode the real value of fixed-income payments. A bond paying $1,000 per year is worth less when that $1,000 buys fewer goods and services. This is why bonds — especially long-duration bonds — tend to perform poorly during unexpected inflation.

The indirect channel works through interest rates. Central banks raise interest rates to fight inflation, which increases the discount rate applied to future cash flows. Higher discount rates mean lower present values for all financial assets, but especially for long-duration assets like growth stocks whose value depends heavily on earnings expected far in the future.

Cash is the worst place to be during persistent inflation. While cash feels safe, inflation erodes its value every day. A savings account paying 2% while inflation runs at 5% is losing 3% of purchasing power annually. Over a decade, that compounds to a real loss of more than 25%.

Stocks That Thrive During Inflation

The most important quality for a stock during inflation is pricing power — the ability to raise prices without losing customers. Companies with strong competitive moats, essential products, and loyal customers can pass cost increases through to their buyers. Their revenues and earnings rise alongside inflation, preserving the real value of the business.

Consumer staples companies like Procter & Gamble and Coca-Cola have demonstrated this ability across multiple inflationary periods. When input costs rise, they raise prices on products that consumers consider necessities. Brand loyalty and habitual purchasing behavior mean that demand is relatively inelastic — people still buy toothpaste and soft drinks even at higher prices.

Energy companies benefit directly from inflation because their primary product — oil and gas — is itself a major component of the inflation index. When general price levels rise, energy prices typically rise even faster. Companies with low production costs and long-lived reserves can see their profits expand dramatically during inflationary periods.

Businesses with asset-light models and high margins are particularly resilient. Software companies, for instance, have minimal physical input costs. Their primary expenses are employee compensation and cloud infrastructure — costs that rise with inflation but represent a smaller share of revenue than raw materials do for manufacturers. A software company with 75% gross margins can absorb considerable cost inflation before it affects profitability.

MoatScope helps you find stocks that fit this strategy — filtered by moat rating, quality score, and fair value discount.
Try MoatScope →

Stocks That Struggle During Inflation

Companies without pricing power — those in commoditized industries with intense competition — suffer most during inflation. If your competitors are willing to absorb cost increases to maintain market share, you can't raise prices. Your input costs rise, but your revenues stay flat, compressing margins and eroding profitability.

Capital-intensive businesses face a double challenge. Inflation raises the cost of replacing and maintaining physical assets — factories, equipment, vehicles, real estate. Companies that must continually invest heavily in physical infrastructure find that their depreciation charges understate the true cost of maintaining the business, making reported earnings misleadingly high.

High-growth companies with distant profitability are particularly vulnerable. When inflation forces interest rates higher, the discount rate applied to future earnings increases. A company expected to generate most of its value a decade from now sees that value shrink as the discount rate rises, even if the underlying business is performing well.

Real Assets and Inflation

Real assets — physical things with intrinsic value — have historically been effective inflation hedges because their value tends to rise with general price levels. Real estate is the most accessible real asset for individual investors. Property values and rental income generally rise with inflation, providing both capital appreciation and growing income streams.

Commodities — gold, silver, oil, agricultural products — tend to rise during inflationary periods because they are components of the price indices that measure inflation. Gold in particular has a centuries-long track record as a store of value during periods of currency debasement, though it generates no income and can be volatile over shorter periods.

Treasury Inflation-Protected Securities (TIPS) are government bonds whose principal adjusts with the Consumer Price Index. They provide a guaranteed real return above inflation, making them one of the few truly direct inflation hedges available. The trade-off is that their real yields are typically low, and they can underperform during periods of low inflation.

The Pricing Power Framework

For stock investors, the single best inflation-protection strategy is owning companies with durable pricing power. Warren Buffett has emphasized this point repeatedly: the best businesses to own during inflation are those that require little capital investment and can raise prices easily.

Pricing power comes from the same sources as economic moats. Switching costs make it painful for customers to leave. Brand strength creates willingness to pay premium prices. Network effects make the product more valuable as more people use it. Regulatory barriers limit competitive alternatives. These structural advantages give companies the ability to raise prices because customers have limited alternatives.

You can test for pricing power by examining a company's gross margin trend during prior inflationary periods. If gross margins held steady or expanded while input costs were rising, the company successfully passed those costs through. If margins compressed, the company absorbed the cost increases — a sign of weak pricing power.

The highest-quality inflation hedges are companies that combine pricing power with low capital intensity. A software platform that can raise subscription prices 5% annually while its costs grow at 3% generates widening margins during inflation. A manufacturing company that can raise prices 5% but must spend 8% more on raw materials and equipment sees its margins shrink.

Building an Inflation-Resistant Portfolio

Rather than trying to predict when inflation will arrive, build a portfolio that's resilient in any environment. Focus on companies with wide moats and demonstrated pricing power. Include a mix of sectors — consumer staples, healthcare, technology, and energy — that respond differently to inflationary pressures.

Avoid over-concentration in long-duration bonds or cash, both of which lose real value during inflation. If you hold bonds, consider shorter-duration issues or TIPS that adjust with inflation.

Think in terms of real returns, not nominal returns. A portfolio returning 10% during 8% inflation is barely treading water. The goal is to build a collection of businesses whose earnings grow faster than inflation over time — and the best way to find those businesses is to focus on quality, moats, and pricing power.

💡 MoatScope's quality scoring system identifies companies with the durable competitive advantages and pricing power that protect earnings during inflation — the kind of businesses that turn rising prices into rising profits.
Tags:inflationinvesting strategypricing powerportfolio protection

SL
Sarah Lee
Competitive Advantage & Moat Analysis
Sarah covers economic moats, competitive dynamics, and what separates durable businesses from the rest of the market. More articles by Sarah

Related Posts

How to Protect Your Portfolio from a Downturn
Strategy · 8 min read
Lump Sum vs. Dollar Cost Averaging: Which Is Better?
Strategy · 7 min read
What Is Financial Independence? A Practical Guide
Strategy · 8 min read

Find stocks that fit this approach

Filter by moat rating, quality score, sector, and valuation. MoatScope makes quality investing systematic across 2,600+ stocks.

Try MoatScope — Free