Some ground spices last for three to four years, depending on their processing and storage, but eventually, the spices' flavor and potency decline. Grocery stores can keep spices on the shelves for months or even years until their flavor turns dusty and weak, yet supermarkets also sell spices at higher prices than you'd get at smaller vendors.