How Long Does It Take for a Headache to Go Away?

Most headaches go away within a few hours, but the real answer depends on what type of headache you’re dealing with. A mild tension headache can fade in 30 minutes, while a migraine can stretch across three days. Knowing what kind of headache you have is the fastest way to predict when you’ll feel better and what will actually help.

Tension Headaches: 30 Minutes to 7 Days

Tension headaches are the most common type, and they have the widest range. They can last about 30 minutes on the short end but sometimes persist for up to a week. Most fall somewhere in the middle, resolving within a few hours, especially if you address the trigger. Stress, poor sleep, skipped meals, and long hours staring at a screen are the usual culprits.

If you take an over-the-counter pain reliever like ibuprofen or acetaminophen, you can expect some relief within one to two hours. Acetaminophen tends to kick in slightly faster, reaching its peak effect within about 30 to 60 minutes, while ibuprofen peaks closer to the one- to two-hour mark. Resting in a quiet room, drinking water, and loosening tight muscles in your neck and shoulders can speed things along even without medication.

Migraines: Hours to Three Days

Migraines are more than just a bad headache, and they unfold in stages. The pain phase itself typically lasts several hours to up to three days. But the full experience often starts well before the pain hits and lingers after it fades.

The first stage, called prodrome, can begin hours or even days before the headache. You might notice food cravings, mood changes, neck stiffness, or unusual fatigue. About one in four people with migraines also experience aura, a phase of visual disturbances or tingling that builds over at least five minutes and usually lasts under an hour (though in roughly 20% of cases, it can last longer).

After the pain finally subsides, many people enter a recovery phase that feels like a hangover: brain fog, fatigue, and general achiness. The length of this “postdrome” varies from person to person but can add another several hours to the total timeline. All told, a full migraine episode from first warning sign to full recovery can stretch well beyond the three-day headache window.

Cluster Headaches: 1 to 3 Hours Per Attack

Cluster headaches are shorter but far more intense. Each individual attack lasts about one to three hours on average and typically strikes on one side of the head, often around or behind the eye. The pain comes on fast, peaks quickly, and then disappears, sometimes almost as suddenly as it arrived.

The catch is that cluster headaches come in cycles. During an active cluster period, you may get near-daily attacks for weeks or even months. These periods are followed by remissions that can last months or years before the cycle starts again. So while any single headache is relatively brief, the pattern itself can persist for a long time.

Sinus Headaches: About a Week

Sinus headaches are tied directly to sinus infections, and they last as long as the infection does. Most sinus infections are caused by viruses and clear up within a week to 10 days. Once the congestion and inflammation resolve, the headache goes with them.

Because the headache is a symptom of the infection rather than a standalone problem, pain relievers will only take the edge off temporarily. The headache won’t fully disappear until the underlying cause clears. If your sinus symptoms haven’t improved after about a week, you may be dealing with a bacterial infection that needs additional treatment.

Dehydration Headaches: A Few Hours

If your headache is caused by dehydration, it’s one of the quickest to resolve. Most dehydration headaches get better within a few hours once you stop what you’re doing and start drinking water. You don’t need to chug a liter all at once. Steady sipping, combined with resting and getting out of the heat if that’s a factor, is usually enough.

If the pain persists more than a few hours after rehydrating, dehydration probably isn’t the only issue, and it’s worth considering other causes.

Caffeine Withdrawal Headaches: 2 to 9 Days

If you recently cut back on or quit caffeine, the resulting headache can be surprisingly stubborn. Withdrawal headaches from quitting cold turkey typically last anywhere from 2 to 9 days. They tend to be dull and persistent, similar to a tension headache, and are often accompanied by fatigue and irritability.

Tapering your caffeine intake gradually rather than stopping all at once can shorten or prevent the withdrawal period entirely. If you’re already in the thick of it, a small amount of caffeine (half a cup of coffee, for example) will usually relieve the headache within an hour, though that does reset the clock on quitting.

Rebound Headaches From Overusing Pain Relievers

This is the frustrating paradox of headache treatment: taking pain medication too frequently can actually cause more headaches. When you use over-the-counter painkillers on more than about 10 to 15 days per month, your body can start producing headaches in response to the medication wearing off. This creates a cycle where you take more medication, which causes more headaches.

Breaking the cycle means stopping the overused medication, and it gets worse before it gets better. Withdrawal symptoms, including worsening headaches, most often last 2 to 10 days but can continue for several weeks in some cases. After that initial rough patch, headache frequency typically drops significantly.

When a Headache Signals Something Serious

A headache that reaches maximum intensity within one minute is called a thunderclap headache, and it’s a medical emergency. This sudden, explosive pain can signal bleeding in the brain or other dangerous conditions. The defining feature is the speed: ordinary headaches build gradually, while a thunderclap headache goes from zero to the worst pain of your life in under 60 seconds.

Other warning signs include a headache that’s dramatically different from any you’ve had before, one that follows a head injury, or a headache accompanied by fever, stiff neck, confusion, seizures, or vision changes. These situations call for immediate medical evaluation.

When Headaches Become Chronic

If you’re getting headaches on 15 or more days per month for longer than three months, the pattern is classified as chronic. At that frequency, identifying your specific headache type and triggers becomes especially important because the treatment approach shifts. Chronic headaches often respond better to preventive strategies (lifestyle changes, stress management, and in some cases preventive medications) than to treating each individual episode as it comes.

Keeping a headache diary that tracks when your headaches happen, how long they last, what you ate, how you slept, and what seemed to help can reveal patterns that are hard to spot otherwise. Even a few weeks of tracking gives you and your provider much more to work with than trying to recall details from memory.