Free Trial

7 Defensive Stocks to Shield Your Portfolio from Inflation

Inflation is an unavoidable consequence of a market-based economy. In the best case, inflation is fueled by rising consumer demand, which itself is triggered by rising wages. That's why the Federal Reserve sets a target rate of 2% inflation. The theory is that a little inflation can be helpful to an economy. 

But for most Americans, inflation has become a little like that annoying dinner guest who has overstayed their welcome. They don't want it to go away angry; they just want it to go away.  

Many analysts will tell you that inflation has been lower since reaching 40-year highs in 2022. But this is a case where precise language matters.  

You see, the Federal Reserve's 2% target rate is measuring the rate of inflation. That means the Fed wants inflation. Just not too much.  

So when you hear that the inflation rate is around 3%, prices are going up at a faster rate than the Federal Reserve would prefer. That's tough for consumers and for corporate profits.  

But as investors, you know that some stocks do very well in times of inflation. That's why we've compiled this list of seven stocks from companies that make products consumers can't do without.  

Quick Links

  1. Walmart
  2. Occidental Petroleum
  3. Eli Lilly
  4. Merck & Co.
  5. Mondelez International
  6. McCormick & Co.
  7. Kimberly-Clark

#1 - Walmart (NYSE:WMT)

As of early 2025, Walmart Inc. (NYSE: WMT) stock has delivered a total return of 158.61% over the five years. That’s 93% higher than the S&P 500  delivered over that same period.  

The company continues to meet the needs of its core customers by offering everyday low prices on essential items. At the same time, Walmart is appealing to higher-income shoppers seeking to stretch their discretionary spending.

But this isn’t just a demand story. Walmart is actively leveraging the digital economy through its Walmart+ app, positioning itself as a key player in e-commerce. To support this shift, the company is adopting automation and artificial intelligence (AI) to enhance efficiency and streamline its operations.

Another way that WMT stock can help you profit from inflation is through its growing dividend. Walmart is a Dividend King that has increased its dividend for 52 consecutive years.  



About Walmart

Walmart Inc engages in the operation of retail, wholesale, other units, and eCommerce worldwide. The company operates through three segments: Walmart U.S., Walmart International, and Sam's Club. It operates supercenters, supermarkets, hypermarkets, warehouse clubs, cash and carry stores, and discount stores under Walmart and Walmart Neighborhood Market brands; membership-only warehouse clubs; ecommerce websites, such as walmart.com.mx, walmart.ca, flipkart.com, PhonePe and other sites; and mobile commerce applications. More
Current Price
$100.92
Consensus Rating
Moderate Buy
Ratings Breakdown
29 Buy Ratings, 2 Hold Ratings, 0 Sell Ratings.
Consensus Price Target
$95.37 (5.5% Downside)


#2 - Occidental Petroleum (NYSE:OXY)

If inflation trends higher, rising oil prices are likely to be a key driver. Although oil prices have remained range-bound since 2022, many analysts predict that crude oil prices could reach or exceed $100 per barrel between 2025 and 2030, citing a resurgent global economy and geopolitical concerns as factors that will boost global demand. 

That means oil stocks should be on your radar, and Occidental Petroleum Co. (NYSE: OXY) is one of the top names to consider. Beyond the potential for higher oil prices, the company's strong cash flow—which has accelerated even with oil prices trading in a distinct range—is a compelling reason to invest. Occidental has also shown its commitment to shareholders by using this cash flow for share repurchases, providing direct value to investors. 

That undoubtedly caught the attention of Warren Buffett, who made Occidental Petroleum one of his preferred stocks over the last five years. And OXY stock has become more attractive as a defensive play since it began increasing its dividend after cutting it sharply in 2020.  



About Occidental Petroleum

Occidental Petroleum Corporation, together with its subsidiaries, engages in the acquisition, exploration, and development of oil and gas properties in the United States, the Middle East, and North Africa. It operates through three segments: Oil and Gas, Chemical, and Midstream and Marketing. The company's Oil and Gas segment explores for, develops, and produces oil and condensate, natural gas liquids (NGLs), and natural gas. More
Current Price
$47.60
Consensus Rating
Hold
Ratings Breakdown
7 Buy Ratings, 12 Hold Ratings, 2 Sell Ratings.
Consensus Price Target
$61.71 (29.7% Upside)


