Skip to content
Food safety fundamentals

The Temperature Danger Zone in Food Safety

The danger zone is 40°F to 140°F, the range where bacteria multiply fastest, doubling in as little as 20 minutes. Keep hot food hot and cold food cold to stay out of it.

Guide editors · 5 min read

The temperature danger zone is 40°F to 140°F, per USDA guidance, the range where bacteria responsible for foodborne illness grow fastest, capable of doubling in number in as little as 20 minutes. Keeping hot food hot, at or above 140°F, and cold food cold, at or below 40°F, is what keeps food out of that range in practice.

This concept underlies most food-safety guidance that follows from it, including specific storage windows and cooking temperatures covered elsewhere on this site. Understanding the danger zone itself is the foundation the rest builds on.

Why this specific range matters

Bacteria capable of causing illness, including Staphylococcus aureus, certain strains of Salmonella, E. coli, and Campylobacter, grow at very different rates depending on temperature. Below 40°F, most bacterial growth slows dramatically, which is the entire reason refrigeration works as a food-safety tool. Above 140°F, most harmful bacteria are destroyed outright, which is why proper cooking temperatures matter so much.

Between those two points, bacteria find close to ideal growing conditions, and the speed of that growth is genuinely fast. Doubling in as little as 20 minutes means food that sits in this range for even a few hours can go from safe to genuinely risky, often without any obvious change in smell, taste, or appearance to warn you.

USDA versus FDA: a small but real difference

USDA's Food Safety and Inspection Service defines the danger zone as 40°F to 140°F, a range primarily aimed at general consumer food-safety education. The FDA, through federal food code guidance that applies to foodservice and retail settings, uses a slightly narrower range of 41°F to 135°F.

This isn't a genuine disagreement about the underlying science, both ranges describe essentially the same bacterial growth risk. The difference reflects the different contexts each guidance is written for: USDA's consumer-facing range and the FDA's regulatory standard for commercial food handling. For everyday home cooking, the USDA's 40°F to 140°F range is the more commonly cited and simpler reference point.

The 2-hour rule, and why it exists

Food shouldn't sit in the danger zone for more than 2 hours, or more than 1 hour if the surrounding temperature is above 90°F, a common situation outdoors in warm weather. This rule is a direct, practical consequence of how fast bacteria multiply within the danger zone: 2 hours is roughly the point at which that rapid doubling can push bacterial counts to a level capable of causing illness in a healthy person.

This window applies regardless of how the food looks or smells at that point. Food that's been sitting out for 3 hours doesn't necessarily look or smell any different than food that's been out for 1 hour, which is exactly why the guidance is a time limit rather than a "check for signs of spoilage" instruction.

Why time in the zone matters more than any single temperature

A common misunderstanding is expecting food to become unsafe only once it reaches some specific dangerous temperature. That's not how this works. The risk comes from cumulative time spent within the 40°F to 140°F range, not from touching any particular number within it. Food sitting at a mild 70°F for several hours can become unsafe, even though 70°F itself isn't a temperature anyone would consider hazardous on its own.

This is part of why food safety guidance so often talks about time limits rather than a single risky temperature: the danger zone is a range, and the clock starts the moment food enters it, whether that's a cooked dish cooling on the counter or raw meat left out before cooking.

Buffets, potlucks, and other extended-serving situations

A buffet, potluck, or any spread of food left out for guests to serve themselves over an extended period is one of the more common real-world situations where the danger zone's 2-hour clock quietly runs out unnoticed, since food often sits out considerably longer than a single sit-down meal would keep it exposed. Chafing dishes, warming trays, and ice-lined serving trays exist specifically to keep hot food above 140°F and cold food below 40°F throughout a long serving window, rather than relying on the food's starting temperature to hold on its own for hours.

For a host managing this kind of extended spread, swapping out serving dishes for freshly reheated or freshly chilled replacements partway through a long event, rather than leaving the same dish out from start to finish, is a practical way to reset the danger-zone clock partway through rather than letting a single serving dish silently accumulate hours of exposure.

Grilling and other outdoor cooking scenarios

Outdoor cooking introduces its own danger-zone considerations beyond a typical indoor kitchen, since raw meat waiting to go on a grill, side dishes sitting out on a picnic table, and cooked food waiting to be served can all spend time in the danger zone under warm outdoor conditions, where the stricter 1-hour window above 90°F often applies rather than the standard 2-hour indoor guidance. Keeping raw meat in a cooler until just before grilling, rather than staged out on a counter for the full duration of a cookout, and moving cooked food into shade or a cooler promptly rather than leaving it on a serving table in direct sun, both help keep outdoor food safety in line with the same underlying principle that governs indoor cooking.

This matters especially for a larger outdoor gathering where food might realistically sit out for several hours across an afternoon, exactly the scenario where the danger zone's time-based risk, rather than any single alarming temperature, quietly becomes the actual concern.

Applying this in everyday cooking

Refrigerating leftovers within 2 hours of cooking, not after a meal has fully wound down and dishes are done, is the single most common way this guidance shows up in practice. Keeping hot dishes actively hot, on a warming tray or over low heat, rather than letting them sit at room temperature during a long meal or gathering, is the other common application.

