Skip to main content
DiagXCar
Drawing of pesto for the DiagXCar storage guide
Freezes wellOpened & unopened

Pesto Shelf Life

How long pesto keeps on the counter, in the fridge and in the freezer, opened vs unopened. USDA data, re-checked November 2026.

Counter

Refrigerate

Fridge

3 days

Freezer

1 month

Calories · 100 g

426kcal

Quick answer

Once opened, pesto lasts 3 days in the refrigerator and 1 month frozen. Unopened, it stays good 6 months in the refrigerator.

Pesto Storage Facts

3 daysin the fridge
Counter

Refrigerate

after opening

Fridge

3 days

40°F (4°C) or colder

Freezer

1 month

0°F; for quality, not safety

Thawed

1–2 days

in the fridge after thawing

6 monthsin the fridge
Counter

Not recommended

keep it chilled

Fridge

6 months

40°F (4°C) or colder

Freezer

1 month

0°F; for quality, not safety

Thawed

1–2 days

in the fridge after thawing

Fridge at 40°F (4°C) or colder · Freezer at 0°F (-18°C) · Room temperature limit for perishables 2 hours

Pesto storage table · 3 methods
StorageHow longTempPackaging
Refrigerator (opened)3 days≤ 40°F / 4°CAirtight
Freezer (opened)1 month0°F / -18°CWrapped or freezer bag
Refrigerator (unopened)6 months≤ 40°F / 4°CAirtight
  • Refrigerator (opened): 40°F (4°C) or colder
  • Freezer (opened): 0°F; for quality, not safety
  • Refrigerator (unopened): 40°F (4°C) or colder
What do these times mean?

Counter is a cool, dry cupboard or countertop. Perishable food gets 2 hours there in total, or 1 hour above 90°F (32°C).

Fridge times are for safety and quality at 40°F (4°C) or colder, counted from the day you cook, open or buy it.

Freezer times are for best quality only. Food held at 0°F (-18°C) stays safe indefinitely; flavor and texture fade.

Thawed is how long it keeps in the fridge once it has defrosted there.

Source: USDA FoodKeeper.

How Long Does Pesto Last in the Fridge, Freezer and Pantry?

How long does pesto last in the fridge?

Pesto keeps 3 days in the fridge, according to USDA FoodKeeper.

How long does pesto last in the fridge?

3 days when held at 4°C (40°F) or below (opened). Seal it well so it stays free of moisture and fridge odors.

How long does pesto last in the freezer?

1 month at -18°C (0°F) for peak quality. It remains safe for as long as it stays frozen; past that point, flavor and texture slowly decline.

How long does pesto last at room temperature?

Room-temperature storage does not suit it; keep it in the fridge.

How long does pesto last after opening?

3 days refrigerated after opening. As soon as the seal is broken, the date on the package no longer counts.

How long does unopened pesto last?

6 months in the refrigerator, provided the seal is unbroken and it is stored the way the label directs.

How long is pesto good after the expiration date?

Counting from the purchase date, FoodKeeper allows unopened pesto 6 months in the refrigerator. Labels such as "best-by" and "sell-by" are about peak quality and how stores rotate stock, not about safety — infant formula is the one product whose use-by date federal law requires.

How do you know if pesto is bad?

Sour, yeasty or fermented notes that go beyond its normal tang. A slimy layer, or separation that won't stir back together. Darkening or a color shift near the top of the jar.

Does pesto last longer than similar foods?

Refrigerated, pesto gives you up to 3 days: less time than the middle of the 42 condiments & sauces foods on DiagXCar, which sits at 4 weeks. It beats 2 of them.

Can You Freeze Pesto?

Yes, for a short stretch

Yes. Held at 0°F (-18°C), pesto stays good in the freezer for 1 month, versus 3 days in the fridge. Held at 0°F / -18°C, it keeps its best quality for roughly 1 month. Food that stays frozen remains safe indefinitely; only the quality slips over time.

How do you freeze pesto?

  1. Freezing usually isn't necessary; most condiments hold up well in the fridge.
  2. If you do freeze it, use small containers or an ice-cube tray, and label them.
  3. Defrost it in the fridge and stir thoroughly; emulsified sauces can split.

How do you thaw pesto safely?

In the refrigerator

Move it from freezer to fridge the evening before you need it; this preserves the texture best.

On the counter

Suitable only for shelf-stable foods; perishables should never be thawed at room temperature.

Straight from frozen

Plenty of foods can go directly into the oven, a soup, a sauce or a smoothie.

What does freezing do to pesto?

Acid, sugar or salt already preserve most condiments, so they don't need the freezer. Freezing splits emulsions such as mayo and creamy dressings. Pesto, stocks and tomato-based sauces freeze well in small portions.

Time in the freezer so far…
Pick a time to see the verdict.
Use it up soon

