I have some basil pesto but I'm not sure how long its fridge life is. It is in a sealed container. How long does it last before it is not safe to eat anymore?
-
Exact time is impossible to judge, as we don't know how it's been prepared or stored. For instance, was this something commercially made? If so, was it sold in a jar and shelf-stable, or was it sold in the refrigerated section? – Joe Aug 03 '11 at 16:05
-
Also, what's in it? Just basil? Oil? Garlic? Preservatives like vinegar? Please see this related question: [How long can a bottle of self-made basil sauce last without rotting?](http://cooking.stackexchange.com/q/14887) – Aaronut Aug 03 '11 at 22:56
-
1Also, you're keeping it in the fridge? We usually pour our pesto into small tupperware containers and throw them in the freezer, and they are good for an entire year or more. – NickAldwin Aug 09 '11 at 19:59
-
Practically as soon as you buy it in the fridge, I love pesto but it's a nightmare to keep. – alan2here Nov 14 '15 at 23:14
7 Answers
I believe that the best indicator of freshness is the colour of the leaves. Once they turn from green to brown, it is all over for the pesto.
To boost the 'shelf-life' of the pesto in the fridge, make sure that it is completely covered with olive oil before sealing the container.

- 3,208
- 7
- 30
- 41
In regards to the part of the question asking about storage lifetime, and with respect to the other answers on this question: pesto is a low acid food at risk for botulism:
- It contains garlic, which is harvested out of the ground, so may have spores (as might the basil leaves, but less likely)
- Underneath the oil layer is anoxic (no access to oxygen from the air), which is necessary for botulism growth.
Therefore, pesto should not be stored for very long (whether home made or after a commercially canned product is opened) unless frozen.
Per the University of Georgia's National Center for Home Food Preservation which is admittedly focused on canning, but note the instructions on using fresh product as well (emphasis added):
How do I can oil with herbs? Can I can pesto?
Herbs and oils are both low-acid and together could support the growth of the disease-causing Clostridium botulinum bacteria. Oils may be flavored with herbs if they are made up for fresh use, stored in the refrigerator and used within 2 to 3 days. There are no canning recommendations. Fresh herbs must be washed well and dried completely before storing in the oil. The very best sanitation and personal hygiene practices must be used. Pesto is an uncooked seasoning mixture of herbs, usually including fresh basil, and some oil. It may be frozen for long term storage; there are no home canning recommendations.

- 72,735
- 13
- 153
- 231
-
This should be the accepted answer, as it uses an authoritative source and gives a reason, instead of just "well, look at it." – SQB Dec 04 '19 at 16:03
Commercial pesto (at least some brands) is said to keep about a year unopened, and 5-7 days in the fridge after opening.

- 191
- 1
- 4
as in most cases, the answer is "it depends". If this is a commercial product, it has probably been pasteurized. It will also feature a "best before" date. It also depends on whether this was designed to be stored at room temperature or in the fridge. What can go wrong? The olive oil can go rancid, the basil can spoil (particularly if parts of it are exposed to air).
On the other hand, if it is random pesto made by a friend of yours, ditch it. The fact that you are asking the question indicates that it has already been there for too long. In the Italian tradition, pesto is not a "keeping" sauce. It is made right before use - and of course if it is good there are no leftovers...

- 2,312
- 1
- 17
- 15
Commercial pesto certainly doesn't keep that long in the fridge after it's been opened. My current bottle says 2 weeks. My last bottle started growing mould after about 6 weeks!
It should keep substantially longer before it's opened, but most commercial bottles should have advice about storage length on the label.

- 401
- 1
- 4
- 6