Here's How Long You Have to Safely Eat 25 Unrefrigerated Foods


View as:

person throwing cooked pasta in trash bin
Photo credit: AndreyPopov/istockphoto


We've all been guilty of letting foods sit out perhaps a bit too then wondering what dishes or ingredients are still safe to eat. Luckily, there's a wealth of information available on food safety, so that you can be sure you're not wasting good leftovers, or accidentally ingesting spoiled ones. Here are 25 everyday foods and how long you have to eat them while unrefrigerated before they should be tossed.

Bowl of white and brown eggs
Photo credit: bribantilla/shutterstock


Time: Around two hours
As with most meat products, raw, scrambled, or hard-boiled eggs should be tossed if left to sit at room temperature for two hours or longer, as they'll begin to sweat, facilitating bacterial growth. This rule will vary in the U.K. and most of Europe, where safety procedures permit chicken eggs to be sold unrefrigerated.

stick of butter, cut
Photo credit: funkybg/istockphoto


Time: One to two days
Most refrigerated sticks of butter will last up to one month after the sell-by date on the package. Unlike most dairy products, however, butter can also survive at room temperature without spoiling for one to two days, thanks mostly to its low lactose levels and high saturated fat content.

mozzarella and tomatoes on slate
Photo credit: ValentynVolkov/istockphoto


Time: Varies, around two to 12 hours
Leaving cheese out overnight can affect quality, but isn't typically dangerous, the Wisconsin Milk Marketing Board says. In fact, all but fresh or shredded cheeses such as feta or mozzarella should be given an hour on average to come to room temperature, when hard cheeses become easier to cut and soft ones easier to spread. Be more careful about the latter after several hours, as soft cheeses more easily encourage bacterial growth.

turkey leftovers
Photo credit: Jodi Jacobson/istockphoto


Time: Around two hours
If you get distracted and leave cooked food out after dinner or for a party buffet at home, take care to refrigerate the leftovers after roughly two hours, when the likelihood of contracting sickness from the food begins to increase fast. If the ambient temperature is over 90 degrees, however, the food shouldn't be left unrefrigerated for longer than an hour.

deli cut black forest ham
Photo credit: LauriPatterson/istockphoto


Time: Around two hours
According to's recommendations, which err on the side of caution, cold cuts and other sliced deli meats used for wraps or sandwiches won't last any longer out of the fridge than raw or regular cooked meat. It's best to discard either after two hours in temperatures of from 40 to 140 degrees.

homemade apple pie with cranberries and cinnamon
Photo credit: Geshas/istockphoto


Time: Two days
Apple and other fruit pies need not be refrigerated right after baking — instead, leave them on the counter or in the pantry for about two days before storing in the fridge. From there, the pie should be eaten or discarded within four to five days, during which time individual slices can sit at room temperature two to three hours without risk.

freshly washed romaine lettuce in a large bowl
Photo credit: stephanie phillips/istockphoto


Time: Around two hours
Precut or prewashed greens won't survive safely at room temperature for much longer than two hours; raw spinach, kale, or romaine lettuce are only slightly heartier, with outer leaves of intact heads of lettuce or cabbage spoiling first. All of these greens can last from seven to 10 days when refrigerated.

yogurt with berries
Photo credit: LOVE_LIFE/istockphoto


Time: Around two hours
Yogurt and other dairy products can be left to sit for two hours before bacteria begin to grow, making it potentially unsafe to eat. This process is accelerated at temperatures over 90 degrees, or in yogurts with added fruit and sugars.

mayonnaise on wooden counter
Photo credit: ValentynVolkov/istockphoto


Time: Around eight hours
Unopened mayonnaise can be kept in the pantry indefinitely, but once opened, the egg yolk-derived condiment quickly becomes vulnerable to spoilage if left out. recommends discarding mayonnaise after sitting at above 50 degree temperatures for more than eight hours.

champignon mushrooms in a basket on dark boards
Photo credit: Olha_Afanasieva/istockphoto


Time: One day
Mushrooms left accidentally on the counter overnight will still be safe to eat — just check for brown or slimy spots that should be cut off after too long. Once cooked, however, mushrooms became like most other prepared foods in that they shouldn't be kept at room temperature more than two hours.

jar of wild berry jam
Photo credit: baibaz/istockphoto


Time: One to two days
The acids and natural or added sugars in jellies and jams act as natural preservatives, so an opened jar left at room temperature for one to two days will be fine, provided there are no signs of spoilage such as mold or strange odor. If refrigerated, jellies will remain at peak quality for roughly an entire year.

close-up of green, red and orange bell peppers
Photo credit: anzeletti/istockphoto


Time: One to two days
Whether bell or jalapeño, raw peppers can be left to sit at room temperature for multiple days without concern. For the longest shelf life, however, it's best to store them in airtight containers or bags in the fridge for one to two weeks. Raw cut or cooked peppers can also stay in the fridge for three to five days, but shouldn't sit out longer than two hours.

tomatoes on farmer market
Photo credit: encrier/istockphoto


