Many ingredients for baked goods can stay good for a long time, but when it comes to baking chocolate, it’s important to know when it will spoil. The Pioneer Woman notes that an average milk chocolate candy bar can last for a year at most, but baking chocolate has its own specific shelf life.