The fastest way to stop a migraine depends on when you treat it
The sooner you take action after a migraine starts, the better your chances of stopping it. If you catch it during the aura phase—before the headache pain begins—medication works more effectively. Once the pain is severe, stopping it becomes harder, though not impossible.
The main routes are medication (over-the-counter or prescription), physical methods like ice or rest in a dark room, and lifestyle changes that prevent future migraines. Most people use a combination. What works varies by person, so you may need to test different approaches to find what interrupts your migraines.
Key Takeaways
- Over-the-counter pain relievers like ibuprofen or naproxen work best if taken within 30 minutes of migraine onset, before pain becomes severe.
- Prescription medications called triptans are designed specifically for migraines and work by narrowing blood vessels; they require a doctor's prescription but are more effective than general pain relievers for many people.
- Resting in a dark, quiet room with ice on your neck or forehead can reduce pain without medication, though it works better combined with drugs.
- Preventive medications taken daily can reduce how often migraines happen and how severe they are, which may matter more than stopping individual migraines.
- Tracking what triggers your migraines—stress, certain foods, sleep changes, hormones—lets you avoid them rather than treat them after they start.
Over-the-counter pain relievers and when they work
Ibuprofen (Advil, Motrin) and naproxen (Aleve) reduce migraine pain in roughly 50 to 60 percent of people who take them early. Acetaminophen (Tylenol) is less effective for migraine specifically, though some people find it helps. The window matters: these drugs work best if you take them within 30 minutes of when the migraine starts, before pain becomes moderate or severe.
The dose matters too. For ibuprofen, 400 to 600 mg is standard; for naproxen, 220 to 500 mg. Taking more than the package recommends does not make them work better and increases the risk of stomach problems or rebound headaches (migraines that return when the medication wears off). If over-the-counter drugs have not stopped your migraines in the past, prescription options are more likely to work.
Prescription migraine medications: triptans and others
Triptans are drugs designed specifically for migraines. They work by narrowing blood vessels and blocking pain pathways in the brain. Common ones are sumatriptan (Imitrex), rizatriptan (Maxalt), and zolmitriptan (Zomig). They come as pills, nasal sprays, or injections. Roughly 60 to 70 percent of people find triptans stop their migraine pain within two hours, compared to 50 to 60 percent for over-the-counter drugs.
You need a prescription from a doctor or nurse practitioner. They will ask about your migraine pattern, other medications you take, and whether you have heart disease or high blood pressure (triptans are not safe for some people with those conditions). If one triptan does not work, trying a different one often does—they are not all equally effective for every person.
Other prescription options include CGRP inhibitors (erenumab, fremanezumab, galcanezumab), which are newer and work differently than triptans. They are usually given as injections once a month and are designed more for prevention than stopping an active migraine. Lasmiditan (Reyvow) is a newer pill that works similarly to triptans but may have fewer side effects for some people.
Physical methods that reduce pain without medication
Ice applied to your neck, forehead, or temples can numb pain and reduce blood vessel swelling. Wrap ice in a cloth so it does not burn your skin, and apply it for 15 to 20 minutes. Some people find heat works better—a warm shower or heating pad on the neck. Try both and see which reduces your pain.
Resting in a dark, quiet room is one of the oldest and most effective non-drug approaches. Light and sound make migraine pain worse for most people, so removing them can cut pain significantly. Lying down with your head elevated slightly, eyes closed, and no screens or noise often brings relief within an hour, especially if combined with medication.
Pressure on the temples or the base of the skull can help some people. Massage or acupressure on these areas may reduce pain, though the evidence is mixed. If you find it helps, it costs nothing and has no side effects.
Preventing migraines so you have fewer to treat
If you have migraines more than once or twice a month, prevention may matter more than treatment. Daily preventive medications reduce how often migraines happen and how severe they are. Common ones include propranolol (a blood pressure drug), topiramate (an anti-seizure drug), and amitriptyline (an antidepressant). These take weeks to work and require a doctor's prescription.
CGRP inhibitors mentioned above are also used for prevention and may be more effective than older drugs for some people, though they cost more and require monthly injections or infusions.
Lifestyle changes prevent migraines for many people. Keeping a migraine diary for two to three months—noting the date, time, pain level, what you ate, your sleep, stress level, and menstrual cycle if relevant—often reveals patterns. Common triggers include skipped meals, dehydration, caffeine withdrawal, too little or too much sleep, stress, and hormonal changes. Avoiding your specific triggers can cut migraine frequency by 30 to 50 percent.
When to see a doctor about your migraines
See a doctor if migraines are new, changing in pattern or severity, happening more than twice a month, or not responding to over-the-counter medication. A doctor can prescribe triptans or preventive drugs, rule out other causes of headache, and help you identify triggers.
Go to an emergency room or call 911 if a migraine is accompanied by fever, stiff neck, confusion, vision changes, weakness, numbness, or difficulty speaking. These can signal a more serious condition. Also seek urgent care if a migraine is the worst headache you have ever had, or if your usual migraine pattern has changed dramatically.
Medication overuse and rebound headaches
Using pain relievers or triptans more than 10 to 15 days per month can cause medication overuse headache—a cycle where the medication itself triggers more headaches. This happens with over-the-counter drugs, prescription pain relievers, and triptans. The headaches feel like your usual migraines but happen more often and are harder to treat.
If you are using migraine medication more than twice a week, talk to your doctor about preventive drugs instead. Stopping the overused medication usually stops the rebound headaches, though withdrawal can be uncomfortable for a few days. A doctor can help you taper safely and start prevention at the same time.
Frequently Asked Questions
Can I take ibuprofen and a triptan together?
Some people take both, and research suggests the combination may work better than either alone. Ask your doctor whether it is safe for you—it depends on your other medications and health conditions. Never exceed the recommended dose of either drug.
Why does my migraine medication stop working after a while?
This can happen for several reasons: you may be overusing the medication (triggering rebound headaches), your migraine pattern may have changed, or your body may have adapted to the drug. Talk to your doctor about switching to a different medication or adding prevention. Medication overuse is the most common cause.
Is caffeine good or bad for migraines?
Caffeine can both trigger and relieve migraines depending on the person and the amount. Some people find a small amount of caffeine (a cup of coffee or tea) helps medication work better. Too much caffeine or sudden withdrawal causes migraines in others. Track your caffeine use in your migraine diary to see your pattern.
What if nothing stops my migraine pain?
If over-the-counter drugs and physical methods do not work, you need a prescription medication—usually a triptan or newer drug like lasmiditan. If triptans do not work, other options exist. See a doctor who can try different medications and doses. Some migraines are harder to treat than others, but most respond to the right prescription drug.
Can I prevent migraines by changing my diet?
Diet triggers migraines in some people but not others. Common food triggers include aged cheeses, processed meats, alcohol (especially red wine and beer), and foods with MSG or artificial sweeteners. Keep a food diary alongside your migraine diary for two to three months to see if a pattern emerges. If a food triggers your migraines, avoiding it may reduce frequency.