How long do candy canes last?

Candy canes can last a very long time if they are properly stored, but that does not mean they will taste very good after a certain amount of time. I have eaten the occasional candy cane that was over a year old, but they get stale and they can get soft. I tend to not keep candy canes longer than one year simply because I dislike the taste of old candy. If you are not sure how old the candy cane is it is probably best to not eat it.