Safe, though it is reaching the end of peak quality. Plan to use it within a few weeks, since flavor and texture decline after 1 month.

Safe, but quality has slipped

Staying frozen solid keeps food safe with no time limit, but by 2 months you can expect flat flavor and some freezer burn. Use it in soups, sauces or baking, and cut away any dry gray patches.

Safe, but quality has slipped

Staying frozen solid keeps food safe with no time limit, but by 3 months you can expect flat flavor and some freezer burn. Use it in soups, sauces or baking, and cut away any dry gray patches.

Based on a freezer running at -18°C (0°F) or below. Food kept frozen remains safe, so these results describe quality only.

How to Tell If Pesto Has Gone Bad

Pesto does spoil: expect 3 days in the fridge, or 1 month frozen. Poor storage cuts that short, and these are the signs that give it away: odor, texture, color.

Odor

Sour, yeasty or fermented notes that go beyond its normal tang.

Texture

A slimy layer, or separation that won't stir back together.

Color

Darkening or a color shift near the top of the jar.

Mold

Fuzz on the surface or under the lid means the whole jar goes.

Inspect your pesto and tick each warning sign you see

No boxes ticked? That's encouraging. Even so, confirm how long it has been stored, because the germs behind food poisoning can't be seen with the naked eye.

Even one of these means it has spoiled. Toss it, and never taste it to find out.

Why it goes bad: Yeasts and molds are the usual problem in opened jars, showing up as surface fuzz, bubbling or a boozy, fermented smell. Damaged cans of low-acid food pose an uncommon but dangerous botulism risk from Clostridium botulinum, so any can that bulges, leaks or is badly dented should be discarded without being opened.

Pesto Left Out Overnight: Is It Safe?

Check it After opening, pesto should live in the fridge. A night at room temperature hastens spoilage, so throw it out if the smell, look or taste seems wrong.

After opening, pesto should live in the fridge. A night at room temperature hastens spoilage, so throw it out if the smell, look or taste seems wrong.

Air temperatureSafe windowAfter that
Below 40°F (4°C)In the fridge: 3 daysEat within its fridge life
40–90°F (4–32°C)RefrigerateCheck for spoilage
Above 90°F (32°C)ShorterKeep it cool and dry
Did something else sit out? Left-out checker→

Frequently Asked Questions About Pesto

Can you freeze pesto?

Yes, you can. Held at 0°F / -18°C, it keeps its best quality for roughly 1 month. Food that stays frozen remains safe indefinitely; only the quality slips over time.

How can you tell if pesto has gone bad?

Odor: sour, yeasty or fermented notes that go beyond its normal tang; Texture: a slimy layer, or separation that won't stir back together; Color: darkening or a color shift near the top of the jar.

Does pesto go bad after the printed date?

Counting from the purchase date, FoodKeeper allows unopened pesto 6 months in the refrigerator. Labels such as "best-by" and "sell-by" are about peak quality and how stores rotate stock, not about safety — infant formula is the one product whose use-by date federal law requires.

Will freezing kill the bacteria in pesto?

No. Cold only puts bacteria on hold, and they wake up again once the food thaws. To make it safe, cook or reheat it to a safe temperature.

What if you accidentally eat spoiled pesto?

Most of the time it just tastes unpleasant rather than making you sick, but throw out anything that is moldy, rancid or smells wrong.

Have another question about Pesto?

Search our storage answers for any food, leftover or menu item.

Pesto Nutrition Facts

Selected: 0.25 cup · 61 g

260kcal / 61 g
Carbs

3.7g

6% kcal · 1% DV

Protein

3.1g

5% kcal · 6% DV

Fat

25.9g

90% kcal · 33% DV

Sodium

609mg

26% DV

Saturated fat 4.5 g · Fiber 1 g · Sugars 1.2 g

Pesto nutrition facts table · 0.25 cup (61 g)
NutrientAmount% DV
Calories260 kcal
Total fat25.9 g33%
Saturated fat4.5 g23%
Sodium609 mg26%
Total carbohydrate3.7 g1%
Fiber1 g4%
Sugars1.2 g
Protein3.1 g6%
Potassium125 mg3%
Calcium106 mg8%
Iron1 mg3%
Vitamin C0 mg0%
Water26.3 g

Selected: 100 g · 100 g

426kcal / 100 g
Carbs

6.1g

6% kcal · 2% DV

Protein

5g

5% kcal · 10% DV

Fat

42.4g

90% kcal · 54% DV

Sodium

998mg

43% DV

Saturated fat 7.4 g · Fiber 1.7 g · Sugars 1.9 g

