How Long Does Pesto Last?
Pesto lasts 5-7 days when stored in the refrigerator. Freezing extends storage to 3-4 months. Discard if you notice off or sour smell or mold growth on surface or lid. Store properly to maximize freshness and safety.
Pesto lasts 5-7 days when properly stored in the refrigerator. Check for signs of spoilage before consuming after this period.
Refrigerator
5-7 days
Pantry (Unopened)
6-12 months
Freezer
3-4 months
Not sure if your Pesto is still good?
Use our free checker tool for a personalized safety assessment.
Can I Still Use This Pesto?
Quick decision guide based on how you stored it:
In the fridge
Safe for 5-7 days. Check for spoilage signs before use.
In the fridge (opened)
Use within 5-7 days. Cover to prevent contamination.
Left out at room temp
Pantry-stable for 6-12 months if sealed.
Left out at room temp (opened)
Opened and unrefrigerated β use immediately or discard after 2 hours.
In the freezer
Frozen quality maintained for 3-4 months. Safe indefinitely if kept at 0Β°F.
Never use an expired product again β get a free email reminder before your Pesto expires.
Pesto Shelf Life by Storage Method
| Storage Method | Duration | Safety Level |
|---|---|---|
| Pantry / Room Temp (Unopened) | 6-12 months | SAFE |
| Refrigerator | 5-7 days | CAUTION |
| Freezer | 3-4 months | SAFE |
About Pesto
Pesto shelf life information including storage tips and signs of spoilage.
Signs Pesto Has Gone Bad
- Off or sour smell
- Mold growth on surface or lid
- Change in color (darkening or browning)
- Bubbling or foaming indicating fermentation
How to Store Pesto Properly
- Keep pesto refrigerated after opening and tightly sealed
- Use a clean utensil each time to avoid contamination
- Consider freezing pesto in small portions to extend shelf life
Safety Notes & Expiration Risks
Consuming expired pesto can lead to foodborne illness due to bacterial or mold contamination. Spoiled pesto may cause gastrointestinal distress such as nausea, vomiting, or diarrhea. It is important to discard pesto if any signs of spoilage are present.
Common Questions About Pesto Safety
Is pesto still safe after being left out overnight?
Pesto that is shelf-stable and was sealed can generally be left out overnight without safety concerns. However, if it was opened or is a perishable variety, the USDA 2-hour rule applies β discard any perishable food left in the "danger zone" (40β140Β°F) for more than 2 hours.
Can you eat pesto that smells fine but is past its expiration date?
"Best by" and "sell by" dates on pesto typically indicate peak quality, not a hard safety cutoff. If pesto smells normal, shows no visible mold or discoloration, and has been stored properly, it is often safe shortly past the printed date. However, use your judgment and when in doubt, discard it.
Is freezer-burned pesto safe to eat?
Freezer burn on pesto is caused by air reaching the food's surface and causes dry, discolored patches. Freezer-burned pesto is safe to eat β it is a quality issue, not a safety issue. The affected areas may have an off flavor or dry texture. You can trim away freezer-burned portions before cooking. To prevent freezer burn, use airtight packaging and remove as much air as possible before freezing.
What does it mean if pesto has changed color or texture?
Minor color changes in pesto may be natural and do not always indicate spoilage. However, significant discoloration, mold growth, unusual sliminess, or a major texture change typically means the product has degraded. If the change is accompanied by an off smell, discard the product. When only the color has shifted slightly and everything else seems normal, the product may still be usable but is past peak quality.
Was this guide helpful?
Sources
Frequently Asked Questions
How long does Pesto last?
Unopened pesto lasts 6 to 12 months in the refrigerator or pantry; once opened, it should be used within 5 to 7 days refrigerated.
Does Pesto expire?
Yes, pesto does expire and can spoil due to bacterial growth or mold, especially after opening.
How can you tell if Pesto has gone bad?
You can tell pesto has gone bad if it develops an off or sour smell, mold appears, the color darkens, or if there is bubbling or foaming.