How to tell if pesto is bad
Updated 2026-05-13 · USDA & FDA spoilage guidelines
The 5-second spoilage check
Use your senses in this order: look, smell, touch, taste (taste only if everything else passes, and only a tiny amount). Any single warning sign means toss it.
Visual signs pesto has gone bad
- Black on top is oxidation (normal)
- Mold
- Sour smell
Smell test
Fresh pesto should smell clean and characteristic of itself. A sour, ammonia-like, fermented, sulfurous, or just plain "off" smell means bacteria have multiplied. The nose detects spoilage compounds at concentrations far below dangerous bacterial levels — if it smells bad, it is bad.
Texture changes
Slime is the most reliable spoilage indicator after smell. A film, sticky surface, or unusual softness/hardness signals bacterial breakdown. Mold growth (fuzzy spots) means there are also invisible mold fibers and possibly mycotoxins throughout — toss the entire item, not just the visible patch.
Can you eat pesto past the expiration date?
"Best by", "use by" and "sell by" dates are quality estimates set by manufacturers — not safety cutoffs. Most foods are still safe for some time past these dates if no spoilage signs are present and they've been stored correctly. Trust your senses over the printed date.
Common mistakes that speed spoilage
- Top with olive oil to seal
- Freeze in cubes for portion control
- Homemade lasts 3-5 days
What to do if you ate spoiled pesto
- Don't induce vomiting. Most cases resolve on their own.
- Hydrate. Sip water, oral rehydration solution, or clear broth.
- Rest. Let your digestive system work through it.
- See a doctor if symptoms last more than 48 hours, you have a fever above 102°F, blood in vomit/stool, or signs of severe dehydration.
- High-risk groups (pregnant, elderly, immunocompromised, young children) should consult a doctor sooner.