For most common headaches, ibuprofen (Advil, Motrin) at 400 mg is the single most effective over-the-counter option, with 63% of people in clinical trials reaching complete pain relief compared to 34% with acetaminophen (Tylenol). That said, the best choice depends on the type of headache you’re dealing with, how often you get them, and what other medications or conditions are in the picture.
Ibuprofen vs. Acetaminophen for Tension Headaches
Tension headaches, the kind that feel like a tight band around your head, are the most common type. Both ibuprofen and acetaminophen work, but ibuprofen has a consistent edge. In a randomized trial comparing 400 mg of ibuprofen to 1,000 mg of acetaminophen, people taking ibuprofen felt meaningful relief about 14 minutes faster (39 minutes vs. 53 minutes). Pain scores remained significantly lower with ibuprofen at every time point measured through four hours.
Acetaminophen is still a reasonable choice if you can’t take anti-inflammatory drugs. It’s gentler on the stomach and safe for people on blood thinners or with kidney concerns. Just be careful with the total daily amount: the FDA sets the maximum at 4,000 mg per day across all medications you’re taking, and acetaminophen hides in many cold, flu, and sleep products. Going over that threshold risks serious liver damage.
When Naproxen Makes More Sense
Naproxen sodium (Aleve) belongs to the same anti-inflammatory family as ibuprofen but lasts considerably longer. In head-to-head comparisons, naproxen provided significantly better pain relief than ibuprofen from hours 8 through 12. The median duration of relief was about 7 hours for naproxen versus 6 for ibuprofen.
That longer duration means fewer doses throughout the day, which is helpful if your headaches tend to linger or come back after a first dose wears off. The tradeoff is that naproxen can be slightly slower to kick in initially. If speed matters most, ibuprofen is better. If you want relief that holds, naproxen is worth trying.
Adding Caffeine to Pain Relievers
Caffeine genuinely boosts the effectiveness of pain relievers, though not as dramatically as some marketing suggests. A large Cochrane review found that adding caffeine to a standard analgesic helps an extra 5% to 10% of people reach meaningful pain relief. That’s a modest but real improvement, which is why combination products like Excedrin (aspirin, acetaminophen, and caffeine together) exist.
If you don’t want to buy a combination product, a cup of coffee or tea alongside your pain reliever can serve the same purpose. Just be mindful that caffeine itself can trigger headaches in some people, especially during withdrawal if you’re a daily coffee drinker who skips a day.
What Works for Migraines
Migraines are a different animal. They typically involve throbbing pain on one side, sensitivity to light or sound, and sometimes nausea. Over-the-counter options perform noticeably worse here. In a large study published through Harvard Health, participants rated ibuprofen helpful for migraines only 42% of the time. Acetaminophen fared even worse at 37%. The aspirin-acetaminophen-caffeine combination worked about half the time.
Prescription triptans scored five to six times more helpful than ibuprofen for migraines. If you find yourself regularly reaching for OTC painkillers for migraines and getting mediocre results, a triptan prescription could be a significant upgrade. These are taken at the onset of a migraine and work by targeting the specific vascular and nerve changes that cause migraine pain, rather than just dampening pain signals generally.
Preventing Headaches With Water and Supplements
Dehydration is one of the most overlooked headache triggers. Research on migraine patients found that drinking at least 1.5 liters of water daily (about six glasses) improved quality of life, and one case study documented headache frequency dropping by roughly half when water intake was adequate versus insufficient. If you’re someone who gets frequent headaches and doesn’t drink much water, this is the lowest-effort intervention available.
For people who get migraines regularly, vitamin B2 (riboflavin) at 400 mg daily has shown benefit as a preventive measure in a randomized trial published in Neurology. It works by supporting cellular energy production, which may be impaired in people prone to migraines. This isn’t a quick fix for a headache you have right now. It’s a daily supplement taken over at least three months to reduce how often migraines occur.
The Rebound Headache Trap
This is the part most people don’t know about. Taking pain relievers too frequently can actually cause more headaches. The International Headache Society defines medication overuse headache as headaches occurring 15 or more days per month in someone who has been using painkillers on 10 to 15 days per month (depending on the type) for more than three months.
The pattern is insidious. You take a painkiller, it helps, the headache comes back sooner than expected, you take another dose, and gradually your baseline shifts until you’re having near-daily headaches that only temporarily respond to medication. Simple analgesics like ibuprofen and acetaminophen carry this risk at 15 or more days per month. Combination products containing caffeine can trigger it at just 10 days per month. If your headaches are frequent enough that you’re reaching for medication more than two or three times a week, that pattern itself may be part of the problem.
Headaches That Need Urgent Attention
Most headaches are harmless, but a few patterns signal something more serious. A sudden, explosive headache that reaches maximum intensity within seconds, sometimes called a thunderclap headache, can indicate a ruptured blood vessel and needs emergency evaluation immediately.
Other warning signs include headache with fever and unexplained weight loss, new neurological symptoms like weakness on one side, numbness, or vision changes, and headaches that are clearly getting worse over weeks. A new type of headache starting after age 50 is more likely to have a secondary cause than the same headache in a 25-year-old. Headaches that change with position, getting dramatically better or worse when you stand up or lie down, can point to pressure changes around the brain that need investigation.

