Migraines respond to a combination of acute treatments that stop an attack in progress and preventive strategies that reduce how often they happen. The most effective approach depends on your attack frequency, severity, and how well you tolerate specific options. Here’s what works, from medications to supplements to lifestyle changes and devices.
What Happens During a Migraine
Understanding the biology helps explain why certain treatments work. During a migraine, sensory nerve fibers in and around the brain become activated and release a powerful signaling molecule called CGRP. This molecule dilates blood vessels in the brain and surrounding tissues, triggers inflammation, and causes immune cells called mast cells to release even more inflammatory chemicals. The pain signals travel to the brainstem and then to higher brain centers, and the inflammation keeps feeding back on itself, which is why migraines can last hours or even days once they take hold.
Nearly every modern migraine medication targets some part of this cycle, either blocking CGRP directly, calming the overactive nerve fibers, or interrupting pain signaling.
Medications That Stop an Attack
For mild to moderate attacks, over-the-counter pain relievers like ibuprofen, naproxen, or aspirin combined with caffeine can be effective if taken early. The key is timing: the sooner you treat, the better these work. Using them more than about 10 to 15 days per month, however, can cause rebound headaches that make the cycle worse.
For moderate to severe attacks, triptans remain the most widely prescribed option. Sumatriptan is the best known, and these drugs work by narrowing dilated blood vessels and reducing inflammatory signaling in the trigeminal nerve system. They’re most effective when taken within the first hour of pain onset. Because they constrict blood vessels, triptans aren’t recommended for people with certain cardiovascular conditions.
A newer class of medications called gepants blocks CGRP receptors directly. Ubrogepant (Ubrelvy) is taken as needed at the start of an attack, and rimegepant (Nurtec ODT) can be used both for acute relief and for prevention. Unlike triptans, gepants don’t constrict blood vessels, making them an option for people who can’t take triptans safely. Lasmiditan (Reyvow) is another newer option that works through a different brain receptor and also avoids the blood vessel issue, though it can cause dizziness and drowsiness.
Preventive Medications for Frequent Migraines
If you get four or more migraine days per month, prevention becomes worth discussing with your doctor. Older preventive options include certain blood pressure medications, antidepressants, and anti-seizure drugs, all of which were originally developed for other conditions but happen to reduce migraine frequency.
The biggest advance in prevention has been injectable CGRP-blocking antibodies, with four now approved: erenumab, fremanezumab, galcanezumab, and eptinezumab. These are given as monthly or quarterly injections (eptinezumab is given intravenously every three months). In clinical trials, roughly 48% to 62% of patients experienced at least a 50% reduction in monthly migraine days. That might sound modest, but for someone going from 12 migraine days a month to 6 or fewer, it’s a significant quality-of-life improvement. Atogepant (Qulipta) offers similar CGRP-blocking prevention in a daily pill form.
These newer preventive options tend to have fewer side effects than older medications, which is a major reason many people tolerate them better long-term.
Supplements With Evidence Behind Them
Three supplements have the strongest research support for migraine prevention: magnesium, riboflavin (vitamin B2), and coenzyme Q10. The doses studied in clinical trials are considerably higher than what you’d find in a standard multivitamin. A well-studied combination uses 600 mg of magnesium, 400 mg of riboflavin, and 150 mg of CoQ10 daily. In a randomized, placebo-controlled trial, this combination reduced migraine symptoms over a 12-week period.
Magnesium on its own is worth trying first if you want to start simple. Many people with migraines have lower magnesium levels, and supplementation at 400 to 600 mg daily (magnesium citrate or glycinate are better absorbed) has the most consistent evidence. Riboflavin at 400 mg daily takes about two to three months to show its full effect, so patience matters. Side effects from all three are minimal, mostly limited to digestive discomfort with magnesium at higher doses.
Ginger as an Acute Treatment
In a double-blinded clinical trial of 100 patients with migraine without aura, ginger powder performed comparably to sumatriptan for reducing headache severity within two hours. The study used 250 mg of ginger powder at the onset of an attack. Ginger won’t replace prescription treatment for severe migraines, but for people with mild to moderate attacks or those looking for an additional tool, it’s inexpensive and well tolerated. It also helps with the nausea that often accompanies migraines.
Lifestyle Changes That Reduce Frequency
A useful framework for lifestyle-based migraine management uses the acronym SEEDS: sleep, exercise, eat, diary, and stress. These aren’t just vague wellness advice. Each targets a known migraine trigger pathway.
Sleep: Irregular sleep is one of the most reliable migraine triggers. Going to bed and waking up at consistent times, even on weekends, matters more than total hours of sleep. Both too little and too much sleep can provoke attacks.
Exercise: Regular aerobic exercise, about 30 to 40 minutes at moderate intensity three to five times per week, reduces migraine frequency over time. Start gradually if exercise currently triggers your attacks, as your threshold tends to improve with consistent training.
Eat: Skipping meals is a common trigger. Eating at regular intervals keeps blood sugar stable. Some people are sensitive to specific foods like aged cheese, processed meats, alcohol (especially red wine), and chocolate, but triggers vary widely between individuals.
Diary: Keeping a headache diary helps you identify your personal trigger patterns. Track what you ate, how you slept, your stress level, weather changes, and menstrual cycle if applicable. After a few months, patterns often emerge that aren’t obvious from memory alone.
Stress: Interestingly, migraines often strike not during peak stress but during the letdown afterward, like the first day of a vacation or a weekend after a demanding work week. Consistent stress management through techniques like progressive muscle relaxation, mindfulness, or cognitive behavioral therapy reduces attack frequency in studies.
Neuromodulation Devices
Several FDA-cleared devices offer drug-free migraine treatment by stimulating specific nerves. These can be used alone or alongside medications.
- Cefaly Dual sits on the forehead and stimulates the trigeminal nerve. Its acute program runs for 60 minutes during an attack, and its preventive program is a 20-minute daily session.
- Nerivio is a wireless armband that delivers remote electrical stimulation. You activate it within 60 minutes of migraine onset for a 45-minute session.
- gammaCore Sapphire stimulates the vagus nerve in the neck. For prevention, it’s used in 2-minute sessions on both sides of the neck, three times daily.
- sTMS mini uses single-pulse magnetic stimulation over the back of the head. The preventive protocol involves twice-daily sessions of four pulses, while acute treatment uses three pulses at migraine onset with additional pulses at 15-minute intervals if needed.
These devices work best for people who want to reduce medication use, can’t tolerate drugs due to side effects, or need an additional layer of treatment on top of what they’re already doing. The effects tend to be more modest than medications, but the side-effect profiles are minimal.
Building a Treatment Plan That Works
Most people with migraines benefit from a layered approach rather than relying on a single solution. A practical starting point: address sleep and meal regularity first, add a supplement like magnesium, keep a diary for two to three months to identify your triggers, and have an effective acute treatment ready for when attacks hit. If you’re still getting frequent migraines after optimizing lifestyle factors, that’s when preventive medication becomes the next step.
The order matters too. Taking acute medication early in an attack, before pain becomes severe, dramatically improves its effectiveness regardless of which drug you use. Many people wait too long hoping the headache will resolve on its own, then find their medication barely takes the edge off. Treating early and decisively is one of the simplest changes that makes the biggest difference.