#3 - Eli Lilly (NYSE:LLY)

Pharmaceutical stocks are solid defensive stocks at any time. However, the case for Eli Lilly and Company (NYSE: LLY) has an additional tailwind: its blockbuster GLP-1 products Mounjaro and Zepbound.  

Mounjaro is a groundbreaking treatment for Type-2 diabetes, and Zepbound is Eli Lilly’s entry into the booming obesity treatment market. Individuals may cut back on many things if inflation heats up, but they will always make room for their prescriptions. That’s particularly true of both Mounjaro and Zepbound, which patients need to continue taking to maintain the benefits.  

Through the third quarter of the company’s 2024 fiscal year, Eli Lilly has generated a non-GAAP gross margin of 83%, which is higher than the sector average. And the company has a deep pipeline of products, including in the critical area of oncology, that will continue to help grow revenue and earnings well into the future. LLY stock also pays a dividend, which it has increased for 11 consecutive years.



About Eli Lilly and Company

Eli Lilly and Company discovers, develops, and markets human pharmaceuticals worldwide. The company offers Basaglar, Humalog, Humalog Mix 75/25, Humalog U-100, Humalog U-200, Humalog Mix 50/50, insulin lispro, insulin lispro protamine, insulin lispro mix 75/25, Humulin, Humulin 70/30, Humulin N, Humulin R, and Humulin U-500 for diabetes; Jardiance, Mounjaro, and Trulicity for type 2 diabetes; and Zepbound for obesity. More
Current Price
$827.41
Consensus Rating
Moderate Buy
Ratings Breakdown
17 Buy Ratings, 4 Hold Ratings, 0 Sell Ratings.
Consensus Price Target
$997.50 (20.6% Upside)


#4 - Merck & Co. (NYSE:MRK)

Merck & Co. Inc. (NYSE: MRK) is another inflation-fighting stock in the pharmaceutical sector. The bullish narrative with Merck centers around its oncology portfolio and its flagship drug, Keytruda, which continues to be approved for earlier-stage cancers and is experiencing robust global demand from metastatic indications.  

However, Keytruda is only one drug in the company’s extensive oncology portfolio, which is supposed to grow from $10 billion in 2023 to over $20 billion by 2030.  

Beyond oncology, Merck has a solid track record of developing innovative medicines covering vaccines, infectious diseases, immunology, and other unmet medical needs. The company has a proven track record of bringing drugs to market while being able to produce solid returns for shareholders. One element of those returns is a dividend that yields over 3.3%, has an average annual growth rate of around 5%, and has been increasing for 14 consecutive years.  



About Merck & Co., Inc.

Merck & Co, Inc is a health care company, which engages in the provision of health solutions through its prescription medicines, vaccines, biologic therapies, animal health, and consumer care products. It operates through the following segments: Pharmaceutical, Animal Health, and Other. The Pharmaceutical segment includes human health pharmaceutical and vaccine products. More
Current Price
$90.99
Consensus Rating
Moderate Buy
Ratings Breakdown
12 Buy Ratings, 8 Hold Ratings, 1 Sell Ratings.
Consensus Price Target
$122.20 (34.3% Upside)


#5 - Mondelez International (NASDAQ:MDLZ)

Next up on this list of inflation-resistant stocks is Mondelez International Inc. (NASDAQ: MDLZ). While Mondelez is best known as the parent company of beloved chocolate brands like Cadbury and Toblerone, its appeal goes beyond a simple "everybody loves chocolate" story.

One reason investors should be bullish on Mondelez is that its portfolio of products is less dependent on cocoa prices compared to competitors like The Hershey Company (NYSE: HSY), which Mondelez made an offer to acquire in 2024.  

Mondelez has a global footprint, selling its products in over 150 countries. Its portfolio includes household names like Oreo cookies, Ritz crackers, and CLIF bars, forming the cornerstone of a go-to-market strategy crafted by its CEO. This lineup of iconic brands gives Mondelez pricing power, enabling it to navigate inflationary pressures effectively.

And Mondelez uses its earnings to reward shareholders through share buybacks and a dividend that has increased for 13 consecutive years. 



About Mondelez International

