View shopping cart
Home / Blog / Food Storage Safety

How Long Can Milk Sit Out?

The 2-hour rule, why raw milk is illegal in Ontario, and how to safely serve milk and cream at a coffee station.

Quick answer

Milk and cream are potentially hazardous foods, so the strict legal and scientific limit they can sit out at room temperature is two hours. Milk is high in protein and moisture with a neutral pH, the perfect environment for bacteria. Once it has been in the Temperature Danger Zone (4°C to 60°C) for more than two hours, it must be thrown out. Putting it back in the fridge will not make it safe again.

Glass pitcher of milk and cream on a brunch table next to coffee mugs

Imagine you are hosting a Sunday brunch or an afternoon coffee gathering. You brew a fresh pot of coffee and place a glass pitcher of cold milk and cream on the table so guests can pour it themselves. The hours fly by, and by the time you clean up, the pitcher has been sitting out for the entire three-hour party. Can you put it back in the fridge for tomorrow morning, or is it dangerous?

DetailWhat to expect
Room temperature limit2 hours maximum
Danger Zone range4°C to 60°C (40°F to 140°F)
Milk's natural pHAbout 6.3 to 8.5 (neutral)
Bacterial doubling time at room temperatureEvery 10 to 20 minutes
Batch pasteurization63°C (145°F) held for at least 30 minutes
High Temperature Short Time (HTST) pasteurization72°C (161°F) held for at least 15 seconds
After pasteurizationRapidly cooled to 4°C or less
After the 2-hour limit is passedMust be thrown out

Why milk is a hazardous food

In the world of food safety, pathogenic bacteria, the invisible germs that cause food poisoning, need specific things to survive and multiply. They love foods rich in protein and high in moisture, and they also prefer environments with a neutral pH. Milk is primarily liquid protein and water, with a neutral pH of about 6.3 to 8.5. Because it is packed with nutrients, milk is essentially an all-you-can-eat buffet for harmful microscopic bacteria. Because milk and dairy products are highly hazardous, they require strict temperature controls to keep you and your guests safe.

The 2-hour rule: how long can milk sit out?

Because milk and cream are potentially hazardous foods, the strict legal and scientific limit for how long they can sit out at room temperature is 2 hours. If your milk has been sitting on the counter or the dining table for more than two hours, it must be thrown in the garbage immediately.

Why only two hours? It comes down to the Temperature Danger Zone, the temperature range between 4°C and 60°C (40°F and 140°F). When a cold pitcher of milk sits on a room-temperature table, it warms up and falls right into this dangerous zone.

Inside the Danger Zone, bacteria wake up and multiply incredibly fast. Bacteria are single-celled organisms that reproduce by dividing themselves in half. If the milk reaches room temperature, bacterial cells can divide and double their numbers every 10 to 20 minutes. After two hours, the bacterial count has grown too large, and the milk is officially unsafe to drink.

You cannot simply put the milk back in the refrigerator to make it safe again. Putting food in a refrigerator set to 4°C (40°F) or colder does not kill bacteria; it only slows them down or pauses their growth. If the bacteria have already multiplied to dangerous levels while sitting on the table, putting the milk back in the fridge will just give you cold, contaminated milk.

Learn the rules that keep food safe

The food handlers certificate course covers the Danger Zone, pasteurization, and safe serving in plain language.

Register Now · $49.95
4.8 / 5 from 1,711 verified reviews. Registration takes about 30 seconds.

The farm fresh question: can I buy milk directly from a cow?

A common question people ask is: can I just go to a local farm and buy raw milk straight from the cow? Isn't that more natural? Under Ontario public health laws, the answer is a strict no. It is illegal for anyone to sell, offer for sale, deliver, or distribute milk or cream that has not been treated at a licensed facility.

Why is it illegal? Because of a public health process called pasteurization. When milk comes straight from a cow, goat, or sheep, it is called raw or unpasteurized milk. Raw milk is dangerous because animals naturally carry disease-causing bacteria in their bodies, udders, and feces, which can easily contaminate the milk. Drinking unpasteurized milk has been linked to severe outbreaks of foodborne illnesses, including Salmonella, Campylobacter, Listeria, and the deadly E. coli O157:H7.

Pasteurization is a scientific process in which milk is heated to a high temperature for a specific period to destroy harmful, disease-causing microorganisms. According to the Ontario Food Premises Regulation, dairy processors must safely pasteurize milk by either:

  • Heating the milk to at least 63°C (145°F) and holding it at that temperature for no less than 30 minutes, or
  • Heating the milk to at least 72°C (161°F) and holding it there for at least 15 seconds, known as High-Temperature Short-Time pasteurization.

