Is Coffee Good for You When You’re Sick?

A cup of coffee is generally fine when you have a mild cold, but it can work against you during more severe illnesses involving vomiting, diarrhea, or high fever. The answer depends on what kind of sick you are, how much coffee you normally drink, and what medications you’re taking.

Mild Cold vs. Stomach Bug: It Matters

If you’re dealing with a runny nose, mild congestion, or a scratchy throat, coffee is unlikely to cause problems. Moderate caffeine intake, around two to three cups a day, has no meaningful effect on your fluid balance, especially if you’re a regular coffee drinker. Your body adapts to caffeine’s mild diuretic effect over time, so your morning cup won’t dehydrate you.

The picture changes if you have the flu, food poisoning, or a stomach virus. Vomiting and diarrhea already pull fluid and electrolytes out of your body fast. Coffee stimulates stomach acid production and speeds up colon activity, with roughly 29% of people experiencing a noticeable urge to have a bowel movement within just four minutes of drinking it. Both regular and decaf coffee trigger this effect. If you’re already running to the bathroom, that’s the last thing you need. During a stomach illness, water, broth, and electrolyte drinks are a better choice.

Coffee and Your Immune Response

Caffeine has a complex relationship with your immune system. It tends to dial down inflammation by suppressing several key signaling molecules your body uses to coordinate its defense against infection. A 2025 study in the European Journal of Nutrition found that pure caffeine significantly reduced both pro-inflammatory and anti-inflammatory immune signals compared to water. Specifically, markers like interferon-gamma and interleukin-2, which help rally your immune cells to fight off a virus, dropped by roughly 30 to 50% after caffeine intake.

That sounds alarming, but context matters. A mild anti-inflammatory effect can actually help you feel better when cold symptoms like sore throat and sinus pressure are driven by your own body’s inflammatory response. On the other hand, if your immune system is fighting a serious infection, you probably don’t want anything blunting that response. Coffee also contains chlorogenic acid, a polyphenol with demonstrated antioxidant and anti-pathogen properties. This compound has shown activity against several viruses in lab studies, including influenza and herpes strains, though drinking coffee delivers far less concentrated doses than what’s used in research.

The Sleep Problem

This is where coffee can genuinely hurt your recovery. Sleep is one of the most powerful tools your body has for fighting infection, and caffeine directly interferes with the chemical system that regulates it. Caffeine blocks adenosine receptors in your brain. Adenosine is the molecule that builds up during waking hours and creates sleep pressure, that heavy, drowsy feeling that helps you fall and stay asleep.

When you’re sick, your body craves more sleep for good reason. Research on caffeine and recovery sleep shows that daily caffeine consumption is negatively correlated with total sleep time, meaning habitual coffee drinkers tend to sleep less during the recovery period when their bodies need it most. Even if you feel fine after your morning cup, caffeine consumed in the afternoon can fragment your sleep that night, increasing the time you spend awake after initially falling asleep. If you do drink coffee while sick, keeping it to the morning hours gives your body the best chance of getting restorative sleep.

Watch for Medication Interactions

Many people reach for over-the-counter cold and flu medications without thinking about how they interact with caffeine. Pseudoephedrine, one of the most common decongestants, lists caffeine as a known interaction. Both substances are stimulants, and combining them can raise your heart rate and blood pressure. If you’re already dealing with a fever that has your heart beating faster than usual, stacking caffeine on top of a decongestant adds unnecessary cardiovascular stress. Side effects to watch for include a rapid or pounding heartbeat and noticeable spikes in blood pressure.

If you’re taking any cold or flu medication, check the label. Some combination products already contain caffeine as an ingredient, so your coffee could effectively double your dose without you realizing it.

Caffeine Raises Your Metabolic Rate

A single 100 mg dose of caffeine, roughly one cup of coffee, increases your resting metabolic rate by 3 to 4% for about two and a half hours. Over a full day of regular consumption, that adds up to burning an extra 80 to 150 calories. Normally that’s trivial, but when you have a fever, your metabolism is already running hot. Each degree of fever increases your body’s energy demands, and caffeine pushes that number higher. This means your body burns through calories and fluids faster, which can leave you feeling more drained if you’re not eating and drinking enough to keep up.

Acid Reflux and Nausea

Coffee stimulates the production of gastrin and hydrochloric acid in your stomach. It can also relax the valve between your esophagus and stomach, called the lower esophageal sphincter, which increases the chance of acid reflux and heartburn. If your illness already involves nausea, a sour stomach, or poor digestion, coffee is likely to make those symptoms worse. This applies to decaf as well. Several of coffee’s gut-stimulating effects come from compounds other than caffeine, so switching to decaf won’t fully solve the problem if your stomach is already irritated.

A Practical Guide

  • Mild cold with no stomach symptoms: Your usual one to two cups in the morning are fine, especially if you’re a daily coffee drinker.
  • Stomach flu, food poisoning, or heavy vomiting/diarrhea: Skip coffee entirely until you’re keeping fluids down consistently. Stick with water, broth, or electrolyte solutions.
  • Fever over 101°F (38.3°C): Consider cutting back. Your body is already working hard, and caffeine increases metabolic demand and can interfere with the sleep you need to recover.
  • Taking cold medications: Check labels for caffeine content and pseudoephedrine interactions before adding coffee on top.
  • Any illness where you’re sleeping poorly: Limit coffee to the early morning or skip it. Sleep does more for your recovery than caffeine does.