While sugar may not have an expiration date, it will eventually go bad. Sugar can harden and form clumps over time, and it may also develop a rancid smell. If your sugar has gone bad, it's best to discard it and buy fresh sugar.