Food left out overnight: a loaf of bread, cooked rice, cheddar and brie, two eggs and half an avocado on a kitchen counter.

6 min read

Food safety

Emilly White

Food left out overnight: what's still safe

Food left out overnight is not all the same, because some foods are meant to live at room temperature. Bread, whole onions and a hard cheese usually get through the night, whereas cooked rice, cut fruit and eggs do not. Here is a keep-or-toss list for everyday foods, the 2-hour rule behind it, and why reheating cannot rescue perishable food.

Room temperature

2 hours

The most perishable food should sit out

Above 90°F

1 hour

Picnics, hot cars and summer kitchens

Left out overnight

Toss it

If it is perishable, reheating will not fix it

The short version: food left out overnight is only safe if it normally lives at room temperature, such as bread or whole onions. So anything perishable, including cooked rice, cut fruit, eggs and soft cheese, goes in the bin, however it looks.

Guidance from the USDA Food Safety and Inspection Service, Nebraska Extension and University of Maine Cooperative Extension.

The 2-hour rule for food left out

The rule comes from the USDA: never leave perishable food between 40 and 140°F for more than 2 hours, and only 1 hour when it is above 90°F, such as at a picnic or in a hot car. That range is called the Danger Zone, because bacteria can double in as little as 20 minutes there.

In fact, overnight is far past either limit. So the real question is not how long the food sat out, but whether it was perishable in the first place, which is what the list below sorts out.

Food left out overnight: keep or toss

In general, these verdicts assume a normal room for a whole night, roughly 8 to 12 hours. Also, each food links to its full guide, and if you are unsure, throw it out.

Food

Left out overnight?

Why

Raw eggs in the shell

Throw them out

Once chilled, eggs should not sit out more than 2 hours, since a cold egg can sweat and let bacteria in. See the egg guide.

Hard-boiled eggs

Throw them out

Because they are cooked, they belong in the fridge within 2 hours of cooking.

Hard cheese, such as cheddar or Parmesan

Usually keep, for cooking

Hard cheese may still be safe, although it dries and cracks, so wrap it, chill it and cook with it. See the cheese guide.

Soft cheese, such as brie or fresh mozzarella

Throw it out

Unlike hard cheese, soft and fresh cheeses left out overnight should be discarded.

Cream cheese

Throw it out

Since it is a soft cheese, it goes too, even though it can look and smell normal after hours out. See the cream cheese guide.

Bread and bagels

Keep

Because they are meant to be stored at room temperature, a night out does no harm. See the bread and bagel guides.

Whole onions, garlic, potatoes, bananas, apples and tomatoes

Keep

They keep on the counter anyway, as long as they are whole. See the onion and tomato guides.

Whole strawberries

Keep, but eat them today

Warmth dulls their color and flavor, so it is a quality problem rather than a safety one. See the strawberry guide.

Cut fruit and vegetables, such as a cut avocado, onion or tomato

Throw them out

However, cut and peeled produce should not be at room temperature for more than 2 hours. See the avocado guide.

Bagged spinach and salad greens

Throw them out

They are cut produce, so the same 2-hour limit applies. See the spinach guide.

Cooked rice

Throw it out

That is because its bacteria make toxins that reheating does not remove.

Cooked potatoes and other cooked vegetables

Throw them out

Cooked vegetables are perishable, and so they follow the 2-hour rule.

Whole mushrooms

Keep, cook them soon

Although they are fine at room temperature, they dry out within a day or two. See the mushroom guide.

Specifically, the cheese verdicts come from U.S. Dairy, the eggs from Iowa State University Extension, and cut produce from the USDA.

Why reheating food left out overnight does not help

Because some bacteria leave toxins behind. Nebraska Extension explains that when food sits out too long, staph bacteria can form a heat-resistant toxin that cooking cannot destroy, so the food can still make you sick after it is piping hot.

Similarly, cooked rice has its own version. University of Maine Cooperative Extension says Bacillus cereus spores survive cooking, then grow and produce heat-stable toxins in rice left at room temperature. In other words, heat kills the bacteria but not what they have already made, which is also why smell and look are no guide.

Common questions about food left out overnight

Does a lid make food left out overnight safe?

No, because the 2-hour rule is about temperature, not air. So a lid or a sealed container keeps dust out but does nothing to slow bacteria between 40 and 140°F. As a result, covered leftovers follow the same rule as uncovered ones.

Is the 2-hour rule real?

Yes, since it is the USDA's own limit, set with a margin because bacteria can double every 20 minutes in the Danger Zone. So food at 2 hours is not suddenly toxic, but food left out overnight has had many hours of growth.

What about food left out overnight in a cold room?

The rule applies whenever food is between 40 and 140°F, and most rooms stay well above 40°F even in winter. Unless you know the spot stayed at 40°F or below all night, treat it like room temperature. For food in a fridge that lost power, see food after a power outage.

Is rice left out overnight safe to eat?

No, because University of Maine Cooperative Extension says to refrigerate cooked rice within 2 hours, or 1 hour above 90°F, and then eat it within 3 to 4 days. So rice left out overnight should be thrown out, even if you plan to reheat it.

Sources

Storage times and safety advice on this page come from the sources above. Food safety depends on conditions I cannot see, so read the Disclaimer, and if in doubt, throw it out.

Other ingredient guides

Browse all guides
A block of cream cheese on its opened foil and an open tub of cream cheese with its lid beside it on a wooden cutting board.

How to store tomatoes

Read the guide
A block of cream cheese on its opened foil and an open tub of cream cheese with its lid beside it on a wooden cutting board.

How to store mushrooms

Read the guide
A block of cream cheese on its opened foil and an open tub of cream cheese with its lid beside it on a wooden cutting board.

How to store apples

Read the guide
A block of cream cheese on its opened foil and an open tub of cream cheese with its lid beside it on a wooden cutting board.

How to store bananas

Read the guide
A block of cream cheese on its opened foil and an open tub of cream cheese with its lid beside it on a wooden cutting board.

How to store bread

Read the guide
A block of cream cheese on its opened foil and an open tub of cream cheese with its lid beside it on a wooden cutting board.

How to store bagels

Read the guide
A block of cream cheese on its opened foil and an open tub of cream cheese with its lid beside it on a wooden cutting board.

How to store spinach

Read the guide
A block of cream cheese on its opened foil and an open tub of cream cheese with its lid beside it on a wooden cutting board.

How to store cream cheese

Read the guide

About the author

Emilly White

Emilly White

Emilly White is a food blogger from Illinois who has been writing about food since 2015. Every guide names the published guidance behind its storage times.

More about Emilly
Scroll to Top