USDA-based · How this page was made · Last reviewed August 18, 2026 · Sources ↓
The Danger Zone: why 40°F and 140°F are the only two numbers that matter
Every storage window on this site — every one — is a countdown derived from these two numbers.
What the danger zone is
The USDA calls the range between 40°F and 140°F the Danger Zone. It is the band of temperatures where bacteria that cause foodborne illness multiply fastest. Below 40°F they slow down to a crawl. Above 140°F they start dying. In between — which includes every temperature your kitchen counter has ever been — they thrive.
The speed is the part most people underestimate. In the middle of that range, common foodborne bacteria can double roughly every 20 minutes. A single bacterium becomes over 2,000 in four hours, and over sixteen million in eight. That is why a difference of an hour or two on the counter matters far more than it intuitively should.
Where the two-hour rule comes from
This is the practical form of the rule, and it is worth memorizing:
- Two hours. Perishable food should not sit in the danger zone for more than two hours total before it goes back under 40°F or above 140°F.
- One hour if it is above 90°F. A hot car, a summer picnic, a patio table in July. The window halves.
"Total" is doing real work in that sentence. The clock is cumulative across the whole life of the food, not reset each time you put it away. Twenty minutes in a warm car on the way home, forty minutes on the counter while you cook, an hour on the table during dinner — you have spent your two hours before the leftovers ever reach the fridge.
This is also why our storage windows assume the food was handled properly before it got to you. A published "3 to 4 days" for leftovers means three to four days for food that went into the fridge promptly. It is not a promise about a container that spent the evening out.
The distinction that matters most: spoiled is not the same as dangerous
If you take one thing from this page, take this. There are two different families of bacteria at work in your food, and they behave in opposite ways.
Spoilage bacteria make food unpleasant. They are responsible for the sour milk smell, the slimy film on old deli meat, the off taste in leftovers. They are mostly harmless. They are also, helpfully, obvious — your nose is a decent instrument for detecting them.
Pathogenic bacteria make you ill. Salmonella, Listeria monocytogenes, E. coli O157:H7, Campylobacter. And here is the problem: they generally do not change how food looks, smells, or tastes. Food loaded with enough Salmonella to hospitalize you can look and smell completely normal.
So "it smells fine" is not evidence of safety. It is evidence about the wrong organism. This is the single most important reason to use time-and-temperature rules rather than your senses, and it is why the USDA's advice ends where it does: when in doubt, throw it out.
Cold slows bacteria, it does not kill them
Refrigeration at or below 40°F does not sterilize anything. It slows bacterial growth to the point where food stays safe for a usefully long time — days, not hours — but the population is still creeping upward. That is why every fridge window on this site eventually runs out.
Freezing at 0°F goes further and stops growth entirely. Food held at 0°F is safe indefinitely, which is a genuinely surprising fact: the freezer times we publish are quality windows, not safety ones. A chicken breast frozen for two years is still safe to eat. It will just taste like a chicken breast that was frozen for two years.
But freezing does not kill most bacteria either — it pauses them. When the food thaws, they resume where they left off, which is why thawing on the counter is a bad idea and thawing in the fridge is the right one. The outside of a roast sitting on the counter reaches danger zone temperatures long before the middle has thawed.
Reheating does not undo it
Reheating leftovers to 165°F kills the bacteria that grew while the food sat out. This is genuinely useful, and it is why the USDA gives 165°F as the reheating target.
What it does not do is undo everything. Some bacteria — Staphylococcus aureus and Bacillus cereus among them — produce heat-stable toxins as they grow. The toxin survives cooking temperatures that comfortably kill the bacterium that made it. Food that spent a long night on the counter can be sterile after reheating and still make you sick.
That is the mechanism behind the reputation of leftover rice, which we cover in more detail on the cooked rice page. You cannot cook your way out of a time-and-temperature failure.
What to actually do
- Keep the fridge at or below 40°F and the freezer at 0°F, and verify it with a thermometer rather than trusting the dial. See our fridge temperature guide — this is the highest-value few dollars you can spend on food safety.
- Refrigerate leftovers within two hours, and do not wait for them to cool first. Modern refrigerators handle warm food fine.
- Divide large batches into shallow containers, no more than about two inches deep. A stockpot of chili can take many hours to cool through in one mass, most of it spent in the danger zone.
- Thaw in the fridge, in cold water, or in the microwave — never on the counter.
- Keep hot food above 140°F and cold food below 40°F while serving, not just while storing. See the picnic and buffet clock.
Once you have these two numbers, every specific window on this site is just the same rule applied to a particular food. Start with the leftovers category if you want to see how it plays out in practice, or leftovers and the 165°F reheat rule.
Sources
- USDA FSIS: "Danger Zone" (40°F–140°F) — USDA FSIS, 2026
- USDA FSIS: Leftovers and Food Safety — USDA FSIS, 2026
- CDC: Four Steps to Food Safety — CDC, 2026
- FDA: Refrigerator Thermometers — Cold Facts about Food Safety — FDA, 2026