That jar of paprika in the back of the cabinet, older than you’d like to admit, probably isn’t dangerous. Most spices don’t spoil the way milk or produce does. They just gradually lose the punch that makes them worth using in the first place. There’s one real exception worth knowing about, and it has nothing to do with age.
Do spices go bad?
The short answer: Not in the traditional sense. Spices are too dry to support most bacterial growth, so they don’t spoil like perishable food. Instead they gradually lose potency: whole spices stay flavorful for 3 to 4 years, ground spices for 2 to 4 years, and dried leafy herbs for 1 to 3 years, per McCormick’s own storage guidance. Salt and pure vanilla extract are the exceptions; both have an indefinite shelf life and don’t fade the way other spices do. The one genuine safety concern is moisture. A handful of spices, especially paprika, chili powder, and nutmeg, can develop mold that produces aflatoxin, a regulated toxin, if they’re stored somewhere damp.
For general pantry rules, check the food storage guide. If you’re storing a specific spice-adjacent staple, the vanilla extract and cocoa powder guides cover individual items in more depth.

Do Spices Go Bad: At a Glance

Whole spices (peppercorns, allspice, seeds)
3 to 4 years for best flavor

Ground spices (cumin, paprika, chili powder)
2 to 4 years for best flavor

Dried leafy herbs (basil, oregano, rosemary)
1 to 3 years for best flavor

Seasoning blends
1 to 2 years for best flavor

Pure vanilla extract
Indefinite; doesn’t spoil

Salt
Indefinite; doesn’t spoil or fade

Refrigeration required?
No, except optionally for paprika and chili powder

Real safety risk
Mold and aflatoxin in paprika, chili powder, or nutmeg stored damp

Key Takeaways

Spices don’t spoil the way perishable foods do. They lose potency gradually, and an old spice is a quality problem, not usually a safety one.
Whole spices outlast ground versions by a wide margin, since grinding exposes far more surface area to air and light.
Paprika, chili powder, and nutmeg are the exceptions. All three are documented as susceptible to mold that produces aflatoxin under humid storage conditions, which is a genuine safety issue, not just a flavor one.
Salt and pure vanilla extract are the true exceptions in the spice cabinet. Per McCormick, both have an indefinite shelf life, and vanilla’s flavor can even mellow and improve with age.
McCormick specifically does not recommend freezing dried spices and herbs, since repeated freezer trips introduce condensation that speeds up flavor loss.
Heat, light, and moisture, not time alone, are what actually degrade a spice’s flavor and aroma.

Why Spices Don’t “Spoil” Like Other Food

The science: it’s about oils fading, not bacteria growing
Spices get their flavor and aroma from volatile essential oils. Once a spice is dried and ground, those oils begin slowly oxidizing and evaporating on contact with air, 

Author