How to Store Pesto in the Fridge and Freezer
6 min read · by Hannah Cole · Last updated: November 21, 2026
How to store pesto comes down to one habit: keep it in an airtight container in the refrigerator, with a thin layer of olive oil over the top to slow browning. Fresh pesto usually lasts three to four days in the fridge, up to about a week in some recipes, and it freezes well for one to three months. Thaw frozen pesto in the refrigerator before using it.
Pesto turns dull and dark once air reaches it, so most of the storage work is about limiting air contact. The sections below cover the fridge, the freezer, and the signs that the sauce has gone off, with the storage times from two published recipes.
Why Does Pesto Turn Brown in the Fridge?
The bright green color comes from fresh herbs and leaves, which oxidize when exposed to air. Pesto made with arugula or basil shows this most, and a recipe that uses sun-dried tomatoes or cheese can look different as it sits.
The Clever Meal notes that its sun-dried tomato and arugula pesto will lose some of its bright green color in the fridge. That is a change in appearance rather than a sign of spoilage, but the same airtight, oil-topped approach helps slow it down.


How to Store Pesto in the Refrigerator
Fridge storage is the right choice if you plan to use the pesto within a few days. Follow these steps to keep it fresh for as long as possible.
- Spoon the pesto into a clean glass jar or airtight container, pressing it down to remove air pockets.
- Pour a thin layer of extra virgin olive oil over the top so no sauce is exposed to air.
- Seal the lid tightly and label the jar with the date you made it.
- Keep the jar sealed between uses, so each opening exposes less of the sauce to air.
- Stir the oil back in before each use. It will separate, which is normal.
The two sources give different fridge windows. Recipes from Italy says its walnut pesto keeps up to one week in an airtight container with a thin layer of oil on top. The Clever Meal gives three to four days for its arugula and sun-dried tomato version. Use the shorter window if you are unsure how the recipe was made.
How Long Does Pesto Last in the Freezer?
Freezing is the best option for pesto you will not use in a week. The sources here disagree on the limit: Recipes from Italy allows up to three months in the freezer, while The Clever Meal gives up to one month in a freezer-safe container or bag.
If you want the best color and flavor, use the shorter window and freeze in small portions, so you thaw only what you need. Neither source describes how freezing changes the taste, so taste the pesto after thawing and adjust it with salt or cheese if needed.

| Storage | Recipes from Italy | The Clever Meal |
|---|---|---|
| Refrigerator | Up to one week, with oil on top | 3 to 4 days in an airtight container |
| Freezer | Up to 3 months | Up to 1 month |
| Thawing | In the refrigerator before use | Not specified |
The table compares the two published recipes. Storage times depend on the ingredients, the amount of oil, and how cleanly the jar was filled, so treat the ranges as a starting point.
How to Tell If Pesto Has Gone Bad
Check the pesto before you use it. Discard it if you see mold, notice a sour or off smell, or find an unusual slimy texture. Dark browning on the surface is common, and scraping off the top layer often reveals fresh green underneath.
When in doubt, throw it out. Pesto is inexpensive to remake, and the risk of eating a spoiled sauce is not worth it.
It also helps to keep a simple record. Write the date on each jar or bag when you store it, and check that date first when you open the fridge. Using the oldest pesto first keeps the batches from piling up, and it makes it easier to judge the fridge and freezer windows described above.
Freezing Pesto in Small Portions
Small portions are the easiest way to freeze pesto, because you can thaw only what you need. The Clever Meal recommends a freezer-safe container or bag, and the same logic applies to any pesto you freeze: the less you have to thaw each time, the less the sauce is handled and the fewer times it is exposed to air.
Spoon the pesto into the container and press out air before sealing. Leave a little space at the top so the sauce can expand as it freezes. Label each portion with the date, and use the shorter freezer window from the table above if you want the best color.
Once thawed, use the pesto within a few days and keep it in the fridge in the meantime. Stir it well, then loosen it with a spoonful of the reserved pasta water when you toss it with hot pasta, as the Recipes from Italy method suggests. That helps the sauce coat the noodles evenly instead of clumping on top.
Frequently Asked Questions
Can you store pesto at room temperature?
Neither source recommends leaving pesto out. Keep it in the fridge or freezer, and bring out only the portion you plan to use.
Why does my pesto separate in the fridge?
The oil and solids separate as the pesto sits. Stir before serving to bring it back together. A thin oil layer on top is useful, as it limits air contact.
Should pesto be frozen in ice cube trays?
Small portions freeze well, and they are easier to use than one large block. Freeze the pesto in a tray, then move the cubes to a labeled freezer bag, and use them within the freezer time the recipe gives.
Does freezing change the taste of pesto?
The recipes here do not describe a flavor change from freezing. Thaw it in the refrigerator, stir well, and taste it before serving, adding salt or grated cheese if it seems mild.
Store pesto in the fridge under a layer of oil for a few days, or freeze it in small portions for longer. Thaw it in the refrigerator, stir well, and check it before serving.
18 min readGear & PantryBest Store Bought Pesto for Fresh-Tasting Italian MealsUpdated Nov 26, 2026
21 min readGear & PantryBest Lasagna Pans for Freezer Storage and Easy Make-Ahead MealsUpdated Nov 26, 2026
17 min readGear & PantryBest Dough Mixers for Frozen Pizza for Homemade Crusts and Easy Freezer PrepUpdated Nov 26, 2026
7 min readGear & PantryOoni Koda 2 Cover: What the Carry Cover Does and How to Store the OvenUpdated Nov 26, 2026
9 min readGear & PantryBest Dried Oregano: How to Pick the Right Type and Store ItUpdated Nov 10, 2026
8 min readGear & PantryParmesan Cheese Grater: How to Choose, Use and Store OneUpdated Nov 27, 2026