Opened pesto lasts 3 days in the fridge and 1 month in the freezer. Unopened, it keeps 6 months in the fridge.
Shelf life at a glance
Bars show the longest recommended time for each place. Scale runs from 1 hour to 2 years.
- 1Use within days
- 2Keeps a week or two
- 3Keeps for months
- 4Keeps a long time
Based on the longest fridge or pantry time.
About 2 more days in the fridge.
About 1 more days in the fridge.
It's inside the safe window but near the end. Eat it today or freeze it now.
Past the recommended fridge time. Even if it looks and smells fine, throw it out.
Past the recommended fridge time. Even if it looks and smells fine, throw it out.
Counted from the day it was cooked, opened or bought. Assumes a fridge at 4 °C (40 °F) or colder.
Your pesto fridge countdown
- Open0
- Day1
- Day2
- Day3
- Day4
- Day5
Based on the USDA FoodKeeper fridge window at 4°C (40°F) or colder.
Pesto storage times by method
| Method | Duration | Temperature | Container | Notes |
|---|---|---|---|---|
| Refrigerator (opened) | 3 days | ≤ 40°F / 4°C | Airtight | at or below 40°F (4°C) |
| Freezer (opened) | 1 month | 0°F / -18°C | Freezer bag or wrap | at 0°F; quality, not safety |
| Refrigerator (unopened) | 6 months | ≤ 40°F / 4°C | Airtight | at or below 40°F (4°C) |
Where to store pesto
The door is the warmest part of the fridge, fine for condiments and drinks that resist spoilage.
Pesto shelf life, answered
How long does pesto last in the fridge?
3 days at 4°C (40°F) or colder (opened). Keep it sealed so it does not pick up moisture or odours.
How long does pesto last in the freezer?
1 month for best quality at -18°C (0°F). Frozen food stays safe indefinitely; after that, texture and flavour fade.
How long does pesto last at room temperature?
It is not meant to be kept at room temperature. Refrigerate it.
How long does pesto last after opening?
3 days in the fridge once opened. The printed date stops applying the moment you break the seal.
How long does unopened pesto last?
6 months in the fridge, if the seal is intact and it is stored as the label says.
How long is pesto good for past the expiration date?
FoodKeeper gives unopened pesto 6 months in the fridge, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.
How can you tell if pesto is bad?
Fermented, yeasty or sour beyond the product's usual tang. Separation that does not stir back, or a slimy layer. Darkening or a change in colour at the top of the jar.
Signs pesto has gone bad
Smell
Fermented, yeasty or sour beyond the product's usual tang.
Texture
Separation that does not stir back, or a slimy layer.
Colour
Darkening or a change in colour at the top of the jar.
Mould
Any fuzz on the surface or lid — discard the jar.
Can you freeze pesto?
- 1Step 1
Most condiments keep well in the fridge and do not need freezing.
- 2Step 2
If freezing, use ice-cube trays or small containers and label them.
- 3Step 3
Thaw in the fridge and stir well; emulsions may separate.
How to thaw pesto
In the fridge
Move it to the fridge the night before; texture holds best.
At room temperature
Only for shelf-stable foods; perishable food should not thaw on the counter.
From frozen
Many foods go straight into soups, sauces, smoothies or the oven.
Pesto left out overnight
Opened pesto belongs in the fridge. Overnight at room temperature speeds spoilage; if it smells, looks or tastes off, discard it.
Best-by and use-by dates on pesto
Unopened
FoodKeeper gives unopened pesto 6 months in the fridge, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.
Opened
Once opened, the printed date no longer applies. Count 3 days in the fridge from the day you open it.
How to store pesto
- Refrigerate after opening unless the label says otherwise.
- Use a clean utensil each time; crumbs and double-dipping shorten shelf life.
- Wipe the rim and close the lid tightly.
Pesto vs similar foods
- Honey 2 years
- Mustard 1 year
- Ketchup 6 months
- Mayonnaise 2 months
- Jarred salsa 1 month
- Soy sauce 1 month
- Pesto 3 days
Same scale as the timeline above: 1 hour to 2 years.
Check any food in seconds: when your leftovers expire, and whether something left out is still safe.
Similar foods
All condiments & sauces → Can you freeze… hub → Leftover calculator →Freezer time calculator →Left-out checker →