How long does pesto last?
Basil-pine nut sauce.
Pesto shelf life chart
All times are best-quality guidelines based on USDA FoodKeeper and FDA storage data. Actual shelf life depends on temperature stability, packaging, and how the food was handled.
| Storage | Time |
|---|---|
| Refrigerator (40°F / 4°C) | 1 week |
| After opening | 1 week |
| Freezer (0°F / -18°C) | 6 months |
Can you freeze pesto?
Yes — pesto freezes well for up to 6 months at 0°F (-18°C). 6 months — freeze in ice cube trays
Tips for freezing:
- Use airtight, freezer-safe containers or bags — squeeze out as much air as possible to prevent freezer burn.
- Label and date everything. Frozen food all looks the same after a few weeks.
- Freeze in portion sizes you'll actually use — refreezing thawed food is generally not recommended.
- Thaw in the fridge overnight, never on the counter — bacterial growth restarts above 40°F.
What to do if…
What if my pesto is past the printed date?
What if it smells weird but looks fine?
Is pesto still safe after the recommended freezer time?
Can expired pesto make you sick?
Yes — but the printed date isn't the trigger. Foodborne illness comes from bacterial growth (Salmonella, E. coli, Listeria, Staphylococcus) or fungal toxins, which depend on storage temperature and time, not the calendar date on the package.
Symptoms of food poisoning typically appear within 6–48 hours and include nausea, vomiting, diarrhea, stomach cramps, and fever. Severe cases — especially in young children, elderly, pregnant, or immunocompromised people — warrant medical attention. The safest practice: when in doubt, throw it out.
Frequently asked questions
How long does pesto last in the fridge?
How long does pesto last after opening?
How can I tell if pesto has gone bad?
Can I eat pesto past the "best by" date?
Related shelf-life guides
Signs pesto has gone bad
- •Black on top is oxidation (normal)
- •Mold
- •Sour smell
Storage tips
- ✓Top with olive oil to seal
- ✓Freeze in cubes for portion control
- ✓Homemade lasts 3-5 days
More condiments & spreads
Disclaimer: Times shown are USDA/FDA-recommended best quality periods, not absolute safety guarantees. Storage conditions, packaging, and food handling all affect actual shelf life. When in doubt, throw it out.