How Long Can Milk Sit Out?
Last reviewed: June 2026
Quick answer
Milk should not sit out for more than 2 hours at room temperature. If the temperature is above 90°F, the safe limit drops to 1 hour. Milk left out longer than that should usually be thrown away, even if it still smells fine. This applies to opened and unopened refrigerated milk alike — only unopened shelf-stable (UHT) milk is exempt, and only until it's opened.
Maximum: 2 hours at room temperature
Milk should not sit at room temperature for more than 2 hours (1 hour if above 90°F). Discard milk left out longer than this — even if it looks and smells fine.
The 2-hour rule for milk
Refrigerated milk is a perishable food and should be kept at 40°F (4°C) or below. The USDA recommends discarding any perishable refrigerated food — including milk — left at room temperature for more than 2 hours. This is the same danger-zone rule that applies to meat, cooked food, and other dairy. See the official food-safety sources used by StillSafeFood for references.
The 1-hour rule above 90°F
When the ambient temperature is above 90°F (32°C) — a hot car, a summer picnic, a warm kitchen — the safe window for milk shrinks to just 1 hour. Past that point, the same discard guidance applies regardless of how the milk looks or smells.
Why milk left out too long is risky
Milk sitting between 40°F and 140°F (4°C–60°C) — the USDA "danger zone" — lets bacteria multiply quickly, doubling in as little as 20 minutes. Pasteurization kills most harmful bacteria at the time of processing, but it doesn't make milk immune to bacteria that land on it afterward, and it doesn't prevent regrowth once milk warms up. Some bacteria can also produce heat-stable toxins that aren't destroyed by reheating.
Opened milk vs. unopened refrigerated milk
The 2-hour rule applies the same way whether the carton or jug is opened or still sealed. A sealed container slows contamination from outside sources, but it does not stop the milk inside from warming up and allowing existing bacteria to multiply. Don't assume an unopened carton is safe just because the seal hasn't been broken — once it's been above 40°F for more than 2 hours, treat it the same as opened milk.
Shelf-stable milk vs. refrigerated milk
Shelf-stable or UHT (ultra-high temperature) milk is processed differently and, while unopened, can be stored at room temperature per the package instructions — that's the one real exception to the 2-hour rule. Once a shelf-stable carton is opened, though, it needs refrigeration and should be treated exactly like regular perishable milk: back in the fridge within 2 hours, and discarded if it sits out longer.
Can you put milk back in the fridge after it sat out?
If milk has been out for less than 2 hours (1 hour above 90°F) and the room temperature was normal, it's generally fine to put it back in the fridge. If it's been out longer than that — or you're not sure how long — the safer choice is to discard it rather than refrigerate it and hope.
Can you boil milk that was left out?
Not reliably. Boiling or reheating kills most live bacteria, but it does not destroy heat-stable toxins that bacteria may have already produced while the milk sat out too long. Boiling milk that's already spoiled, or that sat out past the safe window, does not make it safe to drink — discard it instead.
What if the milk still smells fine?
Smell, taste, and appearance are not reliable safety tests for milk. Milk that's visibly curdled or smells sour has clearly spoiled, but milk can also harbor harmful bacteria like Listeria or E. coli with no obvious sign at all. Go by how long it sat out, not by your senses.
Milk left in a car, lunchbox, grocery bag, or delivery order
A parked car can heat up well past 90°F within minutes, dropping the safe limit for milk to 1 hour. An insulated lunchbox or grocery bag without ice packs doesn't reliably keep milk below 40°F — treat it the same as counter storage. The same applies to a grocery delivery or takeout order left on a porch: if you don't know how long it sat out, or the weather was warm, the safer choice is to discard the milk.
Safe vs. not safe examples
Milk left out 30 minutes
Usually safe to return to the fridge if room temperature was normal
Milk left out 1 hour
Usually safe if room temperature was normal
Milk left out 2 hours
Refrigerate immediately, or discard if unsure how long it sat out
Milk left out 3+ hours
Usually discard
Milk left in a hot car
Discard if it was over 90°F for more than 1 hour
Shelf-stable milk, unopened
Follow the package storage instructions
Shelf-stable milk, opened
Refrigerate and treat like perishable milk
How to store milk safely
- Keep refrigerated milk at or below 40°F (4°C) at all times.
- Return milk to the fridge within 2 hours of taking it out (1 hour above 90°F).
- Keep the container sealed when not in use to limit contamination.
- Store unopened shelf-stable milk per the package instructions; refrigerate once opened.
- Use opened refrigerated milk within 7–10 days for best safety and quality.
What to do after a power outage
If the power went out, the 2-hour rule still applies — measured from when the fridge actually warmed past 40°F, not from when the power went out. A closed refrigerator generally holds a safe temperature for about 4 hours. See is food safe after a power outage for what to keep and what to throw away.
Related dairy foods
Yogurt's acidity slows bacterial growth but doesn't stop it — the same 2-hour rule applies.
Soft cheese follows the 2-hour rule; hard cheese is more forgiving, up to 6–8 hours.
Dairy creamer is perishable and follows the same 2-hour (1-hour above 90°F) rule as milk. Non-dairy creamer may differ — check the label.
This guidance follows USDA and FDA food safety recommendations. Smell, taste, and appearance are not reliable ways to judge whether milk left out too long is safe to drink — when in doubt, throw it out. If you think you may have food poisoning, contact a healthcare provider.
Frequently asked questions
How long can milk sit out at room temperature?
No more than 2 hours at room temperature (1 hour above 90°F/32°C). Discard milk left out longer than this.
Can milk sit out for 3 hours?
No. Three hours exceeds the 2-hour limit for perishable milk. The safer choice is usually to discard it.
Can I drink milk left out overnight?
No. Overnight is far beyond the 2-hour (or 1-hour above 90°F) safe window — discard it.
Is unopened milk safe if left out?
No. A sealed container doesn't stop bacteria from multiplying once milk warms up. The same 2-hour rule applies whether opened or unopened.
Is shelf-stable milk different?
Yes, before opening — unopened UHT milk can sit at room temperature per the package. Once opened, refrigerate it and treat it like regular milk.
Can I boil milk that was left out too long?
No. Boiling kills live bacteria but not heat-stable toxins that may have already formed. Discard milk that sat out too long instead.
Is milk safe if it smells fine?
Not necessarily. Smell, taste, and appearance are not reliable safety tests — go by how long it sat out instead.
What should I do with milk after a power outage?
Check how long the fridge was above 40°F. A closed fridge generally holds for about 4 hours; if milk was warmer than that for over 2 hours, discard it.
Check your milk
Use StillSafeFood to check whole milk, skim milk, plant-based milks, and more.
Check your food →