Skip to main content

What a Refrigerator Does and How It Keeps Food Safe

A refrigerator slows down the growth of bacteria and mold by keeping food cold

A refrigerator is an appliance that cools the air inside a box to temperatures between 35°F and 38°F (1.7°C to 3.3°C). At these temperatures, bacteria that spoil food grow much more slowly than they do at room temperature. The cold does not kill the bacteria — it pauses them. This pause gives you time to eat the food before it goes bad.

The reason this matters is that bacteria double in number every 20 minutes at room temperature, but at refrigerator temperature they double much more slowly — sometimes taking hours or days. Mold and yeast also slow down in the cold. This is why a piece of chicken left on the counter becomes unsafe in two hours, but the same chicken in the refrigerator stays safe for three to four days.

Your refrigerator does not make food last forever. It buys you time. The cold slows decay, but decay still happens. Knowing how long different foods actually last in the cold — and organizing your shelves so you use older food first — is what keeps your household food safe and reduces waste.

Key Takeaways

  • A refrigerator keeps food at 35°F to 38°F, which slows bacterial growth enough to extend the safe storage time of most foods by days or weeks.
  • Cold pauses bacteria rather than killing them, so food will eventually spoil even in the refrigerator if stored too long.
  • Different foods have different safe storage windows in the cold — chicken lasts three to four days, ground beef lasts one to two days, and hard cheese can last several weeks.
  • A refrigerator works by circulating cold air from a freezer compartment or a cooling system, and that air must flow freely around the food for the appliance to work properly.
  • Organizing your refrigerator so older food sits at eye level and newer food goes to the back helps you use food before it spoils.

How the cold actually gets inside your refrigerator

Most household refrigerators use a compressor — a pump that moves a liquid refrigerant through coils inside and outside the appliance. The refrigerant evaporates inside the cold coils, pulling heat out of the air. That cold air is then blown by a fan into the main compartment and circulated around the shelves. The warm air that leaves the compartment flows back to the compressor, where the cycle starts again.

Some refrigerators have a separate freezer compartment at the top or bottom. The freezer gets the coldest air first — usually around 0°F (-18°C) — and the refrigerator compartment gets slightly warmer air that has already passed through the freezer. Other refrigerators have two separate cooling systems, one for each compartment, so you can set the freezer and refrigerator to different temperatures.

The cold air has to move freely around your food for this system to work. If you pack the shelves too tightly, or block the vents where air flows in, some parts of the refrigerator will be warmer than others. This is why organizing your food — leaving space between items, not blocking vents, and not overstuffing — directly affects how well your refrigerator protects your food.

Why 35°F to 38°F is the safe range for a refrigerator

Food scientists and public health agencies set the refrigerator temperature at 35°F to 38°F because this range slows bacterial growth enough to give you a safety margin, but not so cold that it freezes the food and damages its texture. Below 40°F (4.4°C), most harmful bacteria grow very slowly. Above 40°F, they grow fast enough to make food unsafe within hours.

The danger zone — the temperature range where bacteria grow fastest — is 40°F to 140°F (4.4°C to 60°C). Food left in this range for more than two hours becomes unsafe to eat, even if it looks and smells fine. This is why leftovers should go into the refrigerator within two hours of cooking, and why a refrigerator that has stopped working or is set too warm can make you sick.

If your refrigerator temperature creeps above 40°F, the food inside is still cold, but it is no longer in the safe zone. A thermometer that you place on a shelf — not on the door, where it is warmer — tells you whether your refrigerator is actually doing its job. Many people assume their refrigerator is cold enough without checking, and discover too late that it has drifted out of the safe range.

The difference between a refrigerator and a freezer

A freezer keeps food at 0°F (-18°C) or below, which stops bacterial growth almost completely. At this temperature, bacteria enter a dormant state and do not multiply. Food can stay frozen for months or even years without becoming unsafe, though the quality — texture, flavor, and moisture — gradually declines.

