Food Safety Basics: The Danger Zone, Storage, and Leftovers

This post may contain affiliate links | disclosure policy

The temperature danger zone is 40 to 140°F (4 to 60°C), the range where bacteria grow fastest. Keeping food out of it is the heart of food safety: cook food to a safe temperature, keep hot food hot and cold food cold, refrigerate leftovers within 2 hours, and keep raw meat away from everything else.

Cooking with confidence starts with knowing your food is safe. The good news is that a few simple habits handle almost everything. Here’s what I follow in my own kitchen, with the USDA’s numbers to back it up.

The Temperature Danger Zone

Bacteria grow most rapidly between 40°F and 140°F (4 to 60°C), doubling in number in as little as 20 minutes. That’s why the most important food safety rules are about time and temperature.

Infographic of the temperature danger zone on a thermometer, showing 40 to 140 degrees Fahrenheit as the danger zone, 140 degrees and up for hot food, 165 degrees for reheating, 40 degrees or below for the fridge, and 0 degrees or below for the freezer.
  • The 2-hour rule: don’t leave perishable food at room temperature for more than 2 hours, or 1 hour if it’s above 90°F (32°C), like at a picnic.
  • Keep hot food hot: 140°F (60°C) or warmer. A 200°F oven, chafing dish, slow cooker, or warming tray works. Some warming trays only reach about 120°F, which isn’t hot enough.
  • Keep cold food cold: 40°F (4°C) or below. Outdoors, use a cooler with ice or ice packs.

See my Holiday Food Safety Tips for buffets and big meals, and my BBQ Food Safety Tips for eating outdoors.

Safe Cooking Temperatures

An instant-read thermometer is the only way to know food has reached a safe temperature. Color can fool you: pink pork and turkey can be fully cooked, and browned meat can still be underdone.

Instant-read thermometer inserted into a golden roast chicken on a wire rack.
FoodUSDA safe minimum internal temperature
Beef, pork, veal, and lamb steaks, chops, and roasts145°F (63°C), then rest at least 3 minutes
Ground beef, pork, veal, and lamb160°F (71°C)
All poultry, including ground chicken and turkey, and stuffing165°F (74°C)
Fish145°F (63°C)
Shellfish145°F (63°C); clams, mussels, and oysters until the shells open
Eggs and egg dishes160°F (71°C)
Fully cooked ham, reheated140°F (60°C); 165°F (74°C) if not packaged in a USDA-inspected plant
Leftovers and casseroles165°F (74°C)

For doneness temperatures by food, like medium-rare steak or 160°F chicken breast, see my Food Temperature Guide, and my Carryover Cooking guide for when to take meat off the heat. If you’re cooking for young children, pregnant women, older adults, or anyone with a weakened immune system, stick with the USDA safe minimums above.

Check your thermometer now and then: it should read 32°F (0°C) in ice water and 212°F (100°C) in boiling water at sea level.

Storing and Thawing Food

Fridge and Freezer

  • Keep the fridge at 40°F (4°C) or below and the freezer at 0°F (−18°C) or below. An inexpensive appliance thermometer tells you for sure.
  • Keep raw meat, poultry, and seafood in a sealed container or wrapped well so their juices can’t drip onto other food.
  • Keep eggs in their carton in the main part of the fridge, not the door, where the temperature swings (see Types of Eggs).
  • Food kept frozen at 0°F stays safe indefinitely; freezer times are about quality.
Raw food in the fridgeCook or freeze within
Poultry and ground meat1 to 2 days
Steaks, chops, and roasts3 to 5 days
Eggs in the shellAbout 3 weeks

How to Thaw Food Safely

Never thaw meat, poultry, or seafood on the counter. The outside warms into the danger zone while the center is still frozen. Use one of these three ways instead.

Frozen turkey in its wrapper thawing on a rimmed pan in the refrigerator.
MethodHow longGood to know
In the fridge (best)About a full day for a pound of ground meat or boneless chicken breasts; 1 day per 4 pounds for a whole turkeyGround meat, poultry, and seafood keep a day or two more after thawing, and red meat 3 to 5 days. You can refreeze it without cooking, though the texture may suffer a little.
In cold waterAbout 30 minutes per pound for a whole turkeySeal it in a leak-proof bag, keep it submerged, and change the water every 30 minutes. Cook it right away once it’s thawed.
In the microwaveA few minutes on the defrost settingCook it right away, since some parts may start to cook.

