Storage

How long does pesto last once opened?

An opened jar of pesto keeps 3 days in the fridge and 1 month in the freezer. For an unopened jar, USDA FoodKeeper gives 6 months in the fridge, counted from the day you buy it; a jar sold on an ambient shelf follows its pack until you open it. Fresh pesto from the chilled counter and homemade pesto have no FoodKeeper row.

Detailed chart

Which stateFridgeFreezerPantry
Jarred pesto, unopenedFridge6 monthsFreezerNo time is printed for this cellPantryFollow the date on the pack
Jarred pesto, openedFridge3 daysFreezer1 monthPantryNot safe

Freezer months are about quality.

Best way to store it

Start with where the jar came from. Pesto from the chilled cabinet goes straight into the fridge at 4°C (40°F): USDA FoodKeeper gives an unopened jar 6 months, counted from purchase, and prints no freezer time for it. Plenty of jars sit on an ambient shelf instead, near the dried pasta; until you open one, follow the date and storage line on the pack. If the pack shows a sooner date than this page, the pack wins. For what that date actually means, see the use-by vs best-before guide.

Once a jar is open, it lives in the fridge with the lid screwed on: FoodKeeper gives it 3 days, and the cupboard is no longer safe. Use a clean spoon, level the surface, and pour a thin layer of olive oil over it to keep air off the basil. Fresh pesto from the deli counter, what Italians call pesto fresco, has no FoodKeeper row: follow its pack, including any “once opened, use within” line. Homemade pesto has no row either. It is raw basil, garlic, olive oil, pine nuts and hard cheese, so keep it cold and covered and freeze whatever you won’t use soon; we would rather give no time than make one up. Keep spare basil the way the fresh herbs page describes, and see how long food lasts in the freezer for the wider picture.

Basics for every food: into the fridge within 2 hours, thaw it in the fridge, and a use-by date on the pack beats any chart. This page is not medical advice.

Signs it has spoiled

  • Fuzzy mould, white, grey, or black, on the surface, around the rim, or under the lid.
  • A sour, fermented, or yeasty smell that is not garlic, basil, or cheese.
  • Fizzing, or small bubbles rising when you open or stir it.
  • An unopened jar with a bulging lid, or one that leaks or spurts as you open it.

A dark layer on top with nothing else wrong is oxidation: basil darkens where air touches it. Stir it in or skim it off, and cover the rest with oil next time. A pool of oil on top is normal too. Mould, a sour or fermented smell, fizzing, or a bulging lid finishes the jar. Do not scrape the mould off and keep the rest, and do not taste it to check.

Freezing and thawing

Pesto freezes best in small portions. Spoon it into an ice-cube tray or small pots, leaving a little headspace, freeze until firm, then tip the cubes into a sealed freezer bag and squeeze out the air. A thin layer of olive oil on top before freezing limits browning. Write the date on the bag.

FoodKeeper gives opened jarred pesto 1 month in the freezer. It prints no freezer time for an unopened jar, and fresh or homemade pesto has no row at all. That window is about flavour and colour, not safety. Thaw a cube in the fridge, or drop it straight onto hot drained pasta with a splash of the cooking water. Thawed pesto can look darker and a little looser; a stir brings it back. If you make your own, many cooks freeze it before the cheese goes in and stir the cheese in after thawing.

Myths and facts

  • A jar from the ambient shelf can go back in the cupboard after opening.The date on the lid is for the sealed jar. Once it is open, FoodKeeper puts pesto in the fridge for 3 days, and the cupboard is not safe.
  • Homemade pesto keeps as long as a jar.FoodKeeper prints no row for homemade or fresh chilled pesto, and the jar figures do not carry over. Keep it cold and covered, and freeze what you won’t eat soon.
  • Pesto that turns brown has gone off.Browning on top alone is oxidation, the basil reacting with air. Mould, a sour or fermented smell, fizzing, or a bulging lid are what finish it.

When someone is at higher risk

For pregnancy, young children, older age or a weakened immune system, keep to the shorter figure and skip raw or undercooked food.

Pesto is stirred into pasta without cooking, so how it was stored matters. Follow the opened-jar row (3 days), and if the pack gives a shorter “once opened” time, keep that one. Fresh and homemade pesto have no time on this page, so make small batches and freeze the rest the same day. Never taste a doubtful jar to test it.

Questions people ask

How long does pesto last in the fridge after opening?

FoodKeeper gives an opened jar 3 days in the fridge, lid on. If the label says to use it sooner, go with the label.

Does unopened pesto need to be refrigerated?

It depends where it was sold. A jar from the chilled cabinet stays in the fridge, where FoodKeeper gives it 6 months from purchase. A jar from an ambient shelf follows its pack until you open it.

Can you freeze pesto?

Yes. Freeze it in an ice-cube tray, then move the cubes to a sealed bag. FoodKeeper gives opened jarred pesto 1 month in the freezer, a quality window.

How long does homemade pesto last?

FoodKeeper has no row for homemade pesto, so this page gives no time. Keep it covered in the fridge and freeze whatever you won’t use soon.

Is pesto bad if it turns brown?

Not on its own. A brown top is oxidation. Mould, a sour or fermented smell, fizzing, or a bulging lid means it goes in the bin.

Sources

Get the app

App Store Google Play