This same underlying principle is why cooked shrimp, cooked salmon, and other seafood covered throughout this site all specify getting food into the refrigerator within that same 2-hour window before their multi-day storage guidance even applies. The danger zone concept is the reason that first step matters as much as it does.

Why some bacteria don't follow this exact pattern

While the danger zone concept correctly describes the growth pattern for most foodborne bacteria of concern, a small number behave differently in ways worth knowing about specifically. Listeria, for instance, can grow slowly even at refrigerator temperatures below 40°F, which is part of why certain higher-risk foods, soft cheeses, deli meats, and cold-smoked seafood among them, carry specific guidance beyond the standard danger-zone framework for people in higher-risk groups like pregnant people or those with weakened immune systems.

This doesn't undermine the overall danger-zone concept, which still correctly describes the growth pattern for the majority of relevant foodborne bacteria, but it's a useful reminder that "properly refrigerated" addresses most, not literally all, bacterial risk, and that certain specific foods carry additional considerations layered on top of the general temperature-and-time framework covered throughout this guide.

How power outages complicate the danger zone

A power outage introduces a genuinely tricky version of the danger-zone question, since food in a refrigerator or freezer without power gradually warms toward room temperature over a period of hours, but exactly how quickly depends on the appliance, how full it is, and how often the door gets opened during the outage. General guidance holds that a full freezer keeps food safely frozen for about 48 hours without power (24 hours if half full), while a refrigerator without power generally keeps food safely cold for only about 4 hours, assuming the door stays closed as much as possible throughout the outage.

Using an appliance thermometer to check the actual internal temperature once power returns, rather than assuming food is fine simply because the outage felt short, is the more reliable way to judge whether refrigerated food spent enough time in the danger zone to warrant discarding it, since a seemingly brief outage during a hot day can still push food through more of the danger zone than a longer outage during cooler weather might.

Danger zone considerations for baby food and infant formula

Prepared baby food and mixed infant formula follow the same underlying danger-zone principles covered throughout this guide, but with less margin for error given how much more vulnerable infants are to foodborne illness compared to healthy adults. Mixed formula that's been at room temperature for more than an hour, or that an infant has partially fed from and returned to, generally shouldn't be used again, a more conservative standard than the general 2-hour guidance given infants' specific vulnerability and the difficulty of confirming exactly how the formula was handled once it's been fed from.

This stricter, more conservative approach for infant feeding specifically reflects the same core danger-zone logic applied with additional caution for a population at meaningfully higher risk from foodborne illness than the general adult population the standard 2-hour guidance is primarily built around.

Why home delivery and takeout introduce their own danger-zone gap

Food delivered from a restaurant, whether by a delivery driver or picked up and driven home, spends real time between leaving the kitchen and reaching your table, time that counts against the same danger-zone clock covered throughout this guide even though it happens outside your own direct observation. A delivery that took considerably longer than expected, sat in a hot car, or arrived lukewarm rather than properly hot deserves the same scrutiny as food that sat out too long at home, since the danger zone doesn't distinguish between food monitored in your own kitchen and food that spent an unknown stretch of time in a delivery bag.

Checking that delivered hot food actually arrives hot, and refrigerating any leftovers promptly rather than assuming a restaurant's preparation somehow exempts the meal from the same time-and-temperature principles covered throughout this guide, is a reasonable habit specifically because delivery and takeout introduce a genuine, often untracked gap in the danger-zone timeline that a home-cooked meal doesn't have to contend with.

The short version: 40°F to 140°F is the range to avoid lingering in, and 2 hours, or 1 in hot weather, is how long food can safely sit there before the risk becomes real. Keep hot food hot, cold food cold, and don't rely on how food looks or smells to tell you when time's run out.

Common questions

What is the temperature danger zone?

40°F to 140°F, per USDA guidance, the range where bacteria that cause foodborne illness grow fastest, capable of doubling in number in as little as 20 minutes. The FDA uses a slightly narrower range, 41°F to 135°F, for foodservice settings, but the underlying concept is the same.

Why do USDA and FDA use slightly different danger zone numbers?

USDA's 40°F to 140°F range is aimed at general consumer education, while the FDA's 41°F to 135°F range applies specifically to foodservice and retail settings under federal food code guidance. Both describe essentially the same risk; the small difference reflects different regulatory contexts, not a real disagreement about the underlying science.

How long can food safely sit in the danger zone?

No more than 2 hours at normal room temperature, or 1 hour if the surrounding temperature is above 90°F. Past that window, bacteria can multiply to unsafe levels even if the food still looks, smells, and tastes normal.

Does food need to reach a dangerous temperature to become unsafe?

No. The risk comes from time spent within the danger zone, not from reaching any specific unsafe temperature. Food sitting at 70°F for several hours can become unsafe even though 70°F itself isn't a dangerous temperature to touch or be near.

What's the simplest way to avoid the danger zone at home?

Keep hot food at or above 140°F and cold food at or below 40°F whenever it's not actively being prepared or eaten, and refrigerate leftovers within 2 hours of cooking. This single habit addresses most of the danger zone's practical risk in everyday cooking.

Back to all articles, or straight to the full menu with prices.