Time: One to five days
Tomatoes are a countertop-safe vegetable with a high production rate of ethylene, which means they can be used to speed up the ripening process of nearby fruits or vegetables. Fresh ones will ripen fully in one to five days, after which they can be stored in the fridge for another five to seven before beginning to mold.

batch of bananas on wooden background
Photo credit: letty17/istockphoto


Time: Two to five days
Only refrigerate bananas once they've reached the desired ripeness, which keeps them suitable for eating another five days even as the skin darkens. Before then, they're best stored at room temperature for several days while they ripen to yellow-brown or brown for baking, as with most other countertop-safe fruits.

9 grain artisan bread loaf
Photo credit: Lauri Patterson/istockphoto


Time: One week
Though pre-sliced or whole loaves can be frozen for long-term storage, refrigeration is almost never recommended for bread, as it can quickly turn a loaf dry and stale. Whether sliced or not, soft-crusted breads keep for five to seven days on the counter, while hard-crusted breads like baguettes last only a day or two.

woman smelling fresh basil at home
Photo credit: demaerre/istockphoto


Time: Seven to 10 days
Basil is the rare fresh herb that shouldn't be refrigerated, lest its leaves begin to spoil and turn black. Basil stored at room temperature can last from seven to 10 days. To maximize that shelf life, trim the basil's ends and place the stems in an inch or so of water covered by a loose-fitting plastic bag.

potatoes on wooden counter
Photo credit: YelenaYemchuk/istockphoto


Time: One to two weeks
Refrigeration converts some of the starches in raw potatoes to sugars, which means the versatile spuds are best stored in a dark, cool pantry for a shelf life of one to two weeks. Cooked potatoes can last three to five days in the fridge, though not at peak quality; for prep work, raw cut potatoes can be submerged in cold water and refrigerated for up to 24 hours before cooking.

green avocado in hand on an orange background
Photo credit: Ekaterina0609/istockphoto


Time: Two to seven days, until ripe
Avocados should be stored at room temperature until fully ripened, at which point the skin will feel slightly soft when squeezed. Then they can be used promptly or kept for longer within the fridge, where they'll stay good another three to five days. Avocados puréed with a dash of lemon juice can also last months longer in the freezer.

tortillas on wooden counter
Photo credit: LauriPatterson/istockphoto


Time: Two to four weeks
Opened or unopened flour and corn tortillas can last up to a month in the pantry — or more conservatively, up to one week after their "best by" date. They'll last another two to six weeks once refrigerated, though this will tend to dry them out, like with bread.

peanut butter jar and knife holding some of it
Photo credit: BarnabyChambers/istockphoto


Time: One to three months
There's no need to refrigerate even an opened jar of peanut butter, as it can keep well for up to three months at room temperature. Some natural peanut butters (without hydrogenated oils) call for refrigeration on their labels, but will still last up to a month in the pantry, and be easier to spread.

Photo credit: kajakiki/istockphoto


Time: One month or more
Many of the most common condiments last perfectly fine outside the fridge, including ketchup and barbecue sauces – both will keep up to one month at room temperature. The timeframes are even more generous in more acidic condiments such as mustard (two months), soy sauce (one year), and hot sauce (three years).

onions on white rustic wooden background
Photo credit: Nedim_B/istockphoto


Time: Two to three months
Keep whole raw onions in a loosely covered container in the pantry at temperatures of 45 to 55 degrees to make them last up to three months — the same length they would last in the fridge, where they should be stored only once chopped or in especially hot locations. Take care not to keep them near potatoes, as the two veggies in close proximity can accelerate each other's spoilage.

bunch of fresh garlic with celery herbs
Photo credit: MarianVejcik/istockphoto


Time: Three to five months
At ideal temperatures of 55 to 60 degrees, bulbs of garlic will keep on the counter for nearly six months before spotting and turning soft with spoilage, while unpeeled individual cloves will last seven to 10 days. Garlic will usually start to sprout before going bad, so cooks may want to remove the green sprouts to get rid of their bitter (but otherwise harmless) taste.

almond milk on wooden counter with almonds
Photo credit: bhofack2/istockphoto


Time: Varies
Some non-dairy milks such as almond or soy are ultra-pasteurized and sealed in Tetra Pak cartons, allowing unopened containers to be stored at room temperature for up to a month. Once opened, however, ultra-pasteurized and other almond milks (sold refrigerated) should be used within seven to 10 days, and not left out unrefrigerated for longer than two hours.

Italian vinaigrette dressing in a mason jar
Photo credit: VeselovaElena/istockphoto


Time: Varies
Premade salad dressings vary widely in terms of flavor and ingredients, but the chief consideration in evaluating shelf life once opened should be whether the dressing is cream-based or vinegar-based. Vinegar-based sauces contain natural preservatives that can keep them safe at room temperatures after several hours, whereas cream-based sauces such as ranch or blue cheese dressing should be tossed after two hours sitting out. participates in affiliate marketing programs, which means we may earn a commission if you choose to purchase a product through a link on our site. This helps support our work and does not influence editorial content.