You can stop a migraine fastest by taking the right pain reliever early, within the first hour of symptoms. Waiting longer makes any treatment less effective. But getting rid of migraines long-term requires a combination of acute treatment, prevention strategies, and identifying what triggers your attacks in the first place.
Stop a Migraine That’s Already Started
For a migraine in progress, over-the-counter anti-inflammatory drugs like ibuprofen work well for mild to moderate attacks and provide some of the best sustained relief over 24 hours. If your migraines are moderate to severe, prescription medications called triptans are significantly more effective. A large 2024 network meta-analysis in The BMJ compared all major acute migraine drugs head-to-head and found that eletriptan was the most effective for complete pain freedom within two hours, followed by rizatriptan, sumatriptan, and zolmitriptan.
Triptans work by narrowing blood vessels and blocking pain signals in the brain. Because of that narrowing effect, they aren’t safe for people with heart disease, a history of stroke, or uncontrolled high blood pressure. If triptans are off the table for you, newer drug classes called gepants and ditans offer similar relief without the blood vessel constriction.
Timing matters more than most people realize. Take your medication at the first sign of an attack, ideally during the aura phase or when pain is still mild. Once a migraine reaches full intensity, medications still work but take longer and are less likely to provide complete relief.
Non-Drug Options for Acute Relief
Several FDA-cleared devices can treat a migraine without medication. Nerivio is a wearable you strap to your upper arm that sends mild electrical pulses, triggering your brain’s natural pain-dampening system. The gammaCore device stimulates the vagus nerve on your neck to interrupt pain signaling. Cefaly, a forehead-worn device, sends calming signals through the nerve branches above your eyes. These devices won’t replace medication for severe attacks, but they’re useful if you get frequent migraines and want to avoid taking drugs too often, which can itself cause rebound headaches.
Cold therapy also helps. Applying a cold pack to the back of your neck or forehead during an attack constricts blood vessels and dulls nerve signaling. Resting in a dark, quiet room reduces the sensory overload that makes migraines worse.
Identify Your Triggers
Stress is the single most common migraine trigger, affecting nearly 70% of people with migraine. Hormonal changes follow close behind: up to 75% of women with migraine find attacks cluster around their menstrual period. Other major triggers include irregular sleep, weather changes, caffeine (both too much and sudden withdrawal), and alcohol, especially red wine.
Keeping a headache diary for two to three months is the most reliable way to spot your personal patterns. Track what you ate, how you slept, your stress level, where you are in your menstrual cycle if applicable, and the weather. After enough entries, patterns usually emerge. Some people find a single dominant trigger, while others have a “threshold” effect where stacking two or three minor triggers on the same day is what sets off an attack.
Foods That May Be Triggering Attacks
Certain chemicals naturally present in food can trigger migraines in susceptible people. The main culprits are tyramine (found in aged cheeses, cured meats, and fermented foods), MSG (common in processed soups, snack foods, and some restaurant cooking), nitrates and nitrites (in bacon, hot dogs, deli meats), and artificial sweeteners like aspartame.
A migraine elimination diet removes the most common offenders for at least three months, then reintroduces them one at a time to pinpoint which foods are problems for you. The full list includes caffeine, chocolate, processed meats, aged dairy, nuts, citrus fruits, onions, alcohol, vinegar-based condiments, fresh baked goods like bagels and sourdough, artificial sweeteners, and soy products. You don’t necessarily need to avoid all of these forever. The point is to create a clean baseline, then systematically test each food to see which ones actually affect you.
Sleep and Lifestyle Changes
The migraine brain is unusually sensitive to changes in routine. Irregular sleep is one of the most underestimated triggers, and fixing it is one of the most effective free interventions available. Aim for seven to eight hours per night, but more importantly, keep your bedtime and wake time consistent, even on weekends. The regularity matters as much as the total hours.
Regular aerobic exercise, at least 30 minutes three to five times per week, reduces migraine frequency over time. It lowers stress hormones, improves sleep quality, and changes how your brain processes pain. Start gradually if exercise itself tends to trigger attacks; for some people, building up slowly over a few weeks allows the brain to adjust.
Supplements Worth Trying
Three supplements have enough clinical evidence behind them that headache specialists routinely recommend them. Riboflavin (vitamin B2) at 400 mg per day can reduce migraine frequency after about two to three months of consistent use. CoQ10 at 300 mg per day has shown similar preventive benefits in clinical research. Magnesium is the third, often recommended because many people with migraine have lower magnesium levels than average. These supplements are well tolerated and can be combined with each other or with prescription preventives.
Don’t expect immediate results. Supplements work as preventives, not acute treatments. Give them a full 8 to 12 weeks before judging whether they’re helping.
Acupuncture as Prevention
Acupuncture has stronger evidence behind it than most people assume. A Cochrane review found consistent evidence that it’s at least as effective as standard preventive medications, with fewer side effects. One large German trial showed that 11 acupuncture sessions over six weeks matched the preventive benefit of taking a daily beta-blocker for six months. Another study found acupuncture more effective than the common preventive drug topiramate, with 11 times fewer patients experiencing side effects in the acupuncture group. If you prefer to avoid daily medication, or if medications haven’t worked well for you, acupuncture is a legitimate option.
Prescription Prevention for Frequent Migraines
If you’re getting four or more migraine days per month, preventive medication can reduce how often attacks happen. The newest class targets a protein called CGRP, which plays a central role in migraine pain. These come in two forms: monthly or quarterly injections you give yourself at home, or a daily pill. The injections are typically taken once a month, though one option only requires four shots per year. These medications were designed specifically for migraine prevention, unlike older preventives borrowed from blood pressure or seizure treatment, so they tend to have fewer unrelated side effects.
Older preventive options, including certain blood pressure medications, antidepressants, and anti-seizure drugs, are still used and work well for many people. Your best option depends on your other health conditions, how you feel about injections versus pills, and what your insurance covers.
Warning Signs That Need Urgent Attention
Most migraines, while miserable, aren’t dangerous. But certain headache features signal something more serious. Get evaluated immediately if you experience a sudden, explosive headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache), as this can indicate a brain bleed. Other red flags include new neurological symptoms like weakness in an arm or leg, numbness you’ve never had before, or vision changes that don’t match your usual aura pattern.
A headache that steadily worsens over days or weeks, changes with position (worse when standing or lying down), or is triggered by coughing or straining can point to pressure problems in or around the brain. New-onset headaches after age 50, headaches accompanied by fever and night sweats, and headaches during or shortly after pregnancy all warrant prompt medical evaluation. These situations are uncommon, but they’re the reason a new or dramatically different headache pattern deserves attention rather than just another dose of ibuprofen.

