Most types of candy have lengthy shelf lives due to their lack of moisture. Dark chocolate can last up to two years, but gum and soft candies typically last only six to nine months, according to National Confectioners Association guidelines.
Because it typically contains large amounts of sugar, which is a preservative, candy usually does not actually spoil. It loses its color and flavor after a period of time. Wrap candy and store in a cool, dry container for maximum freshness. Some candy, such as caramel, can even be frozen to last more than a year. The candies with the longest shelf life are fireballs and gobstoppers, according to eatbydate.com.