Why Won’t My Headache Go Away After Taking Medicine?

A headache that persists after taking pain medication usually comes down to one of a few fixable problems: you took the medicine too late, your body isn’t absorbing it well, you’re treating the wrong type of headache, or the medication itself has become part of the problem. In rarer cases, a stubborn headache signals something that needs medical attention. Here’s how to figure out which scenario fits you.

You May Have Waited Too Long to Take It

Timing matters more than most people realize, especially with migraines. In one clinical study, people who took medication during mild pain were pain-free within an hour 47% of the time. Those who waited until the pain was moderate or severe? Only 14% got the same result. By two hours, the gap narrowed but still held: 84% versus 53%.

This happens because headaches involve a cascade of chemical and nerve changes that build on each other. Once that cascade is fully underway, medication has to fight against a much larger wave of inflammation and nerve signaling. Taking a pain reliever at the very first sign of a headache, before the pain ramps up, gives it the best chance of working.

Your Stomach May Not Be Absorbing the Pill

During a migraine, your stomach often slows down dramatically. This is called gastric stasis, and it’s driven by shifts in your nervous system that reduce the normal muscular contractions that move food and liquid through your digestive tract. The result: a pill you swallowed sits in your stomach instead of moving to your intestines, where absorption actually happens.

This explains why you might feel nauseous during a bad headache and why the medicine seems to do nothing. Research shows that migraine patients absorb oral medications less efficiently than people without migraines, even between attacks. If nausea or a sense of fullness accompanies your headaches, this is likely a factor. Non-oral options, like nasal sprays or injections, bypass the stomach entirely. An injectable form of sumatriptan, for example, reaches peak concentration in about 12 minutes and starts working in 10, compared to 30 to 45 minutes or longer for an oral tablet that has to survive a sluggish stomach first.

You Might Be Treating the Wrong Type of Headache

Migraine is one of the most commonly misdiagnosed conditions in medicine. One study found that only 28% of migraine patients who visited a primary care doctor received the correct diagnosis. Among those who saw a non-neurologist specialist, just 8.3% were correctly diagnosed. The most common mix-up is labeling a migraine as a tension headache or sinus headache, which leads people to reach for medications that don’t match what’s actually happening in their brain.

Over-the-counter pain relievers like ibuprofen or acetaminophen can work for mild to moderate migraines, but they often fail for more intense attacks because they don’t target the specific nerve pathways involved. If you regularly get headaches with throbbing pain on one side, sensitivity to light or sound, nausea, or pain that worsens with physical activity, those point toward migraine rather than a simple tension headache. The treatment approaches differ significantly.

The Medicine Itself Could Be Causing Headaches

This is the most counterintuitive reason, but it’s extremely common. Taking pain relievers too frequently can rewire your brain’s pain system, leading to what’s known as medication overuse headache. Your brain adapts to the regular presence of the drug and, when it wears off, generates a rebound headache that feels like the original problem returning. So you take more medicine, which temporarily helps, and the cycle deepens.

The thresholds are well established. For simple painkillers like ibuprofen, aspirin, or acetaminophen, using them on 15 or more days per month for three months or longer crosses the line. For stronger or combination medications (anything combining two or more active ingredients, plus prescription migraine drugs like triptans or opioids), the threshold is lower: 10 or more days per month for three months. If your headache pattern has been gradually worsening over weeks or months and you’ve been reaching for painkillers most days of the week, this is a strong possibility. The only real fix is to stop the overuse, which temporarily makes headaches worse before they improve.

Caffeine: Helper and Complicator

Caffeine boosts the effectiveness of common painkillers by about 5% to 10%, which is why it’s included in many combination headache products. But this relationship cuts both ways. If you’re a regular coffee or tea drinker who missed your usual intake, a caffeine withdrawal headache can layer on top of whatever you’re already dealing with, and a standard pain reliever won’t fully address it. Conversely, if you rely on caffeine-containing pain relievers frequently, you’re accelerating the medication overuse cycle described above.

When a Stubborn Headache Needs Attention

Most persistent headaches have a benign explanation, but certain patterns warrant prompt medical evaluation. A headache that comes on suddenly and severely (sometimes described as a “thunderclap”) is the most urgent, as it can signal bleeding in the brain. Other warning signs include headaches accompanied by fever, confusion, vision changes, weakness or numbness on one side, headaches that change dramatically in pattern or intensity, headaches triggered by coughing or exertion, and new headaches starting after age 65 or during pregnancy.

A headache that followed a head injury, even a minor one, also deserves evaluation rather than repeated doses of over-the-counter medication. The same applies if you have a compromised immune system, since infections that wouldn’t concern most people can cause serious problems in that context.

Breaking the Cycle of Frequent Headaches

If you’re getting headaches on five or more days per month, that frequency alone is a risk factor for the problem getting worse over time. Having 10 or more headache days per month carries roughly six times the risk of progressing to chronic daily headache compared to lower frequencies. At 15 or more days per month, headaches are formally classified as chronic.

This is the point where the strategy shifts from treating individual headaches to preventing them. Guidelines suggest that preventive treatment is appropriate when you have at least six headache days per month, or fewer if those headaches are significantly disruptive. Preventive approaches aim to reduce the overall frequency and severity so that when you do need an acute pain reliever, it actually works.

If your current medication isn’t helping, it’s worth looking at the pattern rather than just the individual headache. Track how many days per month you have headaches, how many days you take medication, and whether you’re catching them early or waiting until the pain is established. That information narrows down which of these factors is most likely behind your medication-resistant headaches, and it gives a doctor something concrete to work with if you decide to seek help.