A hangover headache typically fades on its own within 24 hours, though it can linger up to 72 hours after heavy drinking. The fastest way to ease it is a combination of hydration, an anti-inflammatory pain reliever like ibuprofen or naproxen, food that stabilizes your blood sugar, and rest. There’s no instant cure, but these steps can shorten the misery considerably.
Why Alcohol Causes a Headache
Understanding the mechanism helps explain why certain remedies work and others don’t. When you drink, your body breaks alcohol down into byproducts that trigger widespread inflammation in the brain. Alcohol activates pain-sensing receptors and immune receptors on brain cells, which sets off a chain reaction: inflammatory signals flood the area around your brain’s blood vessels, causing them to swell and press on surrounding nerves. That pressure is the throbbing pain you feel the next morning.
This inflammatory response ramps up over hours. Levels of key inflammatory compounds peak roughly 7 to 24 hours after drinking, which is why the headache often feels worse in the morning or even into the afternoon. One of alcohol’s breakdown products, acetate, also releases a chemical called adenosine, which further dilates blood vessels. Meanwhile, alcohol acts as a diuretic, pulling water from your body and depleting electrolytes, both of which compound the headache.
Take the Right Pain Reliever
An over-the-counter anti-inflammatory pain reliever is the most direct way to address a hangover headache because inflammation is the core problem. Ibuprofen and naproxen both work by blocking the enzyme (COX-2) that drives this inflammatory cascade in your brain. A standard dose is fine for most people.
Avoid acetaminophen (Tylenol). Your liver is already processing alcohol and its toxic byproducts, and adding acetaminophen to that workload can cause serious liver damage. This applies even at normal doses if there’s still alcohol in your system or your liver is still clearing it. Stick with ibuprofen or naproxen, and take them with food to protect your stomach, which is likely already irritated from the alcohol.
Rehydrate With Electrolytes
Alcohol suppresses the hormone that tells your kidneys to retain water, so you lose far more fluid than you take in while drinking. By morning, you’re dehydrated, and dehydration alone causes headaches by reducing the volume of fluid surrounding your brain. Plain water helps, but adding electrolytes speeds up absorption and replaces the sodium and potassium you lost. Sports drinks, oral rehydration solutions, coconut water, or even a pinch of salt in water with a squeeze of lemon all work.
Aim to drink water steadily rather than chugging a large amount at once, which can cause nausea on an already sensitive stomach. Sipping 8 to 16 ounces over 30 minutes, then continuing to drink throughout the morning, is a more practical approach.
Eat to Stabilize Blood Sugar
Alcohol disrupts your body’s ability to maintain steady blood sugar levels, and low blood sugar contributes to headaches, shakiness, dizziness, and irritability. Reaching for simple carbs like toast or crackers gives a quick boost, but it can cause a spike and crash that leaves you feeling worse an hour later.
A better strategy is pairing complex carbohydrates with protein and a source of healthy fat. This combination slows digestion and creates a gradual, sustained rise in blood sugar. Good options include eggs with whole grain toast and avocado, Greek yogurt with nuts, oatmeal with peanut butter, or a bean-based meal if you can stomach it. Even a handful of mixed nuts is a solid choice because they contain all three: carbohydrates, protein, and fat.
Use Caffeine Carefully
Coffee can help a hangover headache, but it’s a double-edged sword. Caffeine narrows blood vessels, which counteracts the swelling that’s pressing on nerves around your brain. That vasoconstriction can bring noticeable relief within 20 to 30 minutes.
The catch: caffeine is also a diuretic, which worsens dehydration. And once it wears off, blood vessels re-expand, potentially bringing the headache right back. If you’re a regular coffee drinker, a small cup makes sense because skipping it entirely would add caffeine withdrawal on top of your hangover. If you don’t normally drink coffee, it’s not worth introducing. In either case, match every cup of coffee with extra water.
Sleep It Off (If You Can)
Alcohol fragments your sleep architecture, cutting into the deeper and more restorative phases of sleep. Even if you were in bed for eight hours, you likely didn’t get quality rest. Your body clears inflammatory byproducts more efficiently during genuine sleep, so going back to bed for a few hours after hydrating and eating can accelerate recovery in a way that nothing else matches. If sleep isn’t possible, simply resting in a dark, quiet room reduces the sensory input that amplifies headache pain.
What About Supplements and Herbal Remedies
Prickly pear extract is one of the few hangover remedies with clinical trial data behind it. In a study from Tulane Health Sciences Center, 55 volunteers who took prickly pear extract five hours before drinking experienced less severe hangover symptoms than those who received a placebo, with significant reductions in nausea, dry mouth, and appetite loss. The researchers found that prickly pear lowered C-reactive protein, an inflammatory marker produced by the liver, suggesting it works by dampening the same inflammatory response that causes the headache. The limitation: it was taken before drinking, not after. As a morning-after remedy, the evidence is thin.
Ginger tea may help with the nausea component of a hangover, which indirectly makes the headache more manageable. B vitamins and zinc have shown some association with milder hangovers in survey-based studies, but controlled trial evidence is limited. No supplement reliably eliminates a hangover headache once it’s underway.
Drinks That Make Hangovers Worse
Not all alcohol produces equally bad hangovers. Dark-colored spirits like bourbon, whiskey, and brandy contain higher levels of congeners, which are chemical byproducts of fermentation that your body has to process alongside the alcohol itself. Research comparing bourbon and vodka drinkers found that bourbon, a high-congener liquor, produced significantly more severe hangovers than vodka, which contains very few congeners. Beer also tends to be higher in congeners than clear spirits.
This doesn’t help much the morning after, but it’s useful information for next time. If you’re prone to bad headaches, sticking to lighter-colored drinks like vodka, gin, or white wine may reduce their severity.
A Practical Recovery Timeline
Most hangover headaches peak within 12 to 14 hours after your blood alcohol level starts dropping and resolve within 24 hours. Aggressive hydration, food, and an anti-inflammatory pain reliever can compress that timeline noticeably, with many people feeling functional within 4 to 6 hours of waking up. In cases of very heavy drinking, symptoms can persist up to 72 hours, though this is less common.
If your headache is unusually intense, accompanied by confusion, vomiting that won’t stop, or seizures, that’s not a typical hangover. Those symptoms suggest alcohol poisoning or another medical issue that needs immediate attention.