In a hurry? You can cook meat and poultry straight from frozen; it takes about 50% longer. See How to Thaw a Turkey for a turkey timeline by weight.

How Long Leftovers Last

  • Refrigerate within 2 hours of cooking (1 hour above 90°F).
  • Cool it fast: divide big batches of soup, stew, or rice into shallow containers or smaller portions. Hot food can go straight into the fridge; you don’t need to cool it on the counter first.
  • Eat within 3 to 4 days. After that, freeze it or toss it. See my food storage chart for specific foods.
  • Freeze for 3 to 4 months for the best quality. Frozen leftovers stay safe longer, but they lose moisture and flavor.
  • Reheat to 165°F (74°C), and bring sauces, soups, and gravies to a rolling boil.
LeftoverFridgeFreezer (best quality)
Cooked meat and poultry3 to 4 days2 to 6 months
Casseroles3 to 4 days2 to 3 months for casseroles with eggs
Soups and stews3 to 4 days2 to 3 months
Pizza3 to 4 days1 to 2 months
Cooked rice4 days1 to 2 months
Homemade stock4 days2 to 3 months
Hard-cooked eggs1 weekDon’t freeze
Homemade mayonnaise3 to 4 days–

Avoiding Cross-Contamination

  • Wash your hands with soap and warm water for at least 20 seconds before cooking and after touching raw meat, poultry, seafood, or eggs.
  • Use separate cutting boards: one for produce and bread, and another for raw meat, poultry, and seafood.
  • Sanitize boards with 1 tablespoon of unscented liquid chlorine bleach per gallon of water.
  • Don’t rinse raw chicken or meat. Washing it can splash bacteria onto your sink and counters; cooking it to a safe temperature is what kills the bacteria.
  • Never put cooked food back on a plate that held it raw.
  • Marinate in the fridge, not on the counter: poultry and cubed meat up to 2 days; beef, veal, pork, and lamb roasts, chops, and steaks up to 5 days. Don’t use marinade from raw meat as a sauce unless you boil it first, or set some aside before it touches the raw meat (see my Marinade Guide).
  • Wash your thermometer probe with hot, soapy water between checking raw and cooked food.
  • Raw or lightly cooked egg recipes like homemade mayonnaise, Caesar dressing, or eggnog: use pasteurized eggs. Most eggs sold in the shell aren’t pasteurized.
Patting raw chicken thighs dry with a paper towel.

Food Safety FAQs

What is the temperature danger zone?

The temperature danger zone is 40 to 140°F (4 to 60°C), the range where bacteria grow fastest, doubling in as little as 20 minutes. Keep cold food at 40°F or below and hot food at 140°F or above.

Can you put hot food in the fridge?

Yes. Hot food can go straight into the fridge. Divide large amounts into shallow containers so they cool quickly, and refrigerate within 2 hours.

How long can cooked food sit out?

No more than 2 hours at room temperature, or 1 hour above 90°F.

How long do leftovers last in the fridge?

3 to 4 days. Freeze anything you won’t eat by then; frozen leftovers are best within 3 to 4 months.

Is it safe to refreeze thawed meat?

Yes, if it was thawed in the refrigerator, though the texture may suffer a little. Meat thawed in cold water or the microwave should be cooked before you refreeze it.

Should you wash raw chicken?

No. Rinsing raw chicken can splash bacteria onto your sink and counters. Cooking it to a safe temperature is what kills the bacteria.

Sources: USDA Safe Minimum Internal Temperature Chart; USDA FSIS, Danger Zone; USDA FSIS, The Big Thaw; USDA FSIS, Leftovers and Food Safety; USDA FSIS, Refrigeration and Food Safety; USDA FSIS, Washing Food; USDA FSIS, Cutting Boards and Food Safety; FoodSafety.gov Cold Food Storage Chart.

Jessica Gavin

I’m Jessica, a Certified Food Scientist and Certified Culinary Scientist, cookbook author of Easy Culinary Science for Better Cooking, and culinary school graduate with a food science degree from Cal Poly San Luis Obispo. I share recipes along with the science behind them to help you cook with confidence.

Jessica's Secrets: Cooking Made Easy!
Get my free 5-day email course of the essential cooking techniques I learned in culinary school.
Jessica Gavin standing in the kitchen

You May Also Like

Reader Interactions

Leave a Comment

Your email address will not be published. Required fields are marked *