Many don't even think about about spices expiring.
I'm fine with using spices that are only a few months past expiry date, But no more then 6 month Because they tend to lose their flavor after time.
Here is an idea of how long spices can be kept for
- Ground Spices: 3 years
- Whole Spices: 4 years
- Herbs: 1-3 years
- Seed: 4 years
- Poppy & Sesame Seeds: 2 years
- Seasoning Mixes/blends 1-2 years