How Long Do Cooked Vegetables Last?
Cooked vegetables last 3–4 days in the fridge and 2–3 months in the freezer. Refrigerate them within 2 hours of cooking.
Cooked Vegetables — cooked
shelf lifeFridge at 40°F (4°C) or below · freezer at 0°F (−18°C). Freezer times are for best quality; frozen food stays safe longer.
Cooked vegetables include any roasted, steamed, sautéed, boiled or grilled vegetables saved from a meal. Cooking breaks down the cell walls and removes the natural protection of intact skin, so vegetables that would keep for weeks raw become perishable, low-acid leftovers that follow the same rules as cooked meat. Texture suffers well before safety does.
How to store cooked vegetables
- Let roasted vegetables cool uncovered for a few minutes before sealing the container, so trapped steam does not turn them soggy, but get them into the fridge within 2 hours.
- Store them plain when possible and add dressings, cheese or fresh herbs when you serve them again.
- Re-crisp roasted vegetables on a sheet pan at 425°F (220°C) for 5–10 minutes or in an air fryer; the microwave reheats them safely but leaves them soft.
- Sturdy vegetables such as roasted squash, carrots, corn, peas and green beans freeze acceptably. High-water ones such as zucchini, mushrooms and leafy greens turn mushy and are best puréed into soup.
- Garlic or herbs cooked in oil with vegetables must also be refrigerated, never kept on the counter.
How to tell if cooked vegetables have gone bad
- A sour, sulfurous or fermented smell; cooked broccoli, cabbage and Brussels sprouts smell strongly when they go off.
- A slimy or slick coating, especially on cooked greens, zucchini and mushrooms.
- Fuzzy mold, or liquid in the container that has turned cloudy and stringy.
- Dulling of bright green color to olive is a normal result of cooking and storage, not spoilage.
Bacteria that cause food poisoning usually do not change the look, smell or taste of food. Go by the time limits first, and the signs above second.
Cooked Vegetables shelf life chart
| State | Fridge | Freezer | Pantry |
|---|---|---|---|
| Cooked | 3–4 days | 2–3 months | Not safe |
| Roasted, steamed, sautéed and grilled vegetables, with or without butter or sauce. | |||
Not safe = perishable: no more than 2 hours at room temperature (1 hour above 90°F / 32°C). Not recommended = possible, but quality suffers or it serves no purpose.
Frequently asked questions
How long do cooked vegetables last in the fridge?
Cooked vegetables last 3–4 days in the fridge at 40°F (4°C) or below. That is shorter than most of them would last raw, because cooking softens the tissue and removes natural barriers. The limit is the same for roasted, steamed, boiled and stir-fried vegetables.
Can you freeze cooked vegetables?
Yes, for 2–3 months at best quality at 0°F (−18°C), but expect them to be softer when thawed. Use them in soups, casseroles, frittatas, fried rice or purées rather than as a stand-alone side. For vegetables you intend to freeze, blanching them raw gives a much better texture than fully cooking them first.
Are cooked vegetables safe if left out overnight?
No. Cooked vegetables are a perishable food and should be discarded after more than 2 hours at room temperature. People often assume only meat is risky, but cooked vegetables, potatoes and rice all support bacterial growth, and harmful bacteria do not produce a visible or smellable warning.
Why do leftover roasted vegetables turn soggy?
They soften because steam trapped in a sealed container condenses back onto them, and salt keeps drawing water out of the cells as they sit. Cool them briefly before covering, store them in a single layer if you can, and reheat with dry heat in a hot oven, skillet or air fryer instead of the microwave.
Do roasted vegetables last longer than steamed ones?
No, both keep 3–4 days. Roasting drives off surface moisture and adds oil, which helps flavor and texture, but it does not make the vegetables shelf-stable or meaningfully slow bacterial growth in the fridge. Roasted vegetables do tend to reheat better because they start out less waterlogged.
Related foods
| Food | Fridge | Freezer | Pantry |
|---|---|---|---|
| Frozen Vegetables Unopened |
1–2 days | 8–12 months | Not safe |
| Broccoli Fresh |
3–5 days | 8–12 months | Not recommended |
| Carrots Whole |
3–4 weeks | 8–12 months | Not recommended |
| Mashed Potatoes Cooked |
3–4 days | 1–2 months | Not safe |
| Soup Homemade |
3–4 days | 2–3 months | Not safe |
| Canned Vegetables Unopened |
Not recommended | Not recommended | 2–5 years |
More sides: Cooked Beans, Fried Rice, Gravy, Stuffing.
Reviewed 2026-09-20. Times follow published USDA FoodKeeper / FSIS, FDA and CDC storage guidance; where sources differ we use the shorter time. How we compile this data.