McCormick shared. These are vanilla extract and salt. For the rest, though, it varies. Here’s how long each spice “type” lasts: Whole spices (like peppercorns, whole allspice, and whole ...