← Food database
How long baked goods last
| Food | Fridge | Freezer | Pantry |
|---|---|---|---|
| Almond extract | — | — | 2 years (12 months once opened) |
| Bagels | — | 3 months | 1–2 days |
| Baking powder | — | — | 6–18 months (3–6 months once opened) |
| Baking soda | — | — | 2–3 years (6 months once opened) |
| Biscuits | Until the package use-by date | Not recommended | — |
| Bread | 2–3 months | — | 3–5 days |
| Cheesecake | 5–7 days once opened | 3–6 months | — |
| Chiffon pies | 1–2 days once opened | Not recommended | — |
| Chili powder | — | — | 2 years |
| Chocolate | — | — | 1–2 years (1 year once opened) |
| Cinnamon extract | — | — | 2 years (12 months once opened) |
| Cinnamon rolls | Until the package use-by date | — | — |
| Cocoa and cocoa mixes | — | — | Indefinitely (1 year once opened) |
| Coconut flour | 9–12 months | 9–12 months | — |
| Commercial bread products | 2–3 weeks once opened | 3–5 months | 14–18 days |
| Commercial cakes and muffins | 7–10 days once opened | 6 months | 3–7 days |
| Cookie dough | Until the package use-by date | 2 months | — |
| Cookies | — | 8–12 months | 2–3 months |
| Cornmeal | 1 year once opened | — | 6–12 months (2 years once opened) |
| Cornstarch | — | — | 18–24 months (18 months once opened) |
| Cream pies | 3–4 days once opened | Not recommended | — |
| Dairy filled eclairs | 2–3 days once opened | 3 months | — |
| Doughnuts | 2 days once opened | Not recommended | 1–2 days |
| Flour | 1 year once opened | — | 6–12 months (6–8 months once opened) |
| Frosting or icing | 2–3 weeks once opened | — | 10–12 months |
| Fruit cake | 12 months once opened | 12 months | 6 months |
| Fruit pies | 1 week once opened | 8 months | 1–2 days |
| Garlic | — | — | 8–12 months |
| Gelatin | — | — | 10–12 months (3–4 months once opened) |
| Herbs | — | — | 1–2 years |
| Lemon extract | — | — | 2 years (12 months once opened) |
| Macaroons | — | 3 months | 1–2 days |
| Muffins | — | 2–3 months | 3–7 days |
| Nut oils | 6–8 months once opened | — | 6–12 months (3–8 months once opened) |
| Pastries and danish | 14 months once opened | Not recommended | 5–10 days |
| Pie crust | Until the package use-by date | 2 months | — |
| Pies | 1 week once opened | 8 months | 2 hours |
| Pure vanilla extract | — | — | 2 years (12 months once opened) |
| Quiche | 3–5 days once opened | 2–3 months | 2 hours |
| Ready-to-bake pie crust | Until the package use-by date | 2 months | — |
| Seasoning blends | — | — | 1–2 years |
| Shortening | — | — | 1–2 years (6–12 months once opened) |
| Sugar | — | — | Indefinitely (18–24 months once opened) |
| Sugar substitutes | — | — | 2 years (indefinitely once opened) |
| Tamarind paste | 2–3 months once opened | — | 6–12 months (6 months once opened) |
| Tapiocas | — | — | 12 months |
| Vegetable oil sprays | — | — | 2 years (1 year once opened) |
| Whole wheat flour | 2 years | 2 years | 12 months |
| Yeast | 4 months once opened | 6 months | 2 years |
Keep the fridge at 40°F (4°C) or colder and the freezer at 0°F (−18°C). Write the date on containers when you open or cook something.
Source: USDA FoodKeeper data. Updated 2026-10-13.