How To Store Fresh Basil Pesto

Your Cool Home is supported by its readers. Please assume all links are affiliate links. If you purchase something from one of our links, we make a small commission from Amazon. Thank you!

You can store fresh basil pesto in the fridge for about a week or in the freezer for up to six months.
 
That’s the short answer if you’re wondering how to store fresh basil pesto and keep that vibrant green flavor alive.
 
But let’s be real—pesto is one of those things that tastes best right after you make it, yet life gets busy and you want to save some for later.
 
The good news is that storing fresh basil pesto properly is easy once you know a few key tricks.
 
In this post, we’ll cover the best ways to store fresh basil pesto, why each method works, and the mistakes that can ruin your batch.
 
Let’s dig in.
 

Why Storing Fresh Basil Pesto Is Tricky

Fresh basil pesto is a delicate sauce because basil doesn’t like cold or air.
 
When you’re learning how to store fresh basil pesto, you’re really learning how to protect basil from oxidation and temperature shock.
 
Basil leaves contain enzymes that turn brown quickly when exposed to oxygen.
 
And the garlic and olive oil in pesto can separate or turn bitter if handled poorly.
 
So storing fresh basil pesto isn’t just about shoving a jar in the fridge—it’s about creating the right environment.
 
Let’s look at why each storage method works and which one fits your needs.
 

1. Fridge Storage for Short-Term Use

If you plan to eat your pesto within a week, the fridge is your best friend.
 
The key to storing fresh basil pesto in the fridge is to keep oxygen away from the surface.
 
After you make your pesto, transfer it to a clean glass jar or airtight container.
 
Press the pesto down firmly to remove any air pockets.
 
Then, pour a thin layer of extra virgin olive oil on top—about ¼ inch is perfect.
 
This oil cap acts as a barrier, so the pesto underneath stays bright green and fresh.
 
Seal the container tightly and pop it in the fridge.
 
When you’re ready to use it, just stir the oil back in—it adds richness, not waste.
 
This method will keep your pesto tasty for 5 to 7 days.
 

2. Ice Cube Trays for Single Servings

If you’re asking how to store fresh basil pesto for later use in small portions, ice cube trays are genius.
 
Spoon your pesto into each compartment, leaving a tiny bit of room for expansion.
 
Freeze the tray for a few hours until the pesto is solid.
 
Then pop the pesto cubes out and transfer them to a freezer-safe zip-top bag.
 
This way, you can grab one or two cubes whenever you need a quick sauce for pasta or a sandwich spread.
 
Storing fresh basil pesto in cubes also prevents you from thawing a whole jar when you only need a spoonful.
 
Label the bag with the date, and you’ll have fresh-tasting pesto for up to six months.
 

3. Freezer Jars for Larger Batches

For bigger batches, you can store fresh basil pesto in freezer-safe glass jars or plastic containers.
 
The trick here is to leave about half an inch of headspace at the top because pesto expands when frozen.
 
Just like with the fridge method, cover the top of the pesto with a thin layer of olive oil before sealing.
 
This extra step protects the pesto from freezer burn and keeps the color vibrant.
 
When you want to use it, thaw the jar in the fridge overnight or place it in a bowl of cold water for a quicker fix.
 
Avoid microwaving frozen pesto as it can make the garlic bitter and the texture grainy.
 
With this method, you can store fresh basil pesto for up to six months with minimal flavor loss.
 

Common Mistakes When Storing Fresh Basil Pesto

Even if you know how to store fresh basil pesto, small mistakes can ruin your hard work.
 
Here are the biggest ones to avoid.
 

1. Skipping the Oil Layer

Without that protective olive oil layer, the surface of your pesto will darken and develop a dull, oxidized taste.
 
Always add the oil cap, whether you’re storing fresh basil pesto in the fridge or the freezer.
 
It’s a tiny step that makes a huge difference in flavor and appearance.
 

2. Using Plastic Without Pressing Out Air

Plastic containers are fine, but only if you press the pesto down and remove excess air.
 
Air is the enemy when you store fresh basil pesto because it triggers browning.
 
Use a spatula to flatten the top and gently tap the container to release trapped bubbles.
 
Then add the oil layer and seal.
 

3. Freezing With Cheese or Pine Nuts Already Mixed In

If you can, freeze the basil, garlic, oil, and salt first—but hold off on the cheese and nuts.
 
Cheese can become crumbly and nuts can turn soft after freezing.
 
When you’re ready to serve, thaw the base and stir in freshly grated Parmesan and toasted pine nuts.
 
This approach lets you store fresh basil pesto more successfully while keeping that fresh texture intact.
 

How Long Can You Store Fresh Basil Pesto?

The timeline depends entirely on your method.
 
In the fridge, storing fresh basil pesto safely means using it within 5 to 7 days.
 
In the freezer, you can store fresh basil pesto for 3 to 6 months and it will still be delicious.
 
Past that mark, the basil will start to lose its bright color and the garlic may develop a slightly sharp bite.
 
It won’t be unsafe to eat, but you’ll notice a drop in quality.
 
For the best results, always write the date on your container before freezing.
 
That way, you’ll never have to guess how long that jar has been sitting there.
 

So, How Do You Store Fresh Basil Pesto?

You can store fresh basil pesto in the fridge for a week or the freezer for up to six months.
 
The simplest method for short-term use is an airtight jar with a layer of olive oil on top.
 
For long-term storage, the best approach is freezing in ice cube trays or freezer-safe containers.
 
Remember to skip the cheese and nuts if you’re freezing, and always press out the air.
 
With these steps, you’ll enjoy garden-fresh pesto long after the basil season ends.
 
Have fun making and storing fresh basil pesto—your future pasta will thank you.