Black coffee that sat out overnight is unlikely to make you sick. Brewed coffee is acidic, low in nutrients, and contains almost no moisture-rich proteins or sugars that bacteria thrive on, so it resists microbial growth surprisingly well. That said, whether it’s safe depends entirely on what you added to it, and whether “safe” and “worth drinking” are the same question for you.
Black Coffee vs. Coffee With Milk
Plain black coffee left on the counter for 8 to 12 hours poses minimal food safety risk. Research on both hot-brewed and cold-brewed coffee has found that shelf life is limited by flavor deterioration, not microbial growth. The brew’s natural acidity (a pH between 4.6 and 5.4) and lack of protein create a hostile environment for most foodborne bacteria.
Coffee with milk or creamer is a completely different situation. Dairy is a perishable food, and the standard food safety guideline is to refrigerate perishable items within two hours of sitting at room temperature (one hour if the room is above 90°F). Coffee with milk, half-and-half, or a milk-based creamer that has been out overnight should be thrown away. The same applies to plant-based creamers that require refrigeration. The risk here isn’t theoretical: milk left in the bacterial “danger zone” between 40°F and 140°F can harbor enough bacteria to cause foodborne illness well before it smells or tastes off.
It’s Safe, but It Won’t Taste Good
The flavor of brewed coffee starts changing within minutes of brewing. Sulfur-containing compounds responsible for that fresh, roasty aroma begin binding with other molecules through oxidation almost immediately. Once those aroma compounds are trapped, they’re gone for good, which is why old coffee smells flat compared to a fresh pot.
At the same time, naturally occurring compounds called lactones break down into free acids. Fresh coffee typically has a pH around 5.0 to 5.4, but if it sits for two or three hours (especially while still hot on a burner), that can drop to around 4.6. The result is a noticeably more sour, more bitter cup. After an entire night, these changes are even more pronounced. The coffee won’t hurt you, but most people find overnight coffee unpleasantly acidic and stale.
Caffeine Doesn’t Break Down Overnight
If you’re tempted to microwave yesterday’s mug just for the energy boost, the good news is that the caffeine is still fully intact. Caffeine is an extremely stable molecule that doesn’t degrade meaningfully during storage at room temperature. A 12-hour-old cup has essentially the same caffeine content as a fresh one.
Cold Brew Holds Up Better
Cold brew coffee tends to last longer than hot-brewed coffee, both in the fridge and on the counter. Its lower extraction temperature produces fewer of the volatile compounds that degrade quickly, so the flavor stays more stable over time. Refrigerated cold brew can taste fine for a week or more. Left out at room temperature, it will still outlast a hot-brewed pot in terms of flavor, though refrigeration is the better choice if you’re making it in advance.
How to Store Leftover Coffee
If you regularly brew more than you drink, the simplest move is to pour the extra into a sealed container and refrigerate it as soon as it cools. Reducing oxygen exposure slows the chemical reactions that kill flavor. A sealed jar in the fridge will taste dramatically better the next morning than an open mug on the counter.
For iced coffee the next day, pour the leftover brew into an ice cube tray. You get cold coffee that doesn’t dilute itself as it melts. If you add milk or creamer, do it fresh each time rather than storing them together, since dairy shortens the safe storage window from days down to hours.
- Black coffee, room temperature: Safe overnight, but flavor declines significantly
- Black coffee, refrigerated: Safe and reasonable-tasting for 3 to 4 days in a sealed container
- Coffee with dairy, room temperature: Discard after 2 hours
- Cold brew, refrigerated: Safe and flavorful for up to 1 to 2 weeks

