Most headaches respond to a combination of simple physical measures and, when needed, a basic over-the-counter painkiller. Applying something cold to your head or neck, drinking water, dimming the lights, and taking ibuprofen or acetaminophen will handle the majority of tension-type headaches and many migraines. But headaches vary widely in their causes and intensity, and what works beautifully for a dull tension headache can barely dent a full-blown migraine. Knowing which strategies to try first and when to reach for something stronger can save you hours of unnecessary suffering.
Start With Cold and Darkness
Reaching for an ice pack before you reach for a pill is a solid first move. A meta-analysis of cold-therapy trials found that cold interventions reduced migraine pain within 30 minutes compared to non-cold approaches.1PubMed. Cold intervention for relieving migraine symptoms: A systematic review and meta-analysis A randomized trial that tested a frozen neck wrap placed over the carotid arteries reported roughly a 32% decrease in pain at the 30-minute mark, while the control group actually got worse.2PubMed Central. Randomized controlled trial: targeted neck cooling in the treatment of the migraine patient For tension-type headaches, placing an ice compress at the back of the neck has also been reported to relieve tension and reduce recurrence.3Middle East Current Psychiatry. Tension-type headache, its relation to stress, and how to relieve it by cryotherapy among academic students
The practical takeaway: wrap ice or a gel pack in a thin cloth and hold it against your forehead, temples, or the back of your neck for 15 to 20 minutes. You don’t need a specialty device. A bag of frozen peas works fine.
While you’re icing, dim the lights or move to a dark room. Light sensitivity and migraine are tightly linked. People with migraine who report photophobia also tend to have significantly worse sleep quality, which feeds back into more headaches.4PubMed Central. Photophobia is associated with lower sleep quality in individuals with migraine: results from the American Registry for Migraine Research (ARMR) Even if you don’t have a migraine, reducing sensory input by lying in a quiet, dark space lets your nervous system calm down rather than continuing to fire.
Drink Water Before You Do Anything Else
Dehydration is an underappreciated headache trigger. In one study of people with water-deprivation headaches, most got complete relief within 30 minutes of drinking about 500 mL of water, and nearly all recovered within three hours.5PubMed. Water-deprivation headache: a new headache with two variants A randomized trial in patients with recurrent headaches found that drinking more water led to meaningful improvement in migraine-specific quality of life, and about half the water group self-reported substantial improvement versus a quarter in the control group.6Family Practice. A randomized trial on the effects of regular water intake in patients with recurrent headaches That trial did note that drinking more water didn’t reduce the total number of headache days, so water isn’t a cure-all. But it’s free, safe, and can work fast when mild dehydration is the culprit.
If you’ve been sweating, drinking coffee without water, or simply not thinking about fluids all day, start there. A tall glass of water is one of the lowest-effort, lowest-risk things you can try.
Over-the-Counter Painkillers and How to Choose
When cold packs and water aren’t enough, ibuprofen and acetaminophen (paracetamol) are the two most widely used over-the-counter options. Both work for tension-type headache, but ibuprofen at a standard 400 mg dose has shown a slight edge, with faster complete relief and more patients becoming pain-free compared to 1,000 mg of acetaminophen.7PubMed. Nonprescription ibuprofen and acetaminophen in the treatment of tension-type headache A network meta-analysis confirmed that both drugs beat placebo, with ibuprofen slightly favored at two hours and acetaminophen slightly favored at one hour, though the difference between the two was not statistically significant overall.8Scientific Reports. Paracetamol versus ibuprofen in treating episodic tension-type headache: a systematic review and network meta-analysis
The choice often comes down to your stomach and your situation. Ibuprofen is an anti-inflammatory, so it can irritate the stomach lining if taken frequently or on an empty stomach. Acetaminophen is gentler on the stomach but harder on the liver, especially if you drink alcohol regularly. Either one taken occasionally at standard doses is generally safe for most adults.
The Caffeine Boost
Adding caffeine to your painkiller can meaningfully speed things up. A review of the evidence found that combining caffeine with common analgesics like acetaminophen, aspirin, or ibuprofen improved efficacy for both tension-type headaches and migraines, with doses of about 100 to 130 mg of caffeine providing the enhancement.9PubMed Central. Caffeine in the management of patients with headache A large trial of over 1,700 patients found that a fixed combination of aspirin, acetaminophen, and caffeine reached 50% pain relief faster than any of those substances used alone or in a two-drug pair.10PubMed. The fixed combination of acetylsalicylic acid, paracetamol and caffeine is more effective than single substances and dual combination for the treatment of headache This is why products like Excedrin combine all three. If you’re taking plain acetaminophen or ibuprofen, chasing it with a small cup of coffee or tea gets you into that 100 mg caffeine range and can give it a real lift.
The Medication Overuse Trap
Here’s where things get counterintuitive: the same painkillers that stop a headache can cause headaches if you lean on them too often. Medication overuse headache is a recognized condition in which frequent use of acute headache drugs leads to a cycle of daily or near-daily pain. When researchers applied standard criteria for substance dependence to patients with medication overuse headache, two-thirds met the threshold for dependence.11PubMed Central. Preventing and treating medication overuse headache The general guideline is to avoid using acute headache medications more than two or three days per week on a regular basis. If you find yourself reaching for painkillers that often, it’s time to talk to a doctor about preventive strategies rather than continuing to treat each episode.
Peppermint Oil on the Temples
Peppermint oil is one of the few herbal remedies with some actual trial data behind it for headaches. Applied topically, the menthol in peppermint oil has shown analgesic effects when combined with ethanol, reducing sensitivity to headache pain.12Phytomedicine. Essential plant oils and headache mechanisms In a double-blind trial comparing intranasal peppermint oil to lidocaine (a local anesthetic), about 42% of the peppermint group reported a high level of headache reduction, comparable to the lidocaine group and dramatically better than placebo.13PubMed Central. Comparing the Effect of Intranasal Lidocaine 4% with Peppermint Essential Oil Drop 1.5% on Migraine Attacks: A Double-Blind Clinical Trial
You can dab diluted peppermint oil on your temples, forehead, or the back of your neck. Don’t apply it undiluted directly to skin, and keep it away from your eyes. It won’t replace a painkiller for a severe headache, but for mild to moderate pain it’s a reasonable low-risk option, and plenty of people find the cooling sensation itself soothing.
Massage and Manual Pressure
If your headache feels like a tight band around your head, it probably involves tension in the muscles of your neck, scalp, and shoulders. Self-massage of the temples, the base of the skull, and the muscles running along the back of your neck can provide relief. A randomized trial testing trigger-point release massage on suboccipital and upper trapezius muscles found that massage produced immediate increases in pressure-pain thresholds, and the effect was cumulative over multiple sessions.14PubMed Central. Responsiveness of myofascial trigger points to single and multiple trigger point release massages – a randomized, placebo controlled trial You don’t need a professional for this. Use your thumbs to press firmly into the muscles at the base of your skull, hold for 15 to 30 seconds, and release. Repeat on any tender spots along the neck and shoulders.
Relaxation Training and Biofeedback
For people who get headaches frequently, learning structured relaxation techniques can reduce both the frequency and severity of attacks. Expert panels and meta-analyses have found that biofeedback, which teaches you to monitor and control physiological responses like muscle tension, is effective for both migraine and tension-type headache, with outcomes rivaling those of medication.15PubMed. Biofeedback in headache: an overview of approaches and evidence A recent meta-analysis confirmed that biofeedback reduced headache frequency and severity in migraine patients compared to wait-list controls.16PubMed. Efficacy of biofeedback for migraine: A systematic review and meta-analysis
The interesting wrinkle is that the biofeedback technology itself might not be the key ingredient. One study found that patients who completed a program involving education about pain and relaxation techniques showed significant, lasting decreases in headache frequency and severity over three years, and the addition of biofeedback equipment provided no further benefit.17PubMed. Efficacy of biofeedback in the treatment of migraine and tension type headaches The takeaway is that the relaxation skills themselves do the heavy lifting. Progressive muscle relaxation, diaphragmatic breathing, or guided imagery practiced regularly can genuinely reduce your headache burden even without a biofeedback device.
Prescription Options When OTC Drugs Fall Short
If your headaches turn out to be migraines and over-the-counter painkillers aren’t cutting it, triptans are usually the next step. These are prescription medications that target serotonin receptors involved in migraine-related inflammation. A large network meta-analysis found that standard-dose triptans relieved headaches within two hours in roughly 42 to 76% of patients, outperforming both ergot drugs and standard painkillers.18PubMed. Triptans in the Acute Treatment of Migraine: A Systematic Review and Network Meta-Analysis Among individual triptans, sumatriptan by injection, rizatriptan, zolmitriptan, and eletriptan consistently ranked among the most effective.19PubMed. Triptans for the management of migraine
Triptans do constrict blood vessels, which means they’re generally not prescribed for people with uncontrolled high blood pressure, heart disease, or a history of stroke. For those patients, a newer class called gepants offers an alternative. These drugs block a protein called CGRP that plays a central role in migraine attacks. Clinical trials have found that second-generation gepants have efficacy comparable to triptans with improved tolerability, and unlike triptans, they don’t constrict blood vessels.20PubMed. Gepants for the treatment of migraine Several gepants are now approved for both acute treatment and prevention of migraine.21PubMed Central. Gepants for Acute and Preventive Migraine Treatment: A Narrative Review
Magnesium and Dietary Approaches
Magnesium supplementation has accumulated a reasonable body of evidence for migraine prevention. A review of the accumulated evidence across case-control studies, observational studies, and randomized trials concluded that magnesium supplementation is effective for alleviating migraine both acutely and as a preventive measure.22PubMed Central. Magnesium and Migraine The typical dose studied is around 400 to 600 mg of magnesium daily, usually in the form of magnesium oxide or citrate. It’s not a quick fix for the headache you have right now, but if you get migraines regularly, it’s one of the better-supported supplement options.
On the dietary side, the picture is muddier. Elimination diets, where you remove suspected trigger foods and systematically reintroduce them, have shown reductions in migraine attack frequency, duration, and severity in some trials.23PubMed Central. The Evidence for Diet as a Treatment in Migraine—A Review But identifying true triggers is harder than it sounds. There can be a long delay between eating a food and getting a headache, and the same food doesn’t always trigger an attack. Targeted elimination diets in patients who test positive for specific food sensitivities seem to have the most consistent results.24PubMed Central. Association of diet and headache A blanket “avoid chocolate, cheese, and wine” list that you might find on the internet oversimplifies things. A structured food diary is a better starting point than swearing off entire food groups.
Neuromodulation Devices
A small but growing category of FDA-cleared devices can treat headaches by stimulating nerves electrically or magnetically. These include devices that stimulate nerves above the eyebrows, deliver single-pulse magnetic stimulation to the back of the head, and stimulate the vagus nerve through the skin of the neck. A review of these technologies described them as safe, well-tolerated, and effective for patients with migraine and certain other primary headaches.25PubMed Central. Update on Neuromodulation for Migraine and Other Primary Headache Disorders: Recent Advances and New Indications These aren’t mainstream first-line treatments yet, and they tend to be expensive. But for people who can’t tolerate medications, have medication overuse issues, or are pregnant and need drug-free options, they’re a legitimate consideration worth discussing with a headache specialist.
Menstrual Migraine
Many women notice their migraines cluster around their period, driven by the drop in estrogen that occurs just before menstruation. These menstrual migraines tend to be longer, more severe, and harder to treat than migraines at other times of the month. Triptans remain effective for acute treatment, and specific triptans like frovatriptan and naratriptan can be taken as short-term preventives in the days surrounding menstruation.26PubMed Central. Management of Menstrual Migraine: A Review of Current Abortive and Prophylactic Therapies An evidence-based review also found support for transcutaneous estrogen during the perimenstrual window and for mefenamic acid (an anti-inflammatory prescription painkiller) as an acute treatment.27PubMed. Acute treatment and prevention of menstrually related migraine headache: evidence-based review If your headaches reliably show up with your cycle, tracking them alongside your period for a few months gives your doctor the information they need to tailor a plan.
Red Flags That Mean You Should See a Doctor Now
Most headaches are unpleasant but harmless. Occasionally, though, a headache signals something more serious. Clinicians use a screening list called SNNOOP10 to identify warning signs of a secondary headache, meaning one caused by an underlying condition rather than the headache itself being the problem.28PubMed Central. Red and orange flags for secondary headaches in clinical practice: SNNOOP10 list You should seek medical attention promptly if your headache involves any of the following:
- Sudden onset: A headache that reaches maximum intensity in seconds, sometimes called a “thunderclap” headache. This can indicate bleeding in the brain.
- Neurologic symptoms: Weakness on one side of your body, confusion, trouble speaking, loss of vision, or decreased consciousness alongside the headache.
- Fever and stiff neck: Systemic symptoms like high fever combined with headache can suggest meningitis or other infections.
- New headache after age 65: First-ever headaches in older adults have a higher likelihood of having a secondary cause, including temporal arteritis.
- Headache after head trauma: Even if the injury seemed minor, post-traumatic headaches warrant evaluation.
- Progressively worsening pattern: A headache that has been getting steadily worse over days or weeks, or a completely new type of headache that doesn’t match anything you’ve had before.
- Headache triggered by coughing, straining, or position changes: Pain that spikes with physical exertion or shifts dramatically when you stand up or lie down can point to pressure-related problems.
None of these signs means you definitely have a dangerous condition. But they shift the odds enough that getting checked is worthwhile. For the vast majority of headaches, though, the strategies above will get you through. Start simple, escalate if needed, and pay attention to patterns over time so you can prevent headaches rather than just chasing them after they arrive.