BestByDates
Home
🌿

How long does pesto last?

Updated 2026-05-13 · USDA FoodKeeper & FDA guidelines

Refrigerator
1 week
5-7 days opened
After opening
1 week
1 week
Freezer
6 months
6 months — freeze in ice cube trays

The short answer

Pesto lasts as long as you store it correctly — which can mean anywhere from a few days on the counter to a year in the freezer. The numbers above represent best quality per USDA and FDA guidelines, not absolute safety limits.

Why these numbers vary

Basil-pine nut sauce. Storage life depends on temperature consistency, humidity, packaging, and how fresh it was when you got it. Refrigerators that swing between 38°F and 45°F shave days off these numbers; vacuum-sealing or freezing extends them.

How to tell if pesto is 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
Ad slot · article-mid

Frequently asked questions

How long does pesto last in the refrigerator?
Pesto lasts 1 week in the refrigerator. 5-7 days opened
How long does pesto last in the after opening?
Pesto lasts 1 week in the after opening. 1 week
How long does pesto last in the freezer?
Pesto lasts 6 months in the freezer. 6 months — freeze in ice cube trays
How can you tell if pesto is bad?
Watch for: Black on top is oxidation (normal); Mold; Sour smell.