The fastest way to stop a migraine once it starts is with a triptan, a class of prescription medication that relieves pain within two hours for most people. But getting rid of migraines also means reducing how often they happen, and that involves a combination of lifestyle changes, trigger management, supplements, and sometimes preventive medication. Here’s what actually works, based on the strongest available evidence.
Medications That Stop an Active Migraine
Triptans remain the most effective option for stopping a migraine that’s already underway. A large network meta-analysis published in The BMJ compared every major acute migraine drug head-to-head and found that eletriptan was the most effective, followed by rizatriptan, sumatriptan, and zolmitriptan. All four were significantly more effective than newer drug classes and most over-the-counter painkillers.
For sustained relief lasting a full 24 hours, eletriptan and ibuprofen came out on top. That’s worth noting: a simple anti-inflammatory like ibuprofen, taken early enough, can match some prescription options for lasting relief. Timing matters with all acute treatments. Taking medication within the first 30 to 60 minutes of an attack, before the pain escalates, dramatically improves how well it works.
Newer prescription options like lasmiditan, rimegepant, and ubrogepant have been marketed as alternatives to triptans, particularly for people with heart disease who can’t safely take them. But in direct comparisons, these newer drugs performed about the same as acetaminophen and most NSAIDs, making them a step down in raw effectiveness.
The Medication Overuse Trap
One of the most counterintuitive things about migraine treatment is that the drugs you take to stop attacks can start causing them. Using triptans or combination painkillers 10 or more days per month raises your risk of developing rebound headaches. For simple over-the-counter painkillers like ibuprofen or acetaminophen, the threshold is 15 days per month. If you’re reaching for a pain reliever more than twice a week on a regular basis, that pattern itself may be feeding the cycle.
Supplements That Reduce Migraine Frequency
Three supplements have enough evidence behind them that the American Headache Society includes them in its recommendations for migraine prevention:
- Magnesium oxide: 400 to 500 milligrams daily. Magnesium plays a role in nerve signaling, and people with migraines often have lower levels.
- Riboflavin (vitamin B2): 400 milligrams daily. This is well above what you’d get from food, but it supports energy production in brain cells.
- CoQ10: 300 milligrams daily. Research has found this dose can reduce how often migraines occur.
These won’t stop a migraine in progress. They’re daily supplements meant to lower your baseline frequency over weeks to months. The side effect profiles are mild, which makes them a reasonable first step before committing to prescription preventives.
Sleep, Hydration, and Meal Timing
Poor sleep is one of the most reliable migraine triggers, and fixing it can shift people from chronic migraine (15 or more headache days per month) to episodic migraine. The key principles are consistency and environment: go to bed and wake up at the same time every day, keep your room dark and cool, and avoid screens in bed. If you can’t fall asleep within 20 to 30 minutes, get up and leave the room rather than lying there frustrated. The goal is for your brain to associate your bed only with sleep.
Dehydration is linked to headaches, though the exact amount of water that prevents migraines isn’t firmly established. A reasonable target is about seven to eight glasses of water per day. One study found benefit with as much as 16 glasses daily, but for most people, staying consistently hydrated at moderate levels is more practical and still protective.
Skipping meals is another common trigger. Low blood sugar can initiate an attack, so eating at regular intervals matters even if you’re not particularly hungry. Keeping caffeine intake low and consistent is also important. Caffeine withdrawal alone can trigger a migraine, so abrupt changes in your coffee routine are risky.
Food and Chemical Triggers
Certain chemicals found in food are well-documented migraine triggers. The main culprits include tyramine (found in aged cheeses, processed meats, and fermented foods), MSG (common in processed soups, seasoned salts, and some restaurant food), nitrates and nitrites (in bacon, cold cuts, and smoked fish), and artificial sweeteners like aspartame.
An elimination diet designed for migraine typically removes 12 categories of food for a period, then reintroduces them one at a time to identify your personal triggers. The full list includes caffeine, chocolate, MSG, processed meats, aged dairy, nuts, certain fruits (citrus, bananas, dried fruit, avocados), some vegetables (onions, beans, tomatoes), alcohol and vinegar, fresh baked goods (especially sourdough), artificial sweeteners, and soy products like miso and soy sauce.
Not everyone reacts to every category. The point of elimination is to find your specific triggers rather than permanently avoiding everything. Red wine, aged cheese, and processed meats are among the most commonly reported offenders.
Preventive Treatments for Frequent Migraines
If you’re getting four or more migraine days per month, preventive treatment becomes worth considering. A newer class of medications targets a protein called CGRP, which plays a central role in migraine pain signaling. Four injectable or infusion-based options are FDA-approved: erenumab, fremanezumab, galcanezumab, and eptinezumab. These are given monthly or quarterly and typically reduce the number of migraine days by about one to three days per month more than placebo, with benefits building over the first few months of treatment.
For chronic migraine specifically (15 or more headache days per month, with at least 8 meeting migraine criteria, persisting for at least 3 months), Botox injections are an established option. The standard protocol involves about 31 injection sites across the forehead, temples, back of the head, neck, and shoulders, repeated every 12 weeks. Many people notice improvement after the second or third round rather than immediately.
Non-Drug Devices
Several FDA-cleared devices offer drug-free migraine relief through mild electrical nerve stimulation. Cefaly is a forehead-worn device that can both treat and prevent migraines by stimulating a nerve above the eyes. GammaCore is a handheld device held against the neck that stimulates the vagus nerve and is also cleared for both treatment and prevention. Nerivio wraps around the upper arm and is designed for acute attacks only, working best when used within the first hour of a migraine. Relivion MG is a headband that delivers pulses to multiple nerve branches simultaneously.
These devices won’t replace medication for severe attacks, but they’re useful as add-on treatments or for people who want to reduce how often they take drugs. None require a prescription in most cases, though they do require a cost commitment.
Warning Signs That Need Immediate Attention
Most migraines, while miserable, aren’t dangerous. But certain headache features suggest something more serious is going on. A sudden, explosive headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache) can signal a vascular emergency like a brain aneurysm and needs immediate evaluation. Other red flags include headaches accompanied by fever or unexplained weight loss, new neurological symptoms like weakness or numbness on one side of the body, headaches that change with position (worse lying down or standing up), a first-ever severe headache after age 50, or headaches that are clearly getting worse over weeks. New headaches during or after pregnancy also warrant prompt evaluation for vascular complications.

