The fastest way to stop a migraine is to treat it within the first 20 minutes, before the pain becomes severe. Take an abortive medication (NSAID, triptan, or gepant) at the earliest warning sign, move to a dark, quiet room, apply a cold compress to your head, drink water, and rest with your eyes closed. The earlier you act in the attack, the more likely the migraine is to abort completely rather than run its full 4-to-72-hour course.

Most migraine attacks do not have to play out from start to finish. There is a narrow window early in an attack, often during the prodrome or aura, where the right combination of medication and environmental change can shut the attack down before it ever reaches its peak. Miss that window and the same tools become far less effective. This guide walks through what actually works, in the order to try it, with the evidence behind each step.

The single most important rule: treat early

Acute migraine medications work best when blood levels rise before the headache phase fully develops. Triptans taken during mild pain produce sustained pain freedom in roughly 50 to 60% of attacks. The same triptan taken once pain is severe drops to about 25 to 30%. The difference is not the drug. It is the timing.

This is why people who track their attacks consistently outperform people who do not. They learn to recognize their personal prodrome signals (food cravings, yawning, irritability, neck stiffness) and treat in the 2-to-48-hour window before pain begins. You can read more about spotting these patterns in our identifying hidden migraine patterns guide.

If you have aura, the aura itself is a built-in 5-to-60-minute alarm clock. Use it.

The first 20 minutes: a step-by-step playbook

In the order to do them, the moment you recognize an attack is coming:

  1. Take your abortive medication immediately. Whatever your clinician has prescribed (a triptan, gepant, NSAID, or combination like Excedrin Migraine), take it at the first sign. Do not wait to "see if it gets worse." It will.
  2. Drink a full glass of water. Dehydration amplifies migraine pain and slows medication absorption. Add electrolytes if you have them.
  3. Get to a dark, quiet room. Close the blinds, turn off screens, and reduce all sensory input. Your brain is in a state of hyper-excitability and ordinary stimulation makes pain worse.
  4. Apply cold to your head or neck. A cold pack on the forehead, temples, or back of the neck constricts blood vessels and reduces inflammatory signaling. 15 to 20 minutes on, 10 minutes off.
  5. Put your feet or hands in warm water. Counter-intuitive but evidence-supported: warming the extremities draws blood away from the head and helps reduce throbbing.
  6. Try to sleep, even briefly. A 20-to-90-minute nap is one of the most reliable migraine aborters there is. Many people wake from a migraine nap pain-free.

If you do all six within the first 20 minutes, you have given yourself the best possible chance of aborting the attack.

What medication works fastest?

Speed depends on both the drug and the delivery route. From fastest to slowest:

Nasal sprays and injections (5 to 30 minutes to peak effect)

  • Sumatriptan injection (6mg SQ) — the fastest oral-cavity-bypassing option. Peak relief in 10 to 30 minutes.
  • Zolmitriptan nasal spray (Zomig) and sumatriptan nasal spray (Imitrex, Tosymra) — bypass GI absorption, useful when nausea makes pills unreliable.
  • Dihydroergotamine nasal spray (Trudhesa, Migranal) — works well for attacks already in progress.

Orally disintegrating tablets and standard pills (30 to 90 minutes to peak)

  • Triptans (sumatriptan, rizatriptan, eletriptan, naratriptan) — first-line for moderate-to-severe attacks with no cardiovascular contraindications.
  • Gepants (rimegepant/Nurtec, ubrogepant/Ubrelvy, zavegepant) — newer class, safe for people who cannot take triptans (heart disease, stroke risk, hemiplegic migraine, or migraine with aura with vascular risk).
  • NSAIDs (ibuprofen 400 to 800mg, naproxen 500mg, diclofenac powder) — effective for mild-to-moderate attacks and best taken at the first sign.
  • Combination analgesics like Excedrin Migraine (acetaminophen + aspirin + caffeine) — sometimes effective alone for mild attacks.

Slowest: standard pills taken after pain is severe (60 to 120+ minutes)

  • Same drugs, but absorbed slowly because migraine itself slows the digestive tract (gastric stasis). This is why timing matters so much.

For a deeper breakdown of how clinicians often combine these into a single attack plan, see migraine cocktail medications. For a comparison of acute (attack) versus preventive (daily) treatment philosophies, see acute vs preventive treatment.

Non-medication tactics that genuinely help

Medication is the backbone, but several non-drug interventions have real, peer-reviewed evidence behind them:

  • Cold therapy. Multiple randomized trials show ice packs applied to the carotid arteries (sides of the neck) for 15 to 30 minutes reduce pain intensity by 30 to 50%.
  • Caffeine, in moderation. A small dose (100 to 200mg, roughly one strong coffee) early in an attack can amplify the effect of acute medications and reduce vasodilation. Larger doses or daily use backfires and causes caffeine rebound headaches.
  • Peppermint oil. Diluted peppermint oil applied to the temples produces measurable pain reduction in trials, comparable to acetaminophen for mild-to-moderate attacks.
  • Pressure points. Firm pressure on the LI-4 point (the web between thumb and index finger) for 1 to 2 minutes per side reduces pain in some people, likely through gate-control mechanisms.
  • FL-41 tinted glasses. If light sensitivity is part of your trigger profile, FL-41 glasses can blunt the photophobic spiral that makes attacks worse.
  • Neuromodulation devices. Cefaly (external trigeminal nerve stimulator), Nerivio (remote electrical neuromodulation armband), and gammaCore (vagus nerve stimulator) are FDA-cleared, prescription-free or by-prescription tools that abort attacks for many users without medication side effects.

