What Gets Rid of a Migraine: Remedies That Work

Getting rid of a migraine requires acting fast, ideally within the first hour of symptoms. The most effective approach combines the right medication with simple physical strategies like cold therapy and rest in a dark room. What works best depends on the severity of your attack, what you have on hand, and how often migraines hit you.

Start With What You Have at Home

For mild to moderate migraines, over-the-counter options can work well if you take them early. The most effective nonprescription option is a combination of acetaminophen (250 mg), aspirin (250 mg), and caffeine (65 mg), sold under brand names like Excedrin Migraine. The standard dose is two caplets with water, with a maximum of two caplets in 24 hours. The caffeine narrows blood vessels and helps your body absorb the pain relievers faster, which is why this combination outperforms any of those ingredients alone.

Ibuprofen (400 mg) or naproxen sodium (550 mg) are solid alternatives if you can’t take aspirin. Timing matters more than which one you pick. Taking any of these within 20 to 30 minutes of the first sign of pain gives you the best shot at stopping the attack before it builds.

Cold Therapy and a Dark Room

While you wait for medication to kick in, apply an ice pack or cold compress to your forehead or the back of your neck. Cold therapy works by cooling the blood flowing through the carotid artery, which reduces inflammation in the brain that drives migraine pain. Keep the ice on for 15 to 20 minutes, then remove it for about an hour. You can repeat this cycle until the pain eases.

Lie down in a quiet, dark room if possible. Light and sound sensitivity are core features of a migraine, not just annoyances, and reducing sensory input gives your nervous system a chance to calm down. Even dimming your phone screen or putting on sunglasses can make a noticeable difference if you can’t get to a dark space.

Prescription Medications That Work Faster

If over-the-counter options don’t cut it, prescription treatments offer significantly more firepower. The two main classes are triptans (like sumatriptan) and a newer category called gepants (like ubrogepant and rimegepant).

Real-world data from the HeAD-US study shows these classes perform similarly: about 48% of people using triptans are pain-free at two hours, compared to 46% for gepants. The 24-hour sustained relief rates are also close, at roughly 49% for triptans and 51% for gepants. Triptans tend to work a bit faster and are available as nasal sprays and injections for people who get nauseous during attacks. Gepants have fewer cardiovascular side effects, making them a better fit if you have heart disease risk factors.

Your doctor can also prescribe anti-nausea medications that double as migraine treatments. These work on dopamine receptors in the brain, and one of them (IV prochlorperazine) recently earned the strongest possible recommendation for emergency migraine treatment in the 2025 American Headache Society guidelines.

Drug-Free Devices

FDA-cleared neuromodulation devices offer another option, particularly if you want to reduce how much medication you take. Nerivio, a wearable arm device that sends mild electrical signals to activate the body’s own pain-relief pathways, has shown that about 78% of consistent users get pain relief and roughly 33% achieve complete pain freedom. These devices work best as part of a broader treatment plan rather than a standalone fix, but they’re worth considering if medications cause side effects or you hit your monthly usage limits.

The Rebound Headache Trap

Here’s something that catches a lot of migraine sufferers off guard: using acute treatments too often can actually cause more headaches. This is called medication overuse headache, and it creates a vicious cycle where you need more medication to treat headaches that your medication is causing.

The threshold is lower than most people expect. The International Headache Society defines triptan overuse as using them on 10 or more days per month for longer than three months. NSAIDs have a similar cutoff. If you’re reaching for migraine medication more than two or three days a week, that’s a signal to talk to a provider about preventive treatment rather than continuing to rely on acute relief alone.

What to Do for Severe Attacks

For migraines that don’t respond to your usual treatment within two hours, having a backup plan matters. Many people benefit from a “rescue” approach: a different class of medication from what they tried first, combined with an anti-nausea drug if vomiting is an issue. If you frequently have attacks that resist your go-to treatment, ask your provider about building a stepped care plan so you’re not stuck waiting it out in pain.

One notable change in emergency treatment guidelines: opioids are no longer recommended for migraine in the ER. Hydromorphone specifically now carries a “must not offer” recommendation because safer and more effective options exist. If you end up in an emergency room for a migraine, effective treatments include IV anti-nausea medications and nerve blocks at the base of the skull, both of which carry the strongest evidence ratings.

Red Flags That Need Immediate Attention

Most migraines, as miserable as they are, resolve on their own or with treatment. But certain headache features suggest something more serious is going on. Get emergency evaluation if you experience a sudden, explosive headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache), as this can signal a brain bleed. New neurological symptoms like weakness on one side, unusual numbness, or vision changes that aren’t part of your typical migraine aura also warrant urgent attention.

Other warning signs include a new type of headache starting after age 50, headaches that steadily worsen over weeks, pain that changes with position (worse standing up or lying down), and headaches accompanied by fever or unexplained weight loss. A headache that feels different from your usual migraines in any significant way deserves a closer look.