Mondelez International, Inc, through its subsidiaries, manufactures, markets, and sells snack food and beverage products in the Latin America, North America, Asia, the Middle East, Africa, and Europe. It provides biscuits and baked snacks, including cookies, crackers, salted snacks, snack bars, and cakes and pastries; chocolates; and gums and candies, as well as various cheese and grocery, and powdered beverage products. More
Current Price
$56.12
Consensus Rating
Moderate Buy
Ratings Breakdown
12 Buy Ratings, 5 Hold Ratings, 0 Sell Ratings.
Consensus Price Target
$72.76 (29.7% Upside)


#6 - McCormick & Co. (NYSE:MKC)

Food is one area where consumers tend to feel inflation directly. It will also be one of the last areas for inflation to ease its grip. But McCormick & Company Inc. (NYSE: MKC) remains an attractive stock to consider regardless of the direction inflation takes. 

The reason is that “food” doesn’t just mean food you prepare at home. Since 2022, inflation-weary consumers have been in a tug-of-war between eating out versus eating at home. At first, it didn’t matter as consumers were just ready to get back to their pre-pandemic routine. But restaurants have raised their prices, and many consumers are swiftly making the pivot back to a home-cooked meal. 

McCormick benefited from this trend in 2020 as consumers had to restock their neglected spice drawers. And that doesn’t even count the company’s recent acquisitions, which include Frank’s Red Hot and Cholula.   

MKC stock is a Dividend Aristocrat, having increased its dividend for 38 consecutive years. That dividend currently has a yield of 2.45%.  



About McCormick & Company, Incorporated

McCormick & Co, Inc engages in the manufacturing, marketing, and distribution of spices, seasoning mixes, condiments, and other flavorful products to retail outlets, food manufacturers, and foodservice businesses. It operates through the Consumer and Flavor Solutions segments. The Consumer segment sells spices, seasonings, condiments, and sauces. More
Current Price
$76.89
Consensus Rating
Moderate Buy
Ratings Breakdown
5 Buy Ratings, 3 Hold Ratings, 1 Sell Ratings.
Consensus Price Target
$83.75 (8.9% Upside)


#7 - Kimberly-Clark (NYSE:KMB)

Last, but certainly not least, inflation-busting stock on our list is consumer staples giant Kimberly-Clark Co. (NYSE: KMB). An oft-mentioned comment that bears repeating is that at any given time, you probably have several Kimberly-Clark products in your home. The brand’s portfolio is that broad-reaching.  

And that portfolio—including names such as Huggies diapers and Kleenex tissues—comes with pricing power. That pricing power shows up on the company’s bottom line, which has continued to show year-over-year growth despite the impact of inflation on consumers. Additionally, the company continues to increase its free cash flow and pay down its debt.  

Those are the attributes of a “forever” stock, but it’s also one that investors can buy for growth in the coming years. Investors are also buying a Dividend King that currently has a yield of 4.03%. Plus KMB stock trades at around 17.4x forward earnings, a slight discount to the Consumer Staples sector average of 20.5x. 

 



About Kimberly-Clark

Kimberly-Clark Corporation, together with its subsidiaries, manufactures and markets personal care and consumer tissue products in the United States. It operates through three segments: Personal Care, Consumer Tissue, and K-C Professional. The company's Personal Care segment offers disposable diapers, training and youth pants, swimpants, baby wipes, feminine and incontinence care products, reusable underwear, and other related products under the Huggies, Pull-Ups, Little Swimmers, GoodNites, DryNites, Sweety, Kotex, U by Kotex, Intimus, Thinx, Poise, Depend, Plenitud, Softex, and other brand names. More
Current Price
$129.29
Consensus Rating
Hold
Ratings Breakdown
5 Buy Ratings, 8 Hold Ratings, 2 Sell Ratings.
Consensus Price Target
$143.64 (11.1% Upside)

With many investors piling money into artificial intelligence (AI) stocks, buying defensive stocks may seem like you're missing an opportunity.

To be clear, we're not advocating you ignore the growth possibilities that may come from AI. But if the rate of inflation remains above the Federal Reserve's preferred target of 2%, you'll want to position yourself in stocks that can provide a hedge against that inflation.  

And defensive stocks do this very well. Because consumers tend to buy the products made by these companies regardless of the state of the economy, these companies tend to have pricing power, which helps both their revenue and their profit.  Including some defensive stocks in your portfolio can provide valuable protection. 

 

More Investing Slideshows: