The most effective way to alleviate a migraine is to treat it early, ideally at the first sign of an attack, while combining medication with environmental changes like darkness, cold therapy, and rest. Waiting until the pain peaks makes every treatment less effective. Here’s what works and how to use each approach.
Act Fast: Timing Changes Everything
Migraine treatments work best when taken during the prodrome phase, the early warning period when you might notice light sensitivity, neck stiffness, mood changes, or the visual disturbances of an aura. Once pain fully sets in and your brain’s pain signaling has escalated, the same medication has a harder time reversing the process. If you know your personal warning signs, keep your treatment of choice within reach so you can act immediately.
Over-the-Counter Pain Relief
For mild to moderate attacks, standard anti-inflammatory painkillers like ibuprofen or naproxen can be enough, especially when taken early. Aspirin at a full dose (900 to 1000 mg) also has solid evidence behind it. These work by reducing the inflammation around blood vessels and nerves in the brain that drives migraine pain.
Combination products containing a painkiller plus caffeine tend to work faster than the painkiller alone. Caffeine narrows blood vessels and improves absorption of the medication. If you don’t have a combination product, taking your painkiller with a cup of coffee or tea can mimic the effect, though this is less reliable if you’re a heavy daily caffeine drinker.
Prescription Options: Triptans and Newer Alternatives
Triptans are the most widely prescribed migraine-specific medications. They target serotonin receptors involved in migraine pain signaling, constricting dilated blood vessels and quieting overactive nerve pathways. The pain relief rates at two hours vary by specific triptan: rizatriptan relieves pain in 67 to 77% of people, eletriptan in 65 to 80%, zolmitriptan in 62 to 65%, and sumatriptan in 50 to 61%. Faster-dissolving formulations that melt on the tongue or nasal sprays can be especially useful if nausea makes swallowing a pill difficult.
A newer class of medications called gepants works by blocking a protein (CGRP) that plays a central role in triggering migraine attacks. These are particularly useful if you have heart disease risk factors or a history of stroke, since unlike triptans, they don’t constrict blood vessels. Your doctor may suggest these if triptans haven’t worked for you or if you can’t safely take them.
Cold Therapy on the Forehead and Temples
Applying a cold pack to your forehead and temples is one of the simplest and most immediate things you can do during an attack. Cold numbs the area, slows nerve conduction, and reduces inflammation. The National Headache Foundation recommends keeping the cold pack in place for 10 to 15 minutes at a time, then removing it. Leaving it on longer than 15 minutes risks skin injury. You can reapply after a short break. A bag of frozen peas wrapped in a thin towel works fine if you don’t have a dedicated cold pack.
Control Your Environment
Light sensitivity is one of the defining features of migraine, and exposure to light during an attack measurably increases pain. One study found that light exposure during a migraine raised pain scores by a median of 18%. This isn’t just discomfort; light actively makes the attack worse through pathways connecting your eyes to the brain’s pain-processing centers.
Get to a dark, quiet room as soon as you can. If complete darkness isn’t possible, green-tinted light is the best tolerated wavelength during a migraine. People with migraine consistently report that shorter wavelengths (blue light from screens) and longer wavelengths (reddish light) are more uncomfortable, while medium wavelengths in the green range cause the least aggravation. Blackout curtains, an eye mask, or even a dark towel draped over your eyes can help. Reducing noise matters too, since sound sensitivity often accompanies light sensitivity during an attack.
Hydration and Nausea Management
Dehydration is a common migraine trigger and can worsen an attack that’s already underway. Sip water or an electrolyte drink steadily rather than gulping large amounts, which can worsen nausea. If nausea is severe, anti-nausea medication taken alongside your pain treatment can help your body absorb the painkiller more effectively. Migraine slows down your stomach’s ability to process what’s in it, so without addressing the nausea, oral medications may sit in your stomach without being absorbed.
Magnesium levels tend to be low in people who get frequent migraines. While intravenous magnesium is sometimes used in emergency settings for severe attacks, keeping your magnesium intake adequate through diet (dark leafy greens, nuts, seeds) or a daily supplement may reduce the severity of attacks over time. This is more of a preventive strategy than an in-the-moment fix.
Neuromodulation Devices
Several FDA-cleared devices offer drug-free migraine relief by delivering mild electrical stimulation to nerves involved in migraine. The Nerivio device, worn on the upper arm, uses remote electrical stimulation. In a real-world study of over 1,300 users, 58.9% experienced pain relief at two hours, and 20% were completely pain-free without any medication. The Cefaly device, worn on the forehead, stimulates the trigeminal nerve and has shown superiority over placebo for two-hour pain freedom. These devices are prescription items but involve no drugs, making them appealing if you want to limit medication use or need something to combine with your existing treatment.
Watch Your Treatment Frequency
One of the most important things to know about migraine relief is that overusing acute treatments can make your headaches worse over time. This is called medication overuse headache, and it’s formally defined as headache occurring 15 or more days per month after regularly using acute treatments for more than three months. The threshold depends on the medication type: triptans and combination painkillers carry a risk at 10 or more days per month, while simple painkillers like ibuprofen alone reach that threshold at 15 days per month.
If you find yourself reaching for acute treatment more than two or three days a week on a regular basis, that’s a signal to talk with a healthcare provider about preventive therapy. Breaking the cycle of medication overuse headache often requires temporarily reducing or stopping the overused medication, which can be difficult since headaches typically get worse before they improve.
Combining Approaches for the Best Result
The most effective migraine management rarely relies on a single strategy. A practical attack plan looks something like this: at the first warning sign, take your chosen medication, apply a cold pack to your forehead, move to a dark and quiet room, sip water, and rest. Each of these interventions targets a different part of the migraine process, and together they’re more effective than any one alone. Keep a small kit ready (medication, a cold pack you can activate, sunglasses, earplugs) so you’re not scrambling when an attack hits. The less time you spend searching for what you need, the faster you can start treatment, and speed is the single biggest factor in how well any of these approaches works.

