How long does pesto last in the fridge? (2024)

Do you have a pesto jar in your fridge that you're not sure how much longer it will last? Or maybe you've made a big batch and don't know what to do with the leftovers. Learn more about pesto’s shelf life along with tips on how to extend the shelf life of pesto!

How long does pesto last in the fridge? (1)

Jump to:
  • How long does pesto last?
  • How long does pesto last in the fridge?
  • How long does pesto last in the freezer?
  • Things that affect the shelf life of pesto
  • How can you tell if pesto has gone bad?
  • Tips to extend shelf life of pesto
  • How to freeze pesto?
  • Botulism
  • FAQs
  • My favorite pesto recipes
  • 💬 Comments

This post contains helpful tips and tricks! If you're in a rush, please use the "Jump to Recipe" below!

How long does pesto last?

Pesto (especially homemade basil pesto) is one of those magical ingredients that can make just about anything taste delicious. But, like all other sauces and dips, has a short shelf life. It typically comes in four forms:

  • Store bought, refrigerated: this is typically sold in the refrigerated section of your grocery store.
  • Store bought, canned: this is unrefrigerated and typically found in the pasta and sauces section of the grocery store.
  • Store bought, powdered: this is a powder packet that is also unrefrigerated and found in the pasta and sauces section of the grocery store.
  • Homemade pesto that you can make at home (e.g., like my traditional basil pesto, nut-free, vegan kale pesto, pea shoot pesto or even broccoli pesto)

How long does fresh pesto last?
Pesto that is available in cans (in the store) generally tend to have a lengthier shelf life and may be kept for months before being consumed. Comparatively, refrigerated, prepared pesto tends to stay fresh for a shorter period of time, and homemade pesto has the shortest lifespan of all varieties.

After that, the flavors will start to deteriorate and it will lose its bright green color. To understand more about the nuances of how long pesto lasts, and learn how to make it last even longer, read the rest of the post! Feel free to use the table of contents above to skip to the section you want.

How long does pesto last in the fridge?

Pesto will typically last longer in the fridge, regardless of the type. The National Center for Home Food Preservation suggests it should be made fresh and stored in the fridge for no more than 3 days. However, it may be frozen for longer term storage.

However, the actual shelf life in the fridge will depend on its form.

Type of PestoOpenedUnopened
Store bought, refrigerated7 to 14 days1-3 weeks
Store bought, canned5 to 7 days4-6 weeks
Store bought, powdered7-14 days6 weeks (pantry)
Homemade< 3 daysNA

How long does pesto last in the freezer?

To maximize shelf life of pesto, it's best to freeze it. This can prolong the shelf life to a couple of months versus a couple of weeks for most forms.

Type of PestoOpenedUnopened
Store bought, refrigerated3-4 months6-8 months
Store bought, canned3-4 months6-8 months
Store bought, powdered3-4 months6-8 months
Homemade3-4 monthsNA

Things that affect the shelf life of pesto

There are just two main things you need to be aware of:

  • The ingredients used
  • The container it's stored in

Ingredients

There are three ingredients that might affect the shelf life of pesto:

  • Nuts: All nuts contain oils, which can go rancid. The higher the percentage of oil, the faster it will go rancid. When you use nuts, you are combining two ingredients that have a shorter shelf life.
  • Basil (or other herbs): Like nuts, herbs easily decay, because they are mostly made up of water. Since it's mostly made of herbs, depending on the freshness and quality of herbs, the pesto can be more likely to spoil.
  • Oil: Oil is the other key ingredient with high potential to go rancid.

As a result, choosing the freshest ingredients is the best way to prolong the life of the pesto.

How long does pesto last in the fridge? (2)

Container

The container used to store pesto really does affect it's shelf life. If you're looking to store it in your fridge, be sure to use an airtight container or plastic freezer bags. A container that is not airtight will cause it to oxidize and turn brown.

If you're looking to store your pesto in the freezer, be sure to use freezer-safe containers. A container that is not freezer-safe will cause the pesto to lose its flavor.

How can you tell if pesto has gone bad?

As much as we might try, occasionally, I've made pesto, only to have it spoil a few days later. It's such a shame when that happens! However, it's easy to tell if it's gone bad based on four indicators: mold growth, color, smell, and taste.

Mold growth

Mold growth is the most obvious sign that your pesto has gone bad. If you see mold growing on the surface, it's best to discard the container right away.

Color

You can tell that pesto has gone bad if it changes color from green to brown or black. Once you notice it's changed its color from green to brown then it's time to say goodbye to your condiment.

Smell

Another thing that's a surefire way to tell it's has gone bad is the smell. If it's gone bad, then it will have a sour, almost chemical smell. This is because the olive oil and nuts have gone rancid. So, give it a good sniff, before you decide to use it to avoid any problems. If it doesn't smell good, then don't use it.

Taste

If pesto tastes sour and a bit harsh (or watery and bland), then it's time to throw it away. If you're not sure whether it's still good, taste a small amount first and then decide. When in doubt, always better to be safe!

Tips to extend shelf life of pesto

Pesto is versatile, but it can be expensive to buy in the store. And even more painful if it goes bad after you've made lots of delicious plans with it. By learning a few tricks, you can extend the shelf life, making it last for weeks instead of days.

Unrefrigerated pesto

