Brown sugar: Indefinitely
“Brown sugar can last indefinitely, but will likely need to be softened,” Kaplan says. But don’t leave the open bag in your pantry and expect the quality to remain the same. Kaplan recommends moving it to an airtight glass jar, then stowing that somewhere cool, dark, and dry. White sugar can last indefinitely when stored that way too.