StillSafeFood
USDA/FDA guidance

Can Cooked Vegetables Sit Out Overnight?

Last reviewed: May 2026

Quick answer

No. Cooked vegetables left out overnight must be discarded. While vegetables may seem lower-risk than meat or dairy, cooked vegetables are perishable — the USDA 2-hour rule applies to all cooked food, including roasted, steamed, stir-fried, or boiled vegetables. Overnight (8 or more hours) far exceeds the safe window.

Bottom line: discard them

Cooked vegetables left out overnight have exceeded the USDA 2-hour safe limit. Discard them — reheating will not make them safe.

The USDA 2-hour rule for cooked vegetables

The USDA recommends discarding all perishable cooked food left at room temperature for more than 2 hours. This rule applies to cooked vegetables the same as to cooked meat or dairy. At temperatures above 90°F (32°C), the window drops to 1 hour. In the temperature danger zone between 40°F and 140°F (4°C–60°C), bacteria can multiply rapidly in cooked food of any kind. See the official food-safety sources used by StillSafeFood for references.

This applies to all cooked vegetables: broccoli, carrots, green beans, corn, peas, squash, spinach, potatoes, sweet potatoes, and mixed vegetable dishes.

Are cooked vegetables lower risk than meat?

Cooked vegetables generally carry a different risk profile from cooked meat — pathogens like Salmonella and Campylobacter are more commonly associated with poultry and meat. However, cooked vegetables can still support bacterial growth at room temperature. Starchy or high-moisture vegetables such as cooked potatoes, corn, and peas are particularly susceptible. The USDA does not make an exception for vegetables in its 2-hour guideline.

Safe storage for cooked vegetables

  • Refrigerate cooked vegetables within 2 hours of cooking (1 hour above 90°F).
  • Store in a shallow, airtight container at or below 40°F (4°C).
  • Consume refrigerated cooked vegetables within 3–4 days.
  • Separate vegetables from meat or sauce dishes if storing together.

Frequently asked questions

Can cooked vegetables sit out overnight?

No. Cooked vegetables are perishable — discard any cooked vegetables left at room temperature for more than 2 hours.

Are cooked vegetables safer to leave out than meat?

Not significantly. Cooked vegetables can still support bacterial growth at room temperature. The USDA 2-hour rule applies to all cooked food, including vegetables.

What about cooked potatoes left out overnight?

Cooked potatoes left out overnight must be discarded. Potatoes are starchy and high-moisture, making them particularly susceptible to bacterial growth at room temperature.

Check your vegetables

Use StillSafeFood to check any cooked vegetable dish — roasted, steamed, stir-fried, or sautéed.

Check your food →

Related food safety questions

If you think you may have food poisoning or feel seriously ill after eating, contact a healthcare provider or your local poison control center.