The best containers for storing spices are those that are airtight. Glass jars with tight-fitting lids are particularly good because they prevent air, moisture, and light from reaching the spices, which helps preserve their flavor and extend their shelf life.