Coffee for a Hangover: Does It Help or Make It Worse?
Does coffee help a hangover? How caffeine eases the morning-after headache, why it can upset your stomach and nerves, how much to drink, and when to stop.
The honest answer first: coffee won't cure a hangover, but it can help with one specific part of it. If you drink coffee every day, a cup the morning after is worth having, mainly because skipping it can add a caffeine-withdrawal headache on top of the hangover you already have. Caffeine also makes some pain relievers work a little better and can take the edge off grogginess. What coffee can't do is rehydrate you, settle your stomach, undo poor sleep, or speed up how fast your body clears alcohol. Too much of it can make the shakes, the racing heart, and the morning-after anxiety worse.
The quick rules: Drink water first, then coffee. Stick to roughly your normal amount (one or two cups), not a double dose. Eat something with it if your stomach is sensitive. Skip it if you feel shaky, jittery, or your heart is already pounding. Don't drink coffee late in the afternoon, or it will cost you the recovery sleep you need tonight. And never use coffee to "sober up" before driving. It makes you feel more alert without lowering your blood alcohol at all.
When to see a doctor. Most hangovers are miserable but harmless, and coffee won't change that either way. Get medical help (call 911 in the US in an emergency) if someone who has been drinking is confused, very hard to wake, having seizures, breathing slowly or irregularly, has bluish or cold, clammy skin, or keeps vomiting. Those are signs of alcohol poisoning, not a hangover. Also see a doctor if you have chest pain, a racing or irregular heartbeat that doesn't settle with rest, vomiting blood or material that looks like coffee grounds, black stools, severe stomach pain, or a headache that is sudden and the worst of your life. If you get shaking, sweating, or anxiety that starts a day or two after you stop drinking and keeps getting worse, that can be alcohol withdrawal rather than a hangover, and it's worth talking to a doctor about plainly and soon.
Does Coffee Help a Hangover? What It Can and Can't Do
Coffee is probably the most common hangover remedy in the world, simply because so many people already drink it every morning. The research on coffee as a hangover treatment specifically is thin. No good clinical trial shows that coffee shortens or prevents a hangover, and a well-known systematic review in the BMJ (Pittler and colleagues, 2005) found no compelling evidence that any conventional or complementary hangover remedy works reliably. So it's best to think about coffee in terms of what caffeine is known to do in the body, and then match that against what a hangover actually is.
A hangover is not one thing. It's a cluster of problems that arrive together:
- Headache, likely driven by inflammation, changes in blood vessels, and poor sleep more than by dehydration alone.
- Fatigue and brain fog, mostly from short, broken sleep and the body's inflammatory response.
- Nausea and an upset stomach, because alcohol irritates the stomach lining and increases acid.
- Thirst and dry mouth, because alcohol makes you urinate more while you're drinking.
- Shakiness, a fast heartbeat, and anxiety, as your nervous system rebounds from alcohol's sedating effect.
Here's how coffee lines up against each of those:
| Hangover symptom | Does coffee help? | Why |
|---|---|---|
| Headache (if you're a daily coffee drinker) | Often yes | It prevents caffeine-withdrawal headache and may boost pain relievers |
| Headache (if you rarely drink coffee) | Maybe a little | Mild pain-relief boost, but no withdrawal to fix |
| Tiredness and fog | Somewhat | Caffeine improves alertness, but it doesn't repay the sleep you lost |
| Thirst and dehydration | No | It doesn't replace water, salt, or the fluid you lost |
| Nausea and upset stomach | Often worse | Coffee increases stomach acid and can speed up the gut |
| Shakes, racing heart, anxiety | Often worse | Caffeine is a stimulant and adds to the jittery feeling |
| Clearing alcohol from your body | No | Your liver sets that pace, and caffeine doesn't change it |
So the fair answer to "is coffee good for a hangover?" is: good for the headache and fog if you're a regular drinker, neutral to bad for everything else, and best kept to a normal amount.
Coffee and Hangover Headache: The Caffeine-Withdrawal Factor
This is the most useful thing to understand about coffee and hangovers, and the one most articles skip.
If you drink coffee most days, your body adapts to having caffeine around. When you skip it, you can get a caffeine-withdrawal headache, which is a recognized condition in the medical headache classifications. It usually starts somewhere between 12 and 24 hours after your last dose, and it can come with tiredness, low mood, irritability, and trouble concentrating. That list overlaps almost perfectly with a hangover.
Now picture a typical night out. You had your coffee yesterday morning, maybe nothing caffeinated after that, and then you slept late. By the time you wake up, it may have been more than 24 hours since your last caffeine. Part of the pounding head you're blaming on the drinks may actually be caffeine withdrawal. A cup of coffee fixes that part, often within an hour. That's why so many regular coffee drinkers swear coffee "cures" their hangover. It's clearing one of the stacked causes, not the hangover itself.
The practical takeaways:
- If you're a daily coffee drinker, don't skip your usual coffee the morning after. Skipping it can make the headache worse.
- You don't need more than usual. Your normal one or two cups is enough to head off withdrawal. Doubling it adds jitters without extra benefit.
- If you rarely drink coffee, you don't have withdrawal to fix, so coffee is much less likely to help your headache, and a strong cup may leave you shaky.
Caffeine Plus a Pain Reliever: The Real Headache Boost
Caffeine also helps pain relievers work a bit better. A Cochrane review (Derry and colleagues, 2014) looked at studies of common painkillers with and without added caffeine and found that adding roughly 100 mg or more of caffeine gave a small but real improvement in the number of people who got good pain relief. That's why some over-the-counter headache products combine caffeine with acetaminophen or aspirin.
For a hangover, that means a cup of coffee alongside a painkiller may help your headache more than the painkiller alone. But the painkiller choice matters more than the coffee, because alcohol interacts with all of them:
- Acetaminophen (Tylenol) is processed by the liver, the same organ that's still dealing with last night's alcohol. A single standard dose after a few drinks is usually fine for a healthy adult, but regular heavy drinking and high doses raise the risk of liver damage. See our guide to Tylenol and alcohol before you take it.
- Ibuprofen, naproxen, and aspirin are easier on the liver but harder on the stomach. Alcohol already irritates the stomach lining, and so does coffee, so stacking all three on an empty stomach is a recipe for heartburn or worse. Take them with food. Our ibuprofen and alcohol and aspirin and alcohol guides cover the details.
- Watch for hidden caffeine. Some combination headache tablets already contain caffeine. If you take one of those and drink two big coffees, your total caffeine can climb higher than you think. Check the label.
For more ways to tackle the head pain itself, see our guide to fast hangover headache relief.
Does Coffee Dehydrate You After Drinking? Coffee vs. Water
You'll often hear that coffee is "dehydrating," so it's a terrible idea after alcohol. The truth is more moderate.
Caffeine does have a mild diuretic effect, meaning it can make you urinate a bit more. But regular coffee drinkers build up a tolerance to that effect, and the water in the coffee itself largely makes up for it. One study in habitual male coffee drinkers (Killer and colleagues, published in PLoS ONE in 2014) found that moderate coffee intake hydrated them about as well as the same amount of water. So a normal cup of coffee is not going to dry you out in any meaningful way.
The catch is what coffee doesn't do. It isn't a rehydration drink. After a night of drinking you may be short on fluid and, if you vomited or sweated a lot, on salts like sodium and potassium too. Coffee replaces none of the salts and only a modest amount of fluid. If you have one coffee and nothing else, you'll still be behind.
So the order matters:
- Water first. A big glass (or two) of water before or alongside the coffee.
- Then your coffee.
- Add electrolytes if you need them. If you were sick, sweated a lot, or feel dizzy when you stand up, an electrolyte drink makes more sense than a second coffee. Our comparison of Gatorade for a hangover and the wider list of hangover recovery drinks can help you pick one.
Coffee vs. water isn't really a competition. Water handles the fluid. Coffee handles caffeine withdrawal and alertness. You want both, in that order.
Is Coffee Bad for a Hangover Stomach?
For many people, yes. This is the biggest downside of coffee the morning after.
Alcohol irritates the lining of the stomach and increases acid production, which is why nausea, heartburn, and a sour stomach are so common after a big night. Coffee also stimulates stomach acid, and it can relax the valve between the stomach and the esophagus, which can make heartburn worse. Coffee also tends to speed up the gut, which isn't welcome if you already have loose stools after drinking.
If your stomach feels rough, try these:
- Eat first or eat with it. Even plain toast or crackers before your coffee helps. A proper breakfast is better, and eggs for a hangover explains why eggs are a popular choice.
- Go smaller and milder. A small cup, or a coffee with milk, tends to sit better than a large black coffee or a double espresso.
- Try cold brew. Many people find cold brew easier on the stomach. The evidence on whether it's truly less acidic is mixed, but if it feels better to you, that's a reasonable swap.
- Switch to tea. Black or green tea has less caffeine per cup and is often gentler. It still prevents withdrawal for many people.
- Skip it if you're actively nauseous or vomiting. Sip water or an oral rehydration drink in small amounts until that settles. Our hangover nausea guide walks through what helps.
If you have heartburn that keeps coming back after drinking, our guide to heartburn after drinking explains what's going on and when to see a doctor.
Coffee, Shakes, and "Hangxiety": When Caffeine Makes It Worse
Alcohol is a depressant. While you drink, it dampens your nervous system. As it wears off, your brain swings the other way for a while. That rebound is part of why you can wake at 4 a.m., feel shaky, notice your heart racing, or feel a wave of anxiety the next day. People often call that last part "hangxiety."
Caffeine is a stimulant, so it pushes in the same direction as that rebound. A strong coffee on a jittery morning can turn mild shakiness into trembling hands and a pounding heart, and can make anxiety feel sharper.
Rules of thumb:
- If you already feel shaky or your heart is racing, hold off on coffee or have a small cup with food rather than a large one on an empty stomach.
- If you're prone to anxiety after drinking, keep to your usual amount or less, and see our article on alcohol and anxiety.
- A racing heart that doesn't settle with rest, or chest pain, isn't something to treat with coffee or wait out. Get it checked. Our guide to a racing heart after drinking explains the common causes and the warning signs, and hangover shakes covers tremor in more detail.
The Timing: When to Drink Coffee the Morning After
Timing matters more than most people realize, both for the morning itself and for tonight's sleep.
In the morning: water, food, then coffee. Start with water. Have something to eat if you can. Then have your usual coffee. There's no need to rush it the second you wake up unless the caffeine-withdrawal headache is already kicking in, in which case a small cup sooner is fine.
Keep it to your normal amount. For context, the US Food and Drug Administration says up to about 400 mg of caffeine a day is generally not associated with harmful effects for most healthy adults. An 8-ounce cup of brewed coffee usually has somewhere around 80 to 100 mg, while large coffee-shop drinks can contain far more. The morning after drinking isn't the time to push toward the top of that range, because you're already more prone to jitters and a fast heartbeat. Pregnant people, people with heart rhythm problems, and people sensitive to caffeine should aim lower, and should follow their own doctor's advice.
Stop by early afternoon. Caffeine stays in your system for hours. Its half-life (the time it takes your body to clear half of it) is commonly around five hours, though it varies a lot from person to person. A coffee at 4 p.m. can still be working on you at bedtime. That matters because poor sleep is one of the biggest drivers of how bad a hangover feels, and alcohol already wrecked last night's sleep. The best hangover recovery tool you have is a good night's sleep tonight, so don't trade it for an afternoon pick-me-up. If sleep is the problem, our guide on why you can't sleep after drinking explains how alcohol disrupts sleep and what helps.
Don't drink coffee while you're still drinking alcohol. That leads to the next point.
Can Coffee Sober You Up? No, and Here's Why It Matters
Coffee does not sober you up. Your liver breaks down alcohol at a fairly steady rate, and caffeine doesn't change that rate. Your blood alcohol level after three coffees is the same as it would have been with none.
What caffeine does do is make you feel more awake. That's the dangerous part. Researchers sometimes describe the result as being "wide-awake drunk": you feel alert enough to think you're fine, but your reaction time, judgment, and coordination are still impaired by alcohol. The US Centers for Disease Control and Prevention warns that mixing alcohol with caffeine can mask how drunk you feel and is linked with drinking more and with risky behavior. That concern is also why the FDA acted in 2010 against pre-mixed caffeinated alcoholic drinks.
This applies to the morning after, too. If you drank heavily late into the night, you may still have alcohol in your system when you wake up. Coffee won't make you safe to drive. Only time does.
The same logic applies to cocktails that mix the two, such as an espresso martini or a rum and cola. They're fine in moderation, but the caffeine can make it harder to notice how much the alcohol is affecting you, and if you have them late, the caffeine can also hurt your sleep, which tends to make the next morning worse.
Coffee vs. Other Morning-After Drinks
Here's how coffee compares with the other things people reach for:
| Drink | Best for | Watch out for |
|---|---|---|
| Water | Basic rehydration | Doesn't replace salts if you were sick or sweated a lot |
| Coffee | Caffeine-withdrawal headache, grogginess | Stomach acid, jitters, late-day sleep disruption |
| Tea (black or green) | Gentler caffeine dose | Still contains caffeine, so the same timing rule applies |
| Electrolyte drink or oral rehydration solution | Rehydration after vomiting, sweating, or diarrhea | Sugar content in some sports drinks |
| Ginger tea | Mild nausea | Not much else |
| Energy drinks | Not recommended | Very high caffeine and sugar on an already jittery system |
| "Hair of the dog" (more alcohol) | Nothing useful | Delays the hangover and adds to the alcohol your body has to process |
Energy drinks deserve a special mention. Many contain far more caffeine than a cup of coffee, sometimes along with other stimulants and a lot of sugar. On a morning when your heart may already be racing and your sleep was poor, they're the worst caffeine option. If you want caffeine, a normal coffee or tea is the simpler choice.
Does Coffee Help a Hangover Faster? A Realistic Plan
Nothing speeds up a hangover dramatically, and there is no good evidence that coffee shortens one. Most hangovers clear within about a day. What you can do is avoid making it worse and handle the symptoms one at a time. Here's a plan that uses coffee sensibly:
- Wake up and drink a large glass of water. Keep sipping through the morning.
- Eat something. Toast, eggs, a banana, or whatever your stomach can handle.
- Have your normal coffee, especially if you drink coffee daily. Small if your stomach or nerves feel rough.
- If your head still hurts, consider a single standard dose of a pain reliever with food, choosing it based on the alcohol interaction guides above.
- Use electrolytes if you were sick or feel dizzy.
- Get outside or move gently if you feel up to it. A short walk can help you feel more awake.
- No caffeine after early afternoon, and aim for an early night.
What About Preventing the Hangover in the First Place?
Coffee is a morning-after tool, not a prevention strategy. The things that actually lower your chances of a bad hangover are the boring ones: drinking less, drinking more slowly, eating a proper meal before you start, alternating alcoholic drinks with water, and protecting your sleep. Our guide to how to prevent a hangover goes through each of these.
Some people also take a DHM (dihydromyricetin) supplement on nights they drink. DHM is a plant compound that has shown interesting effects on alcohol metabolism and the brain in animal studies, but human research is still limited, and there is no good evidence that it prevents hangovers reliably. If you want to try it, it's a reasonable add-on to the basics, not a replacement for them. No Days Wasted DHM and Double Wood DHM are two widely available options, and our DHM dosage guide explains how people typically use it. DHM doesn't interact with coffee in any known way, but if you take prescription medication, check with your doctor or pharmacist before adding any supplement.
The Bottom Line
Coffee is a reasonable part of a hangover morning, especially if you drink it every day. It helps by preventing a caffeine-withdrawal headache, giving pain relievers a small boost, and clearing some of the fog. It doesn't rehydrate you, settle your stomach, or clear alcohol from your body, and too much of it can make shakiness, a racing heart, and anxiety worse. Have water first, eat something, keep to your usual cup or two, stop by early afternoon, and never use coffee to decide whether you're fit to drive.
Related reading: the best tea for a hangover.
Frequently Asked Questions
Is coffee good for a hangover?
It can help with part of a hangover. If you drink coffee daily, a normal cup the morning after prevents a caffeine-withdrawal headache and reduces grogginess. It won't rehydrate you, settle your stomach, or shorten the hangover overall, and too much can worsen jitters, a racing heart, and anxiety. Have water and some food first, then your usual amount.
Does coffee help a hangover headache?
Often, yes, for regular coffee drinkers. Part of a morning-after headache can be caffeine withdrawal, which a cup of coffee fixes. Caffeine also makes common pain relievers work slightly better. If you rarely drink coffee, it's less likely to help much.
Does coffee make a hangover worse?
It can. Coffee increases stomach acid, so it may worsen nausea and heartburn, especially on an empty stomach. As a stimulant, it can also worsen shakiness, a fast heartbeat, and anxiety. And caffeine late in the day can ruin the recovery sleep you need. Keeping to a normal amount with food in the morning avoids most of these problems.
Is coffee or water better for a hangover?
Water comes first, because coffee doesn't replace the fluid or salts you may have lost. Moderate coffee isn't strongly dehydrating for regular drinkers, but it isn't a rehydration drink either. The best approach is water first, then coffee, and an electrolyte drink if you vomited or sweated a lot.
Can coffee sober you up?
No. Caffeine doesn't change how fast your liver clears alcohol, so your blood alcohol level stays the same. It only makes you feel more alert, which can make you think you're less impaired than you are. Never use coffee to decide you're safe to drive. Only time lowers blood alcohol.
How much coffee should I drink with a hangover?
About your usual amount, typically one or two cups. More caffeine than normal mainly adds jitters and a faster heartbeat. The FDA describes up to about 400 mg a day as generally safe for most healthy adults, but the morning after drinking is not the time to push that limit, and people who are pregnant or have heart conditions should follow their doctor's advice.
When should I stop drinking coffee after a hangover day?
Try to have your last caffeine by early afternoon. Caffeine can stay active in your body for many hours, and good sleep that night is one of the most important things for recovering from a hangover.
Is tea or coffee better for a hangover?
Tea is often the gentler choice. It has less caffeine per cup, so it's less likely to cause jitters, and many people find it easier on the stomach. It can still prevent a caffeine-withdrawal headache for most coffee drinkers who are willing to switch for a day.