What Helps Relieve Headaches

Most headaches respond well to a combination of simple strategies: over-the-counter pain relievers, hydration, rest, and targeted use of cold or heat. The right approach depends on what type of headache you’re dealing with and how often it strikes. Here’s what actually works, and how to use each option safely.

Over-the-Counter Pain Relievers

For the occasional headache, acetaminophen and ibuprofen are the two most common first-line options. A standard combination tablet contains 250 mg of acetaminophen and 125 mg of ibuprofen, taken every eight hours as needed, with a maximum of six tablets per day. Never exceed 4,000 mg of acetaminophen in a 24-hour period, as higher amounts can damage the liver.

Naproxen is another widely available option that lasts longer per dose, which some people prefer. All three work by reducing the chemical signals that produce pain and inflammation, though they do so through slightly different pathways. If one hasn’t worked for you in the past, it’s worth trying a different one.

The critical rule with any of these medications is frequency. Taking over-the-counter pain relievers on more than 15 days per month puts you at risk for medication overuse headache, sometimes called a rebound headache. This creates a frustrating cycle: the medication that once helped starts triggering new headaches as it wears off. Harvard Health recommends limiting pain reliever use to no more than two to three days per week, or fewer than 10 days per month, to avoid this trap.

Hydration and Dehydration Headaches

Dehydration is one of the most overlooked headache triggers. When your body is low on fluids, your brain physically contracts and pulls away from the skull. That tension on surrounding nerves is what creates the pain. The fix is straightforward: when you drink water, the brain returns to its normal size and the headache fades.

Aim for six to eight glasses of water per day, roughly 1.5 to 2 liters. If you already have a headache, take small sips rather than gulping large amounts quickly, which can cause nausea. If you’ve been sweating heavily, a low-sugar electrolyte drink can help replace what you’ve lost. Skip energy drinks and anything with caffeine when you’re trying to rehydrate, as both can work against you.

Cold Packs for Migraines, Heat for Tension

Temperature therapy is surprisingly effective, but the right choice depends on the headache type. Cold reduces inflammation and slows pain signaling in the brain, making it well suited for throbbing migraines. Place a cold mask or wrap over your forehead, eyes, and temples for 15 to 20 minutes at a time.

Tension headaches, on the other hand, often originate in tight muscles along the neck and shoulders. Gentle heat loosens those muscles and improves blood flow to the area. A heated wrap draped around your neck can ease that tightness and relieve the headache it’s feeding. If you’re unsure which type you have, a general rule: throbbing and pulsing pain responds better to cold, while a dull band of pressure around the head responds better to warmth.

Muscle Relaxation for Tension Headaches

Tension headaches account for the majority of headaches most people experience, and tight muscles in the scalp, jaw, neck, and shoulders are almost always involved. Research going back decades shows that relaxation training is as effective as biofeedback therapy for reducing tension headache frequency, and both outperform placebo treatments.

Progressive muscle relaxation is one of the simplest techniques to try at home. You systematically tense and then release different muscle groups, starting from your feet and working up to your face and scalp. The process takes about 10 to 15 minutes and trains your body to recognize and release the kind of chronic tension that builds into a headache. Doing this daily, even when you don’t have a headache, can reduce how often they occur.

Gentle stretching of the neck and shoulders throughout the day helps too, especially if you sit at a desk. Rolling your head slowly in circles, shrugging your shoulders up to your ears and releasing them, and pressing your chin gently toward your chest are all quick ways to break up muscle tightness before it becomes a headache.

Supplements That Reduce Headache Frequency

If you get frequent headaches or migraines, two supplements have solid evidence behind them for prevention. Magnesium oxide, taken at 400 to 500 mg daily, is recommended by the American Headache Society for migraine prevention. Many people with frequent migraines have lower-than-normal magnesium levels, and supplementing can reduce how often attacks occur.

Riboflavin (vitamin B2) is the other well-studied option, typically taken at 400 mg per day. It plays a role in how your cells produce energy, and consistent daily use over two to three months has been shown to decrease migraine frequency. Neither supplement works as a rescue treatment for a headache already in progress. They’re preventive tools that need weeks of daily use to show results.

When Migraines Need More Than OTC Options

Standard pain relievers don’t always cut it for migraines. Triptans are a class of prescription medications specifically designed to stop migraines while they’re happening. They work by changing blood circulation in the brain and dampening pain signals in the trigeminal system, which is the nerve network responsible for head and face pain. Triptans are considered a first-line treatment for migraines and can also treat cluster headaches and menstrual migraines.

These medications don’t prevent migraines from occurring (with rare exceptions). They’re taken at the onset of an attack, and they work best when used early, before the pain becomes severe. If over-the-counter options consistently fail to relieve your migraines, triptans are the logical next step to discuss with a healthcare provider.

Other Strategies Worth Trying

Caffeine has a complicated relationship with headaches. In small amounts, it can boost the effectiveness of pain relievers, which is why it’s included in some combination headache medications. But regular caffeine use creates dependence, and missing your usual intake triggers withdrawal headaches. If you suspect caffeine is part of your headache cycle, gradually reducing your intake over a week or two is safer than quitting abruptly.

Ginger has shown enough promise in clinical research to be worth trying. A double-blind, placebo-controlled trial tested 400 mg of dry ginger extract as an add-on treatment during migraine attacks and measured headache severity at two hours. While ginger alone isn’t a replacement for proven medications, it may offer modest additional relief when used alongside other treatments, and it carries very few side effects.

Sleep matters more than most people realize. Both too little and too much sleep can trigger headaches. Keeping a consistent sleep schedule, even on weekends, helps stabilize the brain’s pain-processing systems and reduces headache frequency over time.

Headaches That Need Urgent Attention

Most headaches are harmless, but certain patterns signal something more serious. A sudden-onset headache that reaches maximum intensity within seconds, sometimes called a thunderclap headache, can point to a vascular emergency like an aneurysm and warrants immediate evaluation.

Other warning signs include: headache with fever, night sweats, or unexplained weight loss; new neurological symptoms like weakness in one arm or leg, numbness, or vision changes; a brand-new headache pattern starting after age 50; headaches that are clearly getting worse over weeks or months; and headaches that change dramatically with position (standing versus lying down) or that worsen with coughing or straining. Any new headache during or shortly after pregnancy also deserves prompt evaluation, as it can signal vascular or hormonal complications.