How to Relieve a Migraine: Drugs and Home Remedies

The most effective way to relieve a migraine is to treat it early, ideally while the pain is still mild, using a combination of medication and environmental changes. About 85% of people wait until their migraine pain is moderate or severe before taking medication, which significantly reduces how well it works. Acting within the first hour, before the pain escalates, gives you the best chance of stopping an attack.

Treat Early, While Pain Is Still Mild

Timing matters more than most people realize. Research shows that while 74% of migraine sufferers do take medication within an hour of pain onset, most still wait until the pain has already become moderate or severe. The problem is that many people delay because they’re trying to confirm whether their headache is actually a migraine before committing to treatment. If you know your migraine patterns, including early warning signs like light sensitivity, neck stiffness, or aura, treat as soon as you recognize them rather than waiting for the pain to intensify.

This “treat mild” approach applies to every type of migraine medication, from over-the-counter painkillers to prescription options. The earlier you intervene, the more likely you are to get meaningful relief within two hours.

Over-the-Counter Pain Relief

Ibuprofen is one of the most studied OTC options for migraine. At 400 mg, it provides headache relief within two hours for about 57% of people (compared to 25% with placebo), and roughly one in four people become completely pain-free at two hours. A 200 mg dose also works but is less effective, helping about 52% of people achieve some relief. The 400 mg dose also holds up better over 24 hours, with 45% of people maintaining relief through the full day.

Aspirin and naproxen are other anti-inflammatory options that work through similar pathways. Acetaminophen can help milder attacks but is generally less effective for moderate-to-severe migraine pain because it doesn’t reduce inflammation. Combination products that pair a painkiller with caffeine can enhance absorption and provide faster relief. Caffeine itself constricts blood vessels, which may directly counteract part of the migraine process.

Prescription Options for Stronger Attacks

Triptans are the most commonly prescribed class of medication specifically designed for migraines. They work through three distinct mechanisms: constricting the cranial arteries that dilate during an attack, blocking pain signals from traveling through the trigeminal nerve to the brain, and preventing the release of inflammatory compounds around the blood vessels and brain lining. This multi-pronged approach makes them effective against the full migraine cascade rather than just masking pain.

Several different triptans are available, and people often respond better to one than another, so it’s worth trying a different option if the first doesn’t work well. Newer medications called gepants and ditans offer alternatives for people who can’t take triptans due to heart conditions, since triptans constrict blood vessels and aren’t safe for everyone with cardiovascular risk factors.

Non-Drug Strategies That Help During an Attack

Cold therapy is one of the simplest and most reliable non-drug approaches. Applying a cold pack to your forehead, temples, or the back of your neck for 15 to 20 minutes can dull pain by reducing blood flow and numbing the area. Many people find alternating cold with brief periods of warmth on the neck (to release muscle tension) more effective than cold alone.

Retreating to a dark, quiet room addresses migraine directly because light and sound sensitivity aren’t just annoying side effects. They’re part of the neurological storm driving the attack. Reducing sensory input helps calm overexcited brain circuits. If you can’t get to a dark room, polarized sunglasses or an eye mask can help.

Caffeine deserves special mention as both a treatment and a risk. A small amount (one cup of coffee or tea) at the onset of a migraine can boost the effectiveness of painkillers and provide relief on its own. But regular, heavy caffeine use creates dependency, and withdrawal itself becomes a migraine trigger. Keep caffeine use for migraine relief occasional rather than daily.

Ginger as a Natural Alternative

Ginger has surprisingly strong evidence behind it. In clinical trials, 400 to 500 mg of dry ginger extract reduced migraine pain from severe to mild or no pain at two hours, performing on par with sumatriptan (a commonly prescribed triptan) while causing significantly fewer side effects. You can take ginger as a capsule at onset and repeat every four hours, up to about 1.5 grams per day for three to four days. Even ginger tea brewed from fresh root may provide some benefit for milder attacks, though the concentrated extract used in studies delivers a more reliable dose.

Avoiding Medication Overuse Headaches

One of the most important things to know about migraine relief is that the treatments themselves can make things worse if used too frequently. This phenomenon, called medication overuse headache, creates a cycle where the brain becomes dependent on pain relief and generates more headaches when the medication wears off.

The thresholds are more specific than most people expect. Simple painkillers like ibuprofen or acetaminophen should be used fewer than 15 days per month. Triptans, combination painkillers, and opioids carry higher risk and should be limited to fewer than 10 days per month. If you find yourself needing headache medication more than twice a week on a regular basis, that pattern itself signals the need for a preventive strategy rather than continued acute treatment.

Pressure Points and Body-Based Techniques

Firm pressure on the web of skin between your thumb and index finger (held for about five minutes) is a well-known acupressure point for headache relief. Massaging the base of the skull where the neck muscles attach can also release tension that feeds into migraine pain. Neither of these will stop a severe attack on their own, but they can take the edge off and work well alongside medication.

Controlled breathing, specifically slow exhales that are longer than your inhales, activates your body’s calming nervous system response. Breathing in for four counts and out for six to eight counts for several minutes can reduce the nausea and anxiety that often accompany migraines. Progressive muscle relaxation, where you systematically tense and release muscle groups from your feet upward, serves a similar function by redirecting your nervous system’s attention away from the pain signals.

When a Headache Isn’t Just a Migraine

Most migraines, while miserable, aren’t dangerous. But certain features signal something more serious. A sudden-onset headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache) can indicate a vascular emergency like a brain aneurysm and needs immediate evaluation. New headaches starting after age 50 are more likely to have a secondary cause. Headaches accompanied by new neurological symptoms like weakness on one side of the body, unusual numbness, or vision changes that aren’t part of your typical aura pattern also warrant urgent attention.

Other red flags include headaches with fever and systemic symptoms like night sweats, headaches that are clearly and steadily worsening over weeks, and new headaches in anyone with a compromised immune system. The key distinction is whether the headache fits your known migraine pattern or represents something new and different.