If you have unrefrigerated pesto (i.e., if you bought it in a can at a store) at home, it will last longest if kept in a cool, room temperature, dry area. Once opened, seal the container tightly to keep out high moisture content and oxygen. You can also always throw it in the fridge to be sure.

Because it's an oil-based sauce, it will spoil and go rancid after a while if exposed to air. So if you see it start get exposed to air, you can top the jar with some high quality olive oil to cut off contact with air.

Good news is that store-bought pesto will come with instructions on the label. Be sure to follow these instructions for optimal freshness!

Refrigerated or homemade pesto

Pesto will last the longest in the fridge, but it needs to be stored properly to prevent spoilage. Always store it in the fridge, even if it hasn't been opened yet. Once you have opened the jar, be sure to seal the container tightly and top it off with oil to prevent exposure to air and spoilage.

How to freeze pesto?

Freezing homemade or commercial pesto helps extend its shelf life even further. To do this:

  • Pack it into small freezer-safe plastic containers or heavy-duty freezer bags, leaving some headspace for expansion (approximately ½-inch headspace).
  • You can also freeze it in ice cube trays and then transfer the cubes to a freezer-safe bag or sealed container once they're frozen.
  • You should put a label on the freezer-safe bag with the name and use date so you can keep track of how long it's been in the freezer.

When frozen, pesto lasts somewhere between six months (homemade) to eight months (store-bought).

Botulism

Pesto is a low acid food (because both fresh basil and oil are low acid foods), which means there is a risk of botulism if it's not stored properly. Botulism is a serious foodborne illness that can cause paralysis and even death. Botulism causing bacteria typically grow in low-acid foods that are stored improperly.

Causes

Botulism is a serious and potentially fatal form of food poisoning. It is caused by the c. botulinum carrier, which is found in soil and contaminated food. The bacteria produce a toxin that can cause paralysis of the muscles, including the respiratory muscles.

Botulism can occur in two forms: food-borne and wound. Food-borne botulism is the more common form and occurs when contaminated food is eaten. Wound botulism occurs when the bacteria enter an open wound and produce the toxin.

Symptoms

Symptoms can take up to 18-36 hours to appear, and they include:

  • Nausea
  • Stomach pain
  • Diarrhea
  • Weakening of the muscles
  • Dry mouth
  • Blurred Vision
  • Double Vision
  • Drooping eyelids
  • Slurred speech
  • Difficulty in swallowing, moving eyes, and breathing

If you have the symptoms of botulism, seek medical attention immediately.

FAQs

Does pesto go bad?

Unfortunately, yes. Since it's made from fresh and perishable ingredients such as basil, Parmesan cheese, olive oil, and pine nuts, it will only last for a short period of time in the fridge. But with proper storage, pesto can last in the fridge for up to two weeks.

Can old pesto make you sick?

The short answer is yes. While pesto can last a really long time in the fridge when properly stored, it all depends on how you store it. So, if pesto doesn't look, smell or taste like it should or has mold growth, toss it.

Does adding lemon juice to pesto increase shelf life?

Adding lemon juice to pesto does indeed increase its shelf life! Lemons are high in acidity, and this helps to preserve the pesto by preventing the growth of bacteria. So if you're looking to extend the life of your pesto, a little squeeze of lemon juice is a good way to do it. With the addition of lemon juice, you can expect your pesto to last for up to two weeks. But if you're looking to keep it fresh for even longer, you can always freeze it.

My favorite pesto recipes

To start with, you might want to check out a few types I have on the blog:

  • Basil Pesto (and variations!)
  • Broccoli Pesto
  • Kale Pesto Sauce (Vegan with Nut Free Options)
  • Pea Shoot Pesto

Then, use it up in some delicious and versatile recipes:

Pesto Salad Dressing (Vinaigrette, Creamy Versions!)

This simple basil pesto salad dressing can be made as a vinaigrette or as a creamy version! Super simple to make, and can brighten any dish - whether it's a salad or pasta!

Get Pesto Salad Dressing Recipe

Tortellini Pasta Salad with Pesto Vinaigrette

This quick and easy tortellini pasta salad recipe is the perfect summertime side. Made with <10 simple ingredients, it comes together in just 20 minutes!

Get Tortellini Pasta Salad Recipe

Trenette al Pesto

Originally from the Liguria region, this Trenette al Pesto is a delicious and quick pasta with basil pesto, potatoes and green beans. Hearty and comforting!

Get Trenette al Pesto Recipe

Broccoli Pesto Pasta

Delicious, 30 minute broccoli pesto pasta with toasted lemon zest, roasted broccoli, and cherry tomatoes. Serve with whipped ricotta for an easy weeknight dinner!

Get Broccoli Pesto Pasta Recipe

How long does pesto last in the fridge? (2024)
Top Articles
Latest Posts
Article information

Author: Prof. An Powlowski

Last Updated:

Views: 5917

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Prof. An Powlowski

Birthday: 1992-09-29

Address: Apt. 994 8891 Orval Hill, Brittnyburgh, AZ 41023-0398

Phone: +26417467956738

Job: District Marketing Strategist

Hobby: Embroidery, Bodybuilding, Motor sports, Amateur radio, Wood carving, Whittling, Air sports

Introduction: My name is Prof. An Powlowski, I am a charming, helpful, attractive, good, graceful, thoughtful, vast person who loves writing and wants to share my knowledge and understanding with you.