What about hydration, sleep, and food?

These are unglamorous but matter:

Hydration. Drink 16 to 20 ounces of water within the first 30 minutes. Many migraine attacks are accompanied by mild dehydration, and rehydration alone can reduce pain intensity. Electrolytes (sodium and potassium) help if you have been sweating, exercising, or had alcohol.

Sleep. A nap in a dark room is one of the most consistent migraine aborters. If you cannot sleep, lying still with eyes closed in a dark room is the next-best option. Your brain genuinely needs the sensory rest.

Food. Counter to common advice, eating something small and bland (banana, toast, crackers) can help if low blood sugar contributed to the attack. Avoid anything that has triggered you in the past, and avoid heavy meals while nauseated.

When NOT to try to push through

There are situations where the right answer is to escalate, not self-treat. Stop and seek urgent care if:

  • This is the worst headache of your life or comes on suddenly like a thunderclap.
  • You have fever, stiff neck, confusion, or rash alongside the headache.
  • You have new neurological symptoms: weakness on one side, difficulty speaking, vision loss in one eye, or numbness that does not resolve.
  • The attack has lasted more than 72 hours despite medication. This is called status migrainosus and may need IV treatment.
  • You have used acute medications more than 10 to 15 days per month for several months — that is medication overuse headache territory and the medications themselves may now be contributing to your attacks.

What to do if nothing is working

If your usual acute medication consistently fails to abort attacks:

  1. Take it earlier. The most common cause of "my triptan does not work" is taking it once pain is already severe. Try again at the earliest sign.
  2. Switch route. A nasal spray or injection bypasses gastric stasis and works when pills have failed.
  3. Combine intelligently. Many clinicians prescribe a triptan plus an NSAID together (e.g. sumatriptan + naproxen). The combination outperforms either alone.
  4. Try a gepant. Rimegepant and ubrogepant work through a different mechanism (CGRP receptor blockade, see CGRP inhibitors) and help some people who do not respond to triptans.
  5. Add preventive therapy. If you are aborting 3+ attacks per month, daily preventive medication (CGRP monoclonal antibody, beta-blocker, tricyclic, topiramate, or botulinum toxin) reduces both attack frequency and severity.

Frequently asked questions

How long does it take for migraine medicine to work?

Triptan pills typically begin working in 30 to 60 minutes, with peak effect at 1 to 2 hours. Sumatriptan injection works in 10 to 30 minutes. Gepant pills (rimegepant, ubrogepant) take 1 to 2 hours for peak effect but last longer (24+ hours) than triptans. NSAIDs take 30 to 60 minutes when taken on a relatively empty stomach.

Can you stop a migraine without medication?

Sometimes, especially early in an attack. A dark, quiet room, a 60-to-90-minute nap, cold packs to the head and neck, hydration, and 100 to 200mg of caffeine can collectively abort a mild-to-moderate attack. The earlier you start, the better the odds. For moderate-to-severe attacks, medication is usually needed.

Does drinking water actually help a migraine?

Yes, especially if dehydration contributed to the attack. Studies show drinking 500ml of water at attack onset reduces pain intensity within 30 minutes in many people. It also speeds the absorption of oral acute medications, which slows during migraine due to gastric stasis.

What is the best position to lie in during a migraine?

Most people find pain easier to tolerate lying on their side in a dark, quiet room, with a cool compress over the forehead and a slightly elevated head. Lying flat can worsen the throbbing for some people. The position itself is less important than the dark, the quiet, and the stillness.

When should I go to the ER for a migraine?

Go to the ER for: sudden "thunderclap" headache, the worst headache of your life, headache with fever or stiff neck, new weakness or speech difficulty, vision loss in one eye, or any migraine lasting more than 72 hours despite treatment. The ER can administer IV fluids, anti-nausea medication, ketorolac (a strong NSAID), and DHE — all of which often break stubborn attacks that home treatment cannot.

What this means for you

The single biggest predictor of how an attack will end is how quickly you recognize and treat it. People who track their attacks — what they felt, when, what they did, and what worked — consistently abort more migraines than people who do not, because they learn their personal early-warning fingerprint.

Track your attacks in seconds with Migraine Trail's free voice logging. Capture what you feel the moment you feel it, before memory blurs the details — that is the data your clinician needs to fine-tune your acute plan, and that you need to recognize the next attack 30 minutes earlier than the last one.

Sources

  • American Headache Society. Consensus statement: the American Headache Society position statement on integrating new migraine treatments into clinical practice.
  • Marmura MJ, et al. The acute treatment of migraine in adults: the American Headache Society evidence assessment of migraine pharmacotherapies. Headache.
  • Diener HC, et al. European principles of management of common headache disorders. Cephalalgia.
  • National Institute of Neurological Disorders and Stroke (NINDS). Migraine information page.
  • The Migraine Trust. Acute treatments for migraine.