Safe food handling comes down to a few numbers that actually matter: keep cold food at 40°F or below, cook poultry to 165°F, and never leave perishable food sitting in the range between 40°F and 140°F for more than two hours. That middle zone is where bacteria multiply fastest. Most foodborne illness in the US is preventable, and temperature control is the single biggest lever you have.
This guide covers the temperatures, the storage timelines, and the practical habits that keep food safe at home. Where the evidence is solid, it is stated plainly. Where guidance is more about common practice than hard data, that is noted too.
What Is the Temperature Danger Zone for Food?
The danger zone is 40°F to 140°F. Bacteria that cause foodborne illness grow most rapidly in this range, and some can double in number in as little as 20 minutes under ideal conditions.
That is why the two-hour rule exists. Perishable food left at room temperature should be refrigerated or discarded within two hours. If the room or outdoor temperature is above 90°F, that window shrinks to one hour.
The two-hour guideline comes from USDA food safety recommendations. It is not a precise biological cutoff — bacterial growth is a continuum, not a switch. But it is a practical, well-established threshold that keeps risk low for most people.
A detail many people miss: the danger zone applies to thawing too. Thawing meat on the counter puts the outer layers in the danger zone for hours while the center stays frozen. Thawing in the refrigerator, in cold water changed every 30 minutes, or in the microwave are the recommended methods.
What Temperatures Should You Cook Meat and Poultry To?
USDA establishes minimum internal cooking temperatures for safety. These are the numbers worth memorizing.
| Food | Minimum Internal Temperature |
|---|---|
| Poultry (all types, including ground) | 165°F |
| Ground meats (beef, pork, lamb) | 160°F |
| Whole cuts of beef, pork, veal, lamb | 145°F with a 3-minute rest |
| Fish and shellfish | 145°F |
| Eggs and egg dishes | 160°F |
| Leftovers and casseroles | 165°F |
The three-minute rest for whole cuts matters. During resting, the internal temperature holds steady or rises slightly, which gives pathogens additional time to be destroyed. Skipping the rest undermines the safety margin the temperature provides.
Use a food thermometer. Color is not a reliable indicator. Ground beef can turn brown before it reaches 160°F, and poultry can look done while still under the safe threshold. A thermometer inserted into the thickest part, avoiding bone and fat, is the only dependable way to know.
How Long Can You Store Food in the Refrigerator?
Refrigeration slows bacterial growth but does not stop it. Different foods have different safe storage windows even at 40°F or below.
- Raw poultry: 1 to 2 days
- Raw ground meat: 1 to 2 days
- Raw steaks and chops: 3 to 5 days
- Cooked meat and poultry: 3 to 4 days
- Cooked fish: 3 to 4 days
- Eggs in the shell: 3 to 5 weeks
- Hard-cooked eggs: 1 week
- Open deli meats: 3 to 5 days
- Cut melon: 3 to 4 days
- Leftover soups and stews: 3 to 4 days
These windows come from USDA and FoodSafety.gov storage guidance. They assume your refrigerator is actually holding at 40°F or below. Many home refrigerators run warmer than people assume, especially in the door shelves. An inexpensive refrigerator thermometer placed in the main compartment is worth having.
Freezer storage is a different story. Freezing at 0°F stops bacterial growth entirely, but it does not kill bacteria. Once thawed, the same spoilage and safety timelines resume. Freezer storage is about quality more than safety — food stays safe indefinitely, but texture and flavor degrade over time.
What Are the Rules for Cooling and Reheating Leftovers?
Cooling is the step where home cooks most often slip. A large pot of hot stew placed directly into the refrigerator can take many hours to pass through the danger zone, giving bacteria time to multiply.
The recommended approach is to divide large batches into shallow containers so heat escapes faster. Food should move from hot to cold as quickly as practical. USDA guidance suggests refrigerating within two hours of cooking and using shallow containers to speed cooling.
For reheating, leftovers should reach 165°F throughout. That is a higher target than the original cooking temperature for some foods, and it is intentional — reheating is a second safety step, not just a warming step. A microwave often heats unevenly, so stirring and checking temperature in several spots helps.
Reheat only what you plan to eat. Repeatedly reheating and cooling the same portion adds risk each cycle, and quality drops fast.
How Should You Handle Raw Meat and Cross-Contamination?
Cross-contamination is a leading cause of foodborne illness at home, and it usually happens invisibly. Raw meat juices carry bacteria that can transfer to cutting boards, knives, hands, countertops, and other foods.
The core habits are simple and well established:
- Use separate cutting boards for raw meat and for ready-to-eat foods like produce and bread.
- Wash hands with soap and water for at least 20 seconds after handling raw meat, poultry, seafood, or eggs.
- Do not rinse raw poultry. Rinsing splashes bacteria onto nearby surfaces. Cooking to 165°F destroys the bacteria — rinsing does not.
- Sanitize counters and utensils that touched raw meat before using them for anything else.
- Marinate food in the refrigerator, not on the counter, and never reuse marinade that touched raw meat unless it is boiled first.
Washing raw chicken is a habit many people grew up with. It is also one of the more clearly documented home food safety mistakes. Public health agencies consistently advise against it because the splash zone spreads contamination further than most people realize.
Does Food Safety Advice Differ for People at Higher Risk?
Yes, and the difference is meaningful. Some groups face a much higher risk of serious illness from the same pathogens that cause mild symptoms in healthy adults.
Higher-risk groups include adults over 65, pregnant women, young children, and people with weakened immune systems or certain chronic conditions. For these groups, some foods that are otherwise considered safe become risky.
Common examples include unpasteurized milk and juices, raw or lightly cooked eggs, raw sprouts, and deli meats that are not reheated. Listeria is a particular concern during pregnancy because it can cross the placenta, and it is one of the few pathogens that grows at refrigeration temperatures — which is why storage time matters even in a cold fridge.
This is a case where the general guidance is not one-size-fits-all, and the stricter recommendations for higher-risk groups are based on well-documented patterns of illness, not just caution for its own sake.
What About “Sell By” and Expiration Dates?
Date labels are one of the most misunderstood parts of food safety. With the exception of infant formula, most date labels in the US are not federally regulated safety dates. They are largely about quality.
“Sell by” tells the store how long to display a product. “Best if used by” is about peak quality, not safety. “Use by” is closer to a safety date but is still not standardized across products in the US.
This means a food past its “best by” date is not automatically unsafe, and a food within its date is not automatically safe if it has been mishandled. Temperature and time matter more than the printed date in most cases. Infant formula is the clear exception — its date is a genuine safety threshold and should be followed.
Frequently Asked Questions
How long can food sit out at room temperature?
Perishable food should be refrigerated or discarded within two hours, or within one hour if the temperature is above 90°F. This applies to the total time food spends in the 40°F to 140°F danger zone, including prep time.
What temperature kills bacteria in food?
Most harmful bacteria are destroyed when food reaches the USDA minimum internal temperatures, such as 165°F for poultry and 160°F for ground meat. Reaching the right temperature throughout the food, not just on the surface, is what matters.
Is it safe to eat leftovers after four days?
USDA guidance recommends eating refrigerated leftovers within three to four days. After that window, the risk of foodborne illness rises even if the food looks and smells fine.
Can you refreeze meat after thawing it?
Yes, if the meat was thawed in the refrigerator, it can be safely refrozen, though quality may suffer. Meat thawed on the counter or in warm water should not be refrozen.

