Synthetic food coloring has a pretty long shelf life, and it’s highly unlikely that it will spoil or go bad. There’s a chance liquid or gel food coloring could dry out if it’s not stored properly, though. Also, if you’ve had it for several years, it might lose some of its potency. For the longest shelf-life, store food coloring in a cool, dark cabinet and make sure the lids are tightly closed.