Black coffee left out overnight is generally safe to drink. It will taste noticeably worse, but brewed coffee without milk or cream is unlikely to make you sick even after sitting at room temperature for 8 to 12 hours. Coffee with dairy is a different story and should be thrown out after two hours at room temperature.
Why Black Coffee Resists Bacterial Growth
Coffee is a surprisingly hostile environment for bacteria. It’s acidic, low in the nutrients microbes need to thrive, and contains natural antimicrobial compounds. A study by the Canadian Food Inspection Agency deliberately introduced dangerous pathogens (including E. coli O157:H7, Salmonella, and Listeria) into coffee and held it at room temperature for up to three weeks. None of the pathogens survived or grew during that period. The researchers attributed this to the lack of microbial nutrients and the antimicrobial properties naturally present in coffee.
That doesn’t mean your overnight coffee is sterile. Mold spores from the air can land in an open cup, and bacteria from your mouth transfer if you’ve sipped from it. But the coffee itself actively works against contamination in ways that, say, a bowl of leftover rice does not.
The Real Problem: Taste, Not Safety
The reason most people grimace at day-old coffee has nothing to do with bacteria. Once brewed, coffee begins oxidizing immediately. Chlorogenic acids, the compounds that give fresh coffee its bright, complex flavor, break down into caffeic acid and quinic acid. These byproducts taste more bitter and astringent than the original compounds. If your coffee was brewed with a method that lets oils through (like a French press or metal filter), those oils also oxidize and develop stale, rancid notes.
This process is noticeable within 30 minutes of brewing and continues overnight. By morning, the coffee will taste flat, more acidic on the stomach, and generally unpleasant. It won’t harm you, but you probably won’t enjoy it either.
Coffee With Milk or Cream Is Not Safe
Adding dairy changes the equation completely. Milk, cream, half-and-half, and flavored creamers are all perishable and follow the same food safety rules as any dairy product: no more than two hours at room temperature. After that window, bacteria like Staphylococcus aureus and Bacillus cereus can multiply to levels that cause food poisoning, with symptoms including nausea, stomach cramps, diarrhea, and vomiting.
This applies to plant-based milks too. Oat milk, soy milk, and almond milk are similarly perishable once opened and mixed into a warm drink. If your latte or cream-sweetened coffee sat out all night, pour it out.
Reheating Day-Old Coffee
If you decide to drink black coffee that’s been sitting overnight, reheating it is fine but won’t restore the flavor. Aim for around 150°F (65°C), which is warm enough to be pleasant without further breaking down what’s left of the flavor compounds. Microwaving for 30 to 45 seconds in a standard mug usually gets you there.
If the coffee somehow contains dairy that’s been out for only a short time (under two hours), you’d want to heat it to at least 165°F (74°C) to kill any bacteria that may have started multiplying. But realistically, if dairy coffee sat out overnight, reheating it to any temperature won’t reliably destroy all the toxins some bacteria produce. Those toxins are heat-stable, meaning they survive even after the bacteria themselves are killed. Just make a fresh cup.
Cold Brew Has Different Rules
Cold brew concentrate is never heated during production, which means any microorganisms present in the beans or water aren’t killed off the way they are in hot brewing. Commercial cold brew often contains no preservatives and requires constant refrigeration. If you leave a bottle of cold brew on the counter overnight, bacterial or fungal growth is more of a concern than with hot-brewed coffee, because cold brew hasn’t gone through a heat step that reduces the initial microbial load.
Homemade cold brew left at room temperature overnight during the steeping process (12 to 24 hours) is a common practice and is generally considered safe since the brewing time is intentionally at room temperature. But once it’s done steeping and you’ve strained it, treat it like a perishable beverage and refrigerate it. Cold brew stored in the fridge stays safe for about 7 to 10 days.
A Practical Summary of Timelines
- Black hot-brewed coffee, under 12 hours: Safe to drink. Tastes worse but poses minimal risk.
- Black hot-brewed coffee, over 24 hours: Likely still safe, but mold growth becomes possible, especially in open containers. Check for any visible film or off smells.
- Coffee with dairy or plant milk, over 2 hours: Not safe. Discard it.
- Cold brew left unrefrigerated after brewing: Riskier than hot-brewed coffee. Refrigerate as soon as steeping is complete.
If you regularly find yourself with leftover coffee, the easiest solution is to brew it into a thermal carafe or pour it into a sealed container in the fridge. Iced coffee made from yesterday’s leftovers tastes significantly better than reheated day-old coffee, and refrigeration keeps both flavor and safety in better shape.

