For most headaches, an over-the-counter pain reliever like ibuprofen, acetaminophen, or naproxen will do the job. The best choice depends on the type of headache, how fast you need relief, and how often you’re reaching for the bottle. Here’s what works, when to use it, and what to watch out for.
Your Main OTC Options
Three pain relievers cover the vast majority of everyday headaches: ibuprofen, acetaminophen, and naproxen. They all start working within about 30 minutes, but they differ in how long they last and how they work in your body.
Ibuprofen is the most popular choice for headaches. It reduces both pain and inflammation, and a standard dose of 200 to 400 mg lasts roughly 4 to 6 hours. It’s effective for tension headaches and mild migraines alike.
Acetaminophen works differently. It targets pain signals in the brain rather than reducing inflammation, which makes it gentler on the stomach. A standard dose is 500 to 1,000 mg, and you should never exceed 4,000 mg in a single day, as going over that threshold can cause serious liver damage.
Naproxen is the longer-lasting option. In clinical studies, it provided significantly better pain relief than ibuprofen at the 8- to 12-hour mark. If your headaches tend to linger or come back later in the day, naproxen is worth trying. A standard dose is 220 to 440 mg.
Combination Pills Work Faster
Products that combine aspirin, acetaminophen, and caffeine (sold as Excedrin and similar brands) consistently outperform single-ingredient pills. In a large clinical trial, this triple combination delivered meaningful pain relief about 20 minutes faster than ibuprofen alone. It also scored significantly higher on pain relief measures at the 2-, 3-, and 4-hour marks.
The caffeine is doing real work here. It narrows blood vessels around the brain and helps your body absorb the other ingredients faster. This combination is specifically marketed for migraines, but it works well for tension headaches too. The trade-off: if you’re sensitive to caffeine or take it late in the day, it can disrupt your sleep.
Matching the Pill to the Headache
Tension headaches feel like a band of pressure around your head. They’re the most common type, and any of the standard options will handle them. Acetaminophen is a solid first pick if you want something easy on the stomach. Ibuprofen or naproxen works if the headache is stubborn or you also have neck and shoulder tension.
Migraines are more intense, often one-sided, and sometimes come with nausea or sensitivity to light. For mild to moderate migraines, the aspirin-acetaminophen-caffeine combination tends to be the most effective OTC option. Ibuprofen and naproxen also help, especially if taken early. If you’re experiencing nausea, ibuprofen liquid capsules absorb faster than tablets.
Dehydration headaches are a special case. They often feel like a dull ache that gets worse when you move, bend over, or walk. The fastest fix isn’t a pill at all. Sipping water steadily (not gulping it, which can make you nauseous) resolves most dehydration headaches within a few hours. You can take a pain reliever alongside the water to get comfortable faster, but hydration is doing the heavy lifting.
The Rebound Headache Trap
This is the most important thing most people don’t know: taking headache medication too often actually causes more headaches. It’s called medication overuse headache, and it creates a vicious cycle where you keep reaching for the same pills that are making the problem worse.
The threshold is lower than you’d expect. Taking any OTC pain reliever more than two to three days per week can trigger rebound headaches. For people prone to migraines, using these medications on more than 15 days per month significantly raises the risk. The limit to keep in mind is no more than 10 days per month of as-needed headache medication.
If you find yourself hitting that limit regularly, that’s a signal to look at prevention strategies rather than just treating each headache as it comes.
When OTC Isn’t Enough
Nearly half of migraine sufferers report that their pain isn’t adequately treated with over-the-counter medications. If you’re regularly taking more than one type of pill per headache, or your headaches keep breaking through, prescription medications called triptans are the next step. Current treatment guidelines rank triptans as a first-line choice for migraines, and they work through a completely different mechanism than OTC painkillers.
A conversation with your doctor is straightforward. You don’t need to “fail” a certain number of OTC medications first. If ibuprofen or the combination pills aren’t cutting it, say so.
Supplements That Reduce Frequency
If you get frequent headaches or migraines, two supplements have solid evidence behind them for prevention (not treating a headache in progress, but having fewer of them over time).
Magnesium oxide at 400 to 500 mg per day is recommended by the American Headache Society for migraine prevention. Many people with frequent migraines have low magnesium levels, and supplementation can reduce both the frequency and severity of attacks over several weeks.
Riboflavin (vitamin B2) at 400 mg per day is another well-studied option. It supports energy production in brain cells, and regular use has been shown to reduce migraine frequency. Both supplements are inexpensive and have minimal side effects, though magnesium can cause loose stools at higher doses.
These take 6 to 12 weeks of consistent daily use before you’ll notice a difference, so they’re a commitment rather than a quick fix.
Headaches That Need Emergency Care
Most headaches are harmless, but one type demands immediate attention: a thunderclap headache. This is a severe headache that strikes suddenly and peaks within 60 seconds. It feels like the worst headache of your life, coming on like a clap of thunder rather than building gradually. It can be accompanied by confusion, fever, vision changes, or seizures. A thunderclap headache can signal bleeding in the brain or other life-threatening conditions. If you experience one, go to the emergency room. No OTC medication is appropriate here.

