How long do sugar, baking soda and long-keeping baking goods last?
Sugar, baking soda and long-keeping baking goods keep indefinitely in the pantry, according to USDA FoodKeeper.
Quick answer
Storage times by type
| Type | Fridge | Freezer | Pantry |
|---|---|---|---|
| Sugar (granulated) | — | — |
|
| USDA tips: Pantry: Sugar never spoils, but for best quality use within 2 years of opening. | |||
| Sugar (brown) | — | — |
|
| USDA tips: Pantry: Sugar never spoils, but for best quality use within 2 years of opening. | |||
| Sugar (confectioners) | — | — |
|
| USDA tips: Pantry: Sugar never spoils, but for best quality use within 2 years of opening. | |||
| Baking soda | — | — |
|
| Cornstarch | — | — |
|
| Corn syrup | — | — |
|
| USDA tips: Pantry: Keep tightly covered; refrigerate to extend storage life. | |||
| Chocolate (unsweetened and semi-sweet, solid) | — | — |
|
| Cocoa and cocoa mixes | — | — |
|
| Pure vanilla extract | — | — |
|
| Shortening (solid) | — | — |
|
Also covers: sugar, brown sugar, powdered sugar, baking soda, cornstarch, corn starch, corn syrup, chocolate chips, baking chocolate, cocoa, cocoa powder, vanilla extract, extract, shortening.
Never wonder “is this still good?” again
Shelf Shepherd keeps track of what’s in your fridge and pantry and reminds you before food expires. Free for iPhone and Android.
Get early accessThese are general guidelines from the USDA’s FoodKeeper data for food stored at safe temperatures: fridge at 40°F (4°C) or below, freezer at 0°F (−18°C). Freezer times are for best quality; food kept constantly frozen at 0°F stays safe longer. Always check the package and the food itself. When in doubt, throw it out. Shelf Shepherd isn’t affiliated with or endorsed by the USDA.
Source: USDA FSIS FoodKeeper data. Last reviewed November 5, 2026.