Immediately after this heat treatment, the milk is rapidly cooled down to 4°C or less to ensure it is safe. By the time you buy milk at the grocery store, it has been properly pasteurized so you can drink it without fear of a severe infection.

Safe coffee station solutions

If milk can only sit out for two hours, how do restaurants, coffee shops, and party hosts safely serve cream and milk all day long? They use a safety method called small batches and rotation. You should never take your entire large carton of milk out of the fridge and leave it on the table. Instead, follow these professional food safety tips:

  • Use small pitchers. Pour a small amount of milk or cream into a small serving pitcher, then immediately return the main carton to the refrigerator (at 4°C/40°F or lower).
  • Rotate every 30 minutes. Every half hour, check on the small pitcher. If it is empty, grab a fresh, clean pitcher and pour new, cold milk into it. Never mix new cold milk into a warm pitcher of old milk.
  • Use an ice bath. If you are setting up a buffet table for a long event, place your milk and cream containers inside a deep tray filled with ice. The ice will act as a mini-refrigerator, keeping the dairy safely out of the Temperature Danger Zone.
Small milk and cream pitchers set in an ice bath tray at a coffee station
Scenario: the office coffee break. What would you do?

Imagine you are the manager of an office. Every morning at 8:00 AM, you set up a coffee station in the breakroom and place a large glass jug of fresh, cold, pasteurized milk on the counter so employees can make their coffee. It is a busy day. At 11:30 AM, an employee walks in to grab a late coffee and notices the jug has been sitting on the counter the entire time, with half a jug of milk left. Should you put it back in the fridge so it doesn't go to waste?

The safe answer: you must throw the leftover milk down the drain immediately. The milk was placed on the counter at 8:00 AM and sat there until 11:30 AM, three and a half hours at room temperature. Because milk is a highly hazardous food, it can remain in the Temperature Danger Zone (4°C to 60°C) for a maximum of 2 hours. By leaving it out for 3.5 hours, bacteria from the environment had plenty of time to multiply rapidly. Putting the milk in the cold refrigerator now will not kill the bacteria that have already grown. To keep your employees from getting a stomach bug, it must be thrown away.

The short version

  1. Milk is hazardous because it is high in protein and moisture, and has a neutral pH, the perfect environment for bacteria.
  2. The strict legal limit for how long milk can sit out at room temperature is 2 hours.
  3. Putting milk back in the fridge after it has been out too long does not kill bacteria that already grew.
  4. Raw, unpasteurized milk is illegal to sell or distribute in Ontario because of the risk of E. coli, Salmonella, and Campylobacter.
  5. Pasteurization requires heating milk to 63°C for 30 minutes, or 72°C for 15 seconds, then rapidly cooling it to 4°C or less.
  6. Serve milk safely with small pitchers, rotating every 30 minutes, or by using an ice bath at a buffet.

Final food safety quiz

Test your memory with these 5 questions, then tap to reveal the answer.

1. Why is milk legally classified as a "potentially hazardous food"?

Because it is high in protein and moisture, providing the perfect environment for bacteria to grow. Hazardous foods have high moisture and protein content, creating the perfect breeding ground for rapid bacterial growth.

2. What is the absolute maximum amount of time milk or cream can sit out at room temperature?

2 hours. Hazardous foods can never be left in the Temperature Danger Zone for more than two hours.

3. Under Ontario public health laws, is it legal to buy and drink raw, unpasteurized milk directly from a farm?

No. It is illegal to sell or distribute unpasteurized milk that has not been pasteurized to destroy harmful pathogens such as E. coli, Salmonella, and Campylobacter.

4. What does the term "pasteurization" mean?

A process of heating milk to a high temperature, like 63°C or 72°C, for a specific time to destroy disease-causing microorganisms. Pasteurization is the intense heat treatment required by law to destroy harmful pathogens in dairy.

5. What is the exact temperature range of the Danger Zone where bacteria in your milk will multiply the fastest?

4°C to 60°C (40°F to 140°F). To keep milk safe, it must be kept below this zone in a refrigerator at 4°C or colder.

Sources

Get certified in as little as 6 hours

Learn about the Danger Zone, pasteurization facts, and safe-serving rules that keep milk and other hazardous foods safe.

Register Now · $49.95
BC traffic: get the same training as FOODSAFE Level 1.

For the full guide to safe holding times for every food type, see the main how long can food sit out guide.

SA

About Samira Ali

Public Health Inspector · Food Safety Course Developer

Samira is a Public Health Inspector with a Certificate in Occupational Health and Safety and more than 10 years of experience across Canada and the U.S. She develops the food safety courses at Probe It Food Safety.

Food safety rules can vary by province and change over time. This guide reflects general Canadian food safety guidance current as of the last update above. If you believe a law or regulation referenced here has changed, email us at info@probeit.ca so we can review it.