What Can I Take for a Hangover Headache?

Ibuprofen (Advil, Motrin) or naproxen (Aleve) are the best over-the-counter options for a hangover headache. Both reduce the inflammatory chemicals your body produces while processing alcohol, directly targeting one of the main causes of the pain. Pair either one with water, electrolytes, food, and time for the most relief.

Why Your Head Hurts After Drinking

A hangover headache isn’t just dehydration, though that plays a significant role. When your liver breaks down alcohol, it produces a toxic byproduct called acetaldehyde that builds up in your blood faster than your body can clear it. At the same time, alcohol triggers a rise in inflammatory chemicals that affect hormones and blood chemistry. Blood vessels dilate, increasing blood flow around the brain and putting pressure on surrounding nerves. Those nerves send pain signals, and the result is that pounding headache.

Sleep disruption compounds everything. Alcohol interferes with your sleep-wake cycle, so even if you slept for eight hours, you likely didn’t get quality rest. Your brain is dealing with inflammation, dehydration, hormonal shifts, and sleep deprivation all at once.

Best Pain Relievers for a Hangover

Anti-inflammatory pain relievers like ibuprofen and naproxen work well because they block the inflammatory chemicals (prostaglandins) that contribute to both the headache and the general achiness of a hangover. A standard over-the-counter dose of either is appropriate. Naproxen lasts longer, around 8 to 12 hours per dose versus 4 to 6 for ibuprofen, which can be an advantage if you don’t want to re-dose.

One important caveat: both ibuprofen and aspirin can irritate your stomach, and alcohol has already done a number on your stomach lining. If your hangover includes nausea or stomach pain, taking these on an empty stomach can make things worse. Eat something first, even if it’s just toast or crackers, to create a buffer.

Avoid Acetaminophen (Tylenol)

Acetaminophen is processed by your liver, the same organ working overtime to clear alcohol from your system. When alcohol is present, the liver produces more of a harmful byproduct of acetaminophen metabolism, while simultaneously having fewer resources to neutralize it. This combination raises the risk of liver damage. If you’ve been drinking heavily, skip the Tylenol entirely.

Aspirin: It Works, but Watch Your Stomach

Aspirin reduces headache pain effectively, but it carries the highest stomach risk of the common pain relievers when combined with alcohol. The FDA specifically warns that regular aspirin users should limit alcohol intake to avoid gastrointestinal bleeding. Even at recommended doses, mixing aspirin and alcohol can cause nausea, vomiting, heartburn, and in some cases, internal bleeding that shows up as dark or tarry stools. If ibuprofen or naproxen is available, choose one of those instead.

Caffeine Can Help, With a Catch

A cup of coffee or tea can genuinely ease a hangover headache. Caffeine narrows blood vessels, counteracting the dilation that’s putting pressure on the nerves around your brain. It also increases alertness, which helps with the foggy, sluggish feeling.

The catch is that caffeine is a mild diuretic, so it can contribute to further fluid loss when you’re already dehydrated. Keep it to one or two cups and drink water alongside it. If you’re a regular coffee drinker, skipping your morning cup will actually add a caffeine withdrawal headache on top of everything else, so in that case, coffee is practically essential.

Hydration and Electrolytes

Alcohol suppresses a hormone that helps your kidneys retain water, which is why you urinate more when drinking. By morning, you’re running a fluid deficit. Plain water helps, but it doesn’t replace the sodium, potassium, and other electrolytes you’ve lost. Sports drinks, oral rehydration solutions, or broth are better choices because they contain electrolytes that help your body actually absorb and retain the water you’re taking in.

One thing to avoid: very salty drinks. High-sodium options like certain vegetable juices can actually pull water out of your cells and cause your kidneys to produce even more urine, worsening dehydration rather than fixing it. A moderate electrolyte drink or a bowl of soup strikes the right balance.

Food and Timing

Eating helps in two ways. First, it gives your body glucose, which alcohol depletes. Low blood sugar contributes to that weak, shaky, headachy feeling. Second, food in your stomach protects the lining before you take a pain reliever. Bland, easy-to-digest foods like bananas, rice, eggs, or toast are good starting points. Bananas in particular are high in potassium, one of the key electrolytes you’ve lost.

Ultimately, time is the most effective cure. Your liver clears alcohol at a roughly fixed rate, and no pill or drink speeds that process up. Most hangover headaches resolve within 24 hours as your body finishes metabolizing the alcohol and its byproducts. Everything else you take just manages the symptoms while your body does the real work.

A Practical Recovery Plan

  • Immediately: Drink 16 to 20 ounces of water or an electrolyte drink.
  • Within 30 minutes: Eat something bland to settle your stomach and raise blood sugar.
  • After eating: Take a standard dose of ibuprofen or naproxen with a full glass of water.
  • If you drink coffee daily: Have your usual cup, but match it with equal water.
  • Throughout the day: Keep sipping water or electrolyte drinks. Don’t try to chug a liter at once, as steady intake is absorbed more effectively.