How long does food last in the pantry?
Foods that keep at room temperature in a cool, dry cupboard, and for how long.
Dairy and eggs
| Food | Pantry |
|---|---|
| Powdered coffee creamer | 2 yearsfrom purchaseOpened: 2–3 months |
| Shelf-stable (UHT) milk | 6–12 monthsfrom purchase |
Meat
| Food | Pantry |
|---|---|
| Precooked bacon, shelf-stable | 6 monthsfrom purchase |
| Store-bought jerky | 12 monthsfrom purchase |
| Homemade jerky | 1–2 months |
Fish and seafood
| Food | Pantry |
|---|---|
| Canned tuna | 3 years |
| Tuna in a pouch | 18 monthsfrom purchase |
| Opened canned fish and meat | 2–5 yearsfrom purchaseOpened: Not recommended |
Fruit
| Food | Pantry |
|---|---|
| ApplesFreezer time is for cooked apples (sauce, pie filling). | 3 weeksfrom purchase |
| AvocadosFridge time is for ripe avocados. | Until ripe |
| BananasFridge time is for ripe bananas; the skin turns black. | Until ripe |
| Fresh whole coconut | 1 weekfrom purchase |
| Shredded coconut | 1 yearfrom purchase |
| Canned cranberry sauce | 2 yearsfrom purchase |
| GrapesFreezer time is for whole grapes. | 1 dayfrom purchase |
| Kiwi fruitFridge time is for ripe kiwis. | Until ripe |
| Lemons, limes, oranges and other citrusWhole fruit doesn't freeze well; juice and zest do. | 10 daysfrom purchase |
| Mango, papaya, passion fruit | 3–5 daysfrom purchase |
| Cantaloupe | 2–4 daysfrom purchase |
| Honeydew | 2–7 daysfrom purchase |
| Peaches, nectarines, plums, pearsOn the counter until ripe, then 1 to 2 days. Fridge time is for ripe fruit. Freezer time is for slices with lemon juice and sugar. | Until ripe |
| PineappleOn the counter until ripe, then 1 to 2 days. Fridge time is for ripe fruit. | Until ripe |
| Pomegranate | 2–5 daysfrom purchase |
| WatermelonCounter: 1 to 2 days from purchase, or until ripe. | 1–2 daysfrom purchase |
Vegetables and herbs
| Food | Pantry |
|---|---|
| Whole artichokes | 1–2 daysfrom purchase |
| Fresh beets | 1 dayfrom purchase |
| Pickled beets | 1 year |
| Baby carrotsBlanch before freezing. | 4 daysfrom purchase |
| Eggplant | 1 dayfrom purchase |
| Fresh basilCounter: stems in water. The fridge darkens the leaves. | 5 days |
| Garlic | 1 monthfrom purchase |
| Fresh ginger root | 2–5 daysfrom purchase |
| Dried mushrooms | 1–2 yearsfrom purchaseOpened: 3 months |
| Onions (yellow, white, red) | 1 monthfrom purchase |
| Green onions (scallions) | 1 monthfrom purchase |
| PotatoesFreezer time is for cooked or mashed potatoes. | 1–2 monthsfrom purchase |
| Sweet potatoes | 2–3 weeksfrom purchase |
| Whole pumpkin | 2–3 monthsfrom purchase |
| Winter squash (butternut, acorn) | 2–6 weeksfrom purchase |
| TomatoesOn the counter until ripe, then about 7 days. | Until ripe |
| Cherry tomatoes | 10 days |
| Summer squash | 1–5 daysfrom purchase |
Bread and baked goods
| Food | Pantry |
|---|---|
| Fresh-baked bagels | 1–2 days |
| Store-bought bread, rolls and buns | 14–18 daysfrom purchase |
| Homemade bread | 3–5 days |
| Store-bought cake | 3–7 daysfrom purchase |
| Crispy cookies | 4–6 monthsfrom purchase |
| Soft cookies | 2–3 monthsfrom purchase |
| Homemade muffins | 3–7 days |
| Store-bought muffins | 3–7 days |
| Fruit pie (apple, cherry, peach) | 1–2 days |
| Pumpkin pie | 2 hours |
| Pecan pie | 2 hours |
| Flour tortillas | 3 monthsfrom purchase |
| Corn tortillas | 25–45 daysfrom purchase |
Rice, grains, beans and pasta
| Food | Pantry |
|---|---|
| Breakfast cereal | 6–12 monthsfrom purchaseOpened: 2–3 months |
| Cereal and granola bars | 6–12 months |
| Uncooked white or wild rice | 2 yearsfrom purchaseOpened: 1 year |
| Uncooked brown rice | 1 yearfrom purchaseOpened: 1 year |
| Dried beans | 1–2 yearsfrom purchaseOpened: 1 year |
| Dried lentils | 1 yearfrom purchaseOpened: 1 year |
| Oatmeal and rolled oats | 12 monthsfrom purchaseOpened: 6–12 months |
| Whole grain oats (groats) | 4 months |
| Dry pasta (without egg) | 2 yearsfrom purchaseOpened: 1 year |
| Uncooked quinoa | 2–3 yearsfrom purchase |
Condiments and sauces
| Food | Pantry |
|---|---|
| Bottled barbecue sauce | 1 yearfrom purchase |
| Homemade barbecue sauce, canned | 9–12 months |
| Hot sauceStays fresher longer if refrigerated. | 6 months |
| Jam, jelly and preserves | 6–18 monthsfrom purchase |
| Ketchup, cocktail or chili sauce | 1 yearfrom purchase |
| Store-bought mayonnaise | 3–6 monthsfrom purchase |
| Mustard | 1–2 yearsfrom purchase |
| Dry ground mustard | 6 months |
| Olives in jars or cans | 12–18 monthsfrom purchase |
| Pasta sauce in a jar | 18 monthsfrom purchase |
| Tomato sauce (pasta, pizza)Refrigerating unopened jars doesn't make them last longer. | Until the use-by date |
| Pickles | 1 yearfrom purchase |
| Bottled salad dressing | 10–12 monthsfrom purchase |
| Creamy dressing (ranch, Caesar) | 6 monthsfrom purchase |
| Bottled vinaigrette | 6 monthsfrom purchase |
| Jarred salsa, picante and taco sauce | 1 yearfrom purchase |
| Soy sauce or teriyaki sauce | 3 yearsfrom purchase |
| Tahini | 1 yearfrom purchase |
| White and wine vinegar | 2 yearsfrom purchase |
| Apple cider vinegar | Indefinitely |
| Balsamic vinegar | 3–5 yearsfrom purchase |
Baking ingredients and spices
| Food | Pantry |
|---|---|
| Baking soda | 2–3 yearsfrom purchaseOpened: 6 months |
| Baking powder | 6–18 monthsfrom purchaseOpened: 3–6 months |
| Baking and dark chocolate | 1–2 yearsfrom purchaseOpened: 1 year |
| Cocoa powder and cocoa mixes | Indefinitelyfrom purchaseOpened: 1 year |
| White flour | 6–12 monthsfrom purchaseOpened: 6–8 months |
| Whole wheat flour | 3–6 monthsfrom purchase |
| Ground spices | 2–3 yearsfrom purchaseOpened: 2–3 years |
| Whole spices | 3–4 yearsfrom purchaseOpened: 3–4 years |
| Dried herbs | 1–2 yearsfrom purchaseOpened: 1–2 years |
| White sugarSugar never spoils; best within 2 years of opening. | IndefinitelyOpened: 18–24 months |
| Brown sugar | IndefinitelyOpened: 18–24 months |
| Powdered sugar | IndefinitelyOpened: 18–24 months |
| Pure vanilla extract | 2 yearsOpened: 12 months |
| Almond and other flavor extracts | 2 yearsOpened: 12 months |
| Dry yeast (packets or jar)Must be refrigerated or frozen once opened. | 2 yearsfrom purchase |
Pantry staples
| Food | Pantry |
|---|---|
| Store-bought broth or stock (carton, can)Bouillon cubes keep 1 year; made-up broth 3 to 4 days in the fridge. | Until the use-by date |
| Low-acid canned food (meat, fish, soup, beans, vegetables) | 2–5 yearsfrom purchaseOpened: Not recommended |
| High-acid canned food (fruit, tomatoes, juice, pickles) | 12–18 monthsfrom purchaseOpened: Not recommended |
| Canned coconut milk | 2–5 yearsfrom purchase |
| Canned coconut cream | 2–5 yearsfrom purchase |
| Crackers | 8 monthsfrom purchaseOpened: 1 month |
| Dried fruit (raisins, apricots, mango, cranberries) | 6 monthsfrom purchaseOpened: 1 month |
| Dates | 2 monthsfrom purchase |
| Evaporated or sweetened condensed milk, canned | 12 monthsfrom purchase |
| Honey | 2 yearsfrom purchase |
| Pure maple syrup, glass bottle | 4 years |
| Pure maple syrup, plastic bottle | 2 years |
| Pancake syrup | 1 yearfrom purchase |
| Nuts in jars or cans | 1 yearfrom purchaseOpened: 2–9 months |
| Walnuts | 2–4 weeksfrom purchase |
| Shelled peanuts | 4 weeksfrom purchase |
| Olive or vegetable oil | 6–12 monthsfrom purchaseOpened: 3–5 months |
| Canola oil | 1 yearfrom purchase |
| Regular peanut butter | 6–24 monthsfrom purchaseOpened: 2–3 months |
| Popcorn kernels | 2 yearsfrom purchaseOpened: 1 year |
| Microwave popcorn | 6–12 monthsfrom purchaseOpened: 1–2 days |
| Ready-popped popcorn | 2–3 monthsfrom purchaseOpened: 1–2 weeks |
| Potato chips | Until the use-by dateOpened: 1–2 weeks |
Drinks
| Food | Pantry |
|---|---|
| Bottled waterKeeps indefinitely; heat, sunlight and nearby smells can affect the taste. | Indefinitely |
| Whole coffee beans | 3–5 monthsfrom purchaseOpened: 3–5 months |
| Store-bought ground coffee | 2 yearsfrom purchaseOpened: 2 weeks |
| Instant coffee | 1 yearfrom purchaseOpened: 2–3 months |
| Spirits (vodka, whiskey, rum, gin) | Indefinitely |
| Cream liqueurs, unopened | 6–8 months |
| Tea bags | 18–36 monthsfrom purchaseOpened: 6–12 months |
| Loose tea | 2 yearsfrom purchaseOpened: 6–12 months |
| Instant tea | 2–3 yearsfrom purchaseOpened: 6–12 months |
| Red wine | 3–5 years |
| White wine | 1–2 years |
Baby food
| Food | Pantry |
|---|---|
| Baby cereal, dry | —Opened: 1 month |
| Prepared formula from powderAt room temperature, use within 1 hour. | —Opened: 1 hour |
Fridge at 4 °C (40 °F) or colder, freezer at −18 °C (0 °F). Freezer times are for best quality: food kept frozen stays safe, but slowly loses taste and texture. These times are USDA guidance, not a guarantee. When in doubt, throw it out.
Storage times: USDA FoodKeeper (Food Safety and Inspection Service), public domain. Text by ShelfLife.