Spices are best stored in a cool, dark place, away from direct sunlight, heat, and moisture. Airtight containers, preferably made of glass or metal, are ideal for preserving freshness. Avoid storing spices above the stove or near windows to extend their shelf life.