A refrigerator at 35°F to 38°F keeps bacteria growing very slowly, so food lasts days or weeks, not months. The choice between refrigerating and freezing depends on when you plan to eat the food. If you are eating it this week, the refrigerator is the right place. If you are eating it next month, the freezer is the right place. Thawing frozen food in the refrigerator — not on the counter — keeps it safe while it defrosts.

What foods need to be refrigerated and what does not

Perishable foods — foods that spoil quickly at room temperature — must go in the refrigerator. These include meat, poultry, fish, eggs, dairy products, cooked leftovers, cut fruit, and most vegetables. Perishable foods can become unsafe to eat within hours if left out of the cold.

Shelf-stable foods — foods that are safe at room temperature — do not need refrigeration. These include whole fruits (apples, bananas, oranges), potatoes, onions, garlic, bread, pasta, canned goods, peanut butter, and honey. These foods have natural properties or processing that prevents bacterial growth, so the refrigerator is optional for them. Some people refrigerate them anyway for texture or taste reasons — for example, some prefer cold butter or chilled peanut butter — but it is not necessary for safety.

The line between these two groups is not always obvious. Tomatoes, for example, are technically safe at room temperature, but many people refrigerate them to slow ripening. Butter is shelf-stable but often refrigerated. The key is knowing which foods will actually spoil if left out, and which ones will not.

How to tell if your refrigerator is working properly

A working refrigerator should feel cold to the touch on the shelves and should have a slight hum from the compressor running. You should feel cold air flowing from the vents when you open the door. If the refrigerator is silent, or if the shelves feel warm, the compressor may have stopped working.

The most reliable way to check is to place a refrigerator thermometer on the middle shelf — not on the door, where the temperature fluctuates — and read it after a few hours. If the temperature is 40°F or above, the refrigerator is not cold enough to keep food safe. If the temperature is below 35°F, it is working, though some foods may freeze slightly on the coldest shelves.

If your refrigerator is not staying cold, the problem could be a broken compressor, a clogged vent, a faulty thermostat, or a door seal that is not closing properly. A door that does not seal lets warm air in constantly, forcing the compressor to work harder and sometimes failing to keep up. Checking that the door closes firmly and that the rubber seal is clean and flexible is a simple first step.

Frequently Asked Questions

Does a refrigerator kill bacteria or just slow them down?

A refrigerator slows bacteria down — it does not kill them. Cold pauses bacterial growth, but the bacteria are still alive. This is why food eventually spoils even in the refrigerator, and why you cannot keep leftovers forever. Freezing also does not kill bacteria; it just stops them from multiplying until the food thaws.

What temperature should my refrigerator be set to?

Your refrigerator should be set to 35°F to 38°F (1.7°C to 3.3°C). Use a refrigerator thermometer placed on the middle shelf to check the actual temperature, because the dial on the outside does not always match the real temperature inside. If your refrigerator has separate controls for different zones, the main compartment should stay in this range.

Can I put hot food directly into the refrigerator?

Yes, but it will raise the temperature inside the refrigerator temporarily and make the compressor work harder. If you have a lot of hot food, let it cool to room temperature first, then refrigerate it. For small amounts of hot food, putting it directly in the refrigerator is fine — just do not do it repeatedly or with large quantities, as this can warm up the other food inside.

How long does food actually last in the refrigerator?

It depends on the food. Raw chicken lasts three to four days, ground beef lasts one to two days, hard cheese lasts several weeks, and cooked leftovers last three to four days. Eggs last three to five weeks. These times assume the refrigerator is at 35°F to 38°F and the food is stored properly. When in doubt, use your senses — if it smells off or looks slimy, throw it out.

Why does my refrigerator have a freezer compartment if I can use a separate freezer?

The freezer compartment lets you store frozen foods and ice without needing a separate appliance. It also provides a place to freeze leftovers or ice cream. Some people use only the refrigerator compartment and keep a separate freezer in the garage or basement, but the built-in freezer is convenient for everyday use and takes up less space.