Pesto nutrition facts table · 100 g (100 g)
NutrientAmount% DV
Calories426 kcal
Total fat42.4 g54%
Saturated fat7.4 g37%
Sodium998 mg43%
Total carbohydrate6.1 g2%
Fiber1.7 g6%
Sugars1.9 g
Protein5 g10%
Potassium205 mg4%
Calcium173 mg13%
Iron1 mg5%
Vitamin C0 mg0%
Water43.1 g
What do these numbers mean?

Calories measure energy. Food labels in the US use a 2,000-calorie day as the reference.

% kcal is the share of this food's energy that comes from carbs (4 kcal per gram), protein (4 kcal/g) or fat (9 kcal/g).

% DV (Daily Value) compares the amount with the FDA's daily reference: 78 g fat, 20 g saturated fat, 275 g carbs, 50 g protein, 2,300 mg sodium.

Sodium matters for storage too: salty foods hold back some bacteria, but fridge times still apply once a food is cooked or opened.

Source: USDA FoodData Central, SR Legacy #171580 ("Sauce, pesto, ready-to-serve, shelf stable").

View the USDA record

What Is Pesto?

Pesto sits in the condiments & sauces section of our food guide. The USDA FoodKeeper database files it under the name “Pesto (jarred)”. Going by USDA FoodKeeper, it lasts 3 days in the fridge and 1 month in the freezer. It falls into the lower-risk group, so storing it well is mostly about keeping quality rather than about safety. Best storage spot: the door runs warmer than the rest of the fridge, which suits condiments and drinks that hold up well against spoiling.

Pesto belongs to condiments & sauces. It is shelf-stable until opened or prepared.

Where Should You Store Pesto?

Freezer Upper shelf Center shelf Lower shelf Crisper bin Door bins
Ideal spot
Door bins

The door runs warmer than the rest of the fridge, which suits condiments and drinks that hold up well against spoiling.

  • Unless the label says something different, put it in the fridge once opened.
  • Dip in with a clean utensil every time; crumbs and double-dipping cut its life short.
  • Wipe the rim clean and screw the lid on tight.

Pesto Expiration Dates

Before opening

Counting from the purchase date, FoodKeeper allows unopened pesto 6 months in the refrigerator. Labels such as "best-by" and "sell-by" are about peak quality and how stores rotate stock, not about safety — infant formula is the one product whose use-by date federal law requires.

After opening

The printed date stops counting the moment the seal is broken. Allow 3 days in the refrigerator, starting on the day you open it.

The dates printed on pesto packaging mostly describe quality rather than safety. Under US rules, infant formula's use-by date is the only one federal rules require; manufacturers choose all the others themselves. A “Best if used by” date marks when flavor and texture are at their peak. A “Sell-by” date helps the store rotate its stock, and once it passes you can still keep the food at home for its usual storage time. A “Use-by” date is the manufacturer's own pick for the final day of best quality.

For that reason, the storage times on this page start counting from the moment you open, cook or buy pesto, not on the date stamped on the package: 3 days in the fridge. Food that was stored properly can still be good after a best-by date, while food that was handled carelessly can go bad long before it.

Pesto Myths: Fact or Fiction?

  1. 1.As long as it smells okay, pesto is still safe after being refrigerated longer than 3 days.
    You got it!
    Not this time.

    Partly true. Because pesto is low-risk, going slightly beyond 3 days usually costs quality rather than safety. Look for mold and sniff for off odors first.

  2. 2.Putting pesto in the freezer kills any bacteria on it.
    You got it!
    Not this time.

    False. The freezer puts bacteria on hold rather than killing them. They start up again as the food warms, so let it thaw in the fridge, then cook or reheat it all the way through.

  3. 3.Pesto holds up well in the freezer.
    You got it!
    Not this time.

    True. Held at 0°F / -18°C, it keeps its best quality for roughly 1 month. Food that stays frozen remains safe indefinitely; only the quality slips over time.

  4. 4.Pesto can be kept in the fridge door.
    You got it!
    Not this time.

    True. The door runs warmer than anywhere else in the fridge, yet this food holds up well enough to be stored there.

  5. 5.Pesto has to go in the fridge to stay safe.
    You got it!
    Not this time.

    Not for safety reasons, but refrigeration keeps it at peak quality for longer. Go by the storage times listed on this page.

How Long Does Pesto Last Compared With Similar Foods?

For comparison, balsamic vinegar holds up longest in the group (1.5 years), while jarred gravy needs using within 2 days. The next step up is chicken broth, at 4 days.

In the freezer, pesto stays at best quality for up to 4 weeks. Across 8 condiments & sauces foods with a freezer time, the middle value is 3 months, so this ranks ahead of 0%.

Maximum suggested storage time (fridge, or pantry for shelf-stable items)

Drawn on the timeline's scale, which runs from 1 hour to 2 years.

Foods Similar to Pesto

Storage data from USDA FoodKeeper and FSIS; nutrition from USDA FoodData Central.

· How we check