Skip to main content
DiagXCar

Can You Freeze Pesto?

Data: USDA FoodKeeper plus FSIS · re-checked November 2026

Drawing of pesto for the DiagXCar storage guide
Freezer life
1 month
Yes, for a short stretch

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.

The short answer

Yes. Held at 0°F (-18°C), pesto stays good in the freezer for 1 month, versus 3 days in the fridge.

Pip looking relaxed: this one keeps well

Freezing pesto, step by step

  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.

Thawing pesto safely

Overnight in the fridge

Transfer it to the fridge the evening before you need it; texture holds up best this way.

On the counter

Reserve this for shelf-stable items; perishable food shouldn't be left to thaw on the counter.

Straight from frozen

Plenty of foods can be added still frozen to soups, sauces, smoothies or a hot oven.

Yes, for a short stretchHeld 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.

Counter, fridge or freezer: the numbers

Pick a version to see its times
Data: USDA FoodKeeper
Counter
Refrigerate
after opening
Fridge
3 days
40°F (4°C) or colder
Freezer
1 month
0°F; for quality, not safety
Counter
Not recommended
keep it chilled
Fridge
6 months
40°F (4°C) or colder
Freezer
1 month
0°F; for quality, not safety
The cold facts

How freezing changes 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.

Side by side

How long pesto keeps with each storage method

StorageHow longTempPackagingGood to know
Refrigerator (opened)3 days≤ 40°F / 4°CAirtight40°F (4°C) or colder
Freezer (opened)1 month0°F / -18°CWrapped or freezer bag0°F; for quality, not safety
Refrigerator (unopened)6 months≤ 40°F / 4°CAirtight40°F (4°C) or colder
Background

Getting to know 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.

Condiments, sauces and canned foods are built to keep: sealed packaging plus plenty of acid, sugar or salt holds microbes at bay. Unopened, most last for months or even years in the pantry. After opening, crumbs off utensils, moisture and air find their way in, and most then need refrigeration and have a much shorter shelf life.

What's happening

What makes pesto spoil

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.

Don't do this

Mistakes people make storing pesto

  • Double-dipping or spreading with a used knife, which carries in crumbs and bacteria.
  • Leaving an opened jar on the pantry shelf even though its label calls for refrigeration once opened.
  • Storing leftovers in their opened can in the fridge; transfer them to a covered container instead.
  • Using cans that are rusty, bulging or badly dented.
Shopping

Choosing good pesto at the store

  • Inspect cans for swelling, rust and deep dents along the seams.
  • Lids on jars should be tight, with a seal that pops the first time you twist it open.
  • Choose condiment sizes you can use up within the opened window.
Waste less

Pesto: ways to finish it in time

  • Mark the date you opened it on the lid.
  • Scrape the last bit of a jar into a dressing, sauce or marinade.
  • Freeze leftover sauce in ice-cube trays.
Package dates

Making sense of expiration dates

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.

Placement

The best place for 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.

Interactive

Check the freezer time on your pesto

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 -18°C (0°F) or below. Food kept frozen remains safe, so these results describe quality only.

Straight answers

Your pesto storage questions

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.

Test yourself

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.

Keep reading about pesto

Browse every “can you freeze it?” answer from A to Z →

Frequently asked questions

How long will pesto keep in the freezer?
Plan on roughly 1 month for peak quality at 0°F (-18°C). Past that point it remains safe as long as it stays frozen, though flavor and texture slowly decline.
What's the best way to thaw frozen pesto?
Transfer it to the fridge the evening before you need it; texture holds up best this way.
Is it OK to refreeze pesto?
Yes, provided it thawed in the fridge and never sat out at room temperature. Expect some loss of quality with every round.
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 temperature is best for storing pesto?
Set the fridge to 4°C (40°F) or below and the freezer to -18°C (0°F). The dial on a lot of fridges is optimistic and the real temperature runs higher, so a cheap appliance thermometer is money well spent. A fridge running even a few degrees above 4°C will noticeably eat into the 3 days fridge window for pesto.
What should I store pesto in?
Use the original jar or bottle with the lid on tight; move opened canned food into a covered container. You want to block air and moisture, keep smells from traveling to other food, and be able to tell at a glance how old the food is. Jot the date on the lid or on a label so there is never any guesswork about its age.
Is the fridge door a good spot for pesto?
Yes. Although the door is the warmest spot in the fridge, pesto holds up against spoilage well enough to live there. Seal the lid firmly every time you use it.
Can you refreeze pesto?
Yes, but only when it defrosted in the refrigerator and has not sat out at room temperature. Anything defrosted in the microwave or a cold-water bath needs to be cooked before it goes back into the freezer. Quality drops a little with every freeze-and-thaw round, so freeze in portions you'll use in one go.
Does freezing kill bacteria in pesto?
No. At -18°C (0°F), bacteria stop multiplying, but they aren't killed off. Once pesto thaws, any bacteria that were there wake up again, so defrost in the fridge and, where relevant, bring it up to a safe temperature when you cook or reheat it.
If pesto smells okay but is beyond the storage time, is it still safe?
With a low-risk food such as pesto, going beyond the storage time generally affects quality rather than safety. Look for mold, sniff for off odors and notice any strange taste, and get rid of it if anything seems wrong.
Figures here are drawn from USDA FoodKeeper plus FSIS guidance. Data re-checked November 2026. How we check our numbers · Spotted an error? Tell us