Migraine relief comes from a combination of immediate pain management and longer-term strategies that reduce how often attacks happen. Some approaches work in the moment, like cold therapy and medication, while others, like sleep regulation and dietary changes, lower your baseline risk over weeks and months. Here’s what actually works, based on current evidence.
Cold Therapy for Quick Relief
One of the simplest and most effective things you can do during a migraine is apply a cold pack to your neck or forehead. This isn’t just a comfort measure. Cold applied near the carotid arteries in the neck can cool blood flowing to the brain, which reduces the release of inflammatory compounds from intracranial blood vessel walls. That decrease in inflammation lowers local pain signaling and reduces vascular swelling, producing an effect that’s mechanistically similar to what triptan medications do, just through a different pathway.
A frozen gel pack wrapped in a thin cloth, applied to the back of the neck for 15 to 20 minutes, is a reasonable starting point. Some people find forehead application more helpful. Either location targets branches of the trigeminal nerve, the primary pain pathway in migraine.
Medications That Stop an Attack
For acute migraine relief, injectable sumatriptan (a triptan) is considered highly likely to be effective based on multiple high-quality studies, and it’s one of the most widely used treatments. Triptans also come in oral and nasal spray forms, which are more practical for home use. They work by narrowing swollen blood vessels around the brain and blocking pain signals in the trigeminal nerve system.
A newer class of medications called gepants takes a different approach. Drugs like ubrogepant and rimegepant block a protein called CGRP, which plays a central role in triggering migraine pain. Unlike triptans, gepants don’t constrict blood vessels, making them an option for people with cardiovascular risk factors. Over-the-counter pain relievers like ibuprofen or naproxen also help many people, especially when taken early in an attack before pain intensifies.
The key with any acute medication is timing. Taking it within the first 30 to 60 minutes of symptoms, during what’s sometimes called the mild pain phase, significantly improves effectiveness. Waiting until pain is severe makes every option less reliable.
Preventive Medications for Frequent Migraines
If you’re getting migraines four or more times a month, preventive therapy can reduce attack frequency. The most targeted options are CGRP-blocking medications, which come in two forms. Monthly or quarterly injections (erenumab, fremanezumab, galcanezumab, eptinezumab) use antibodies to intercept either the CGRP protein itself or its receptor before it can activate pain pathways. Daily oral pills like atogepant block the same receptor from a different angle.
These treatments represent a shift from older preventive options like blood pressure medications and antidepressants, which were borrowed from other fields and worked through less understood mechanisms. CGRP-targeted therapies were designed specifically for migraine, and they tend to have fewer side effects as a result. Most people who respond see a meaningful drop in monthly migraine days within the first one to three months.
Sleep: A Surprisingly Powerful Factor
Sleep duration has a direct, measurable relationship with migraine frequency. A large U.S. study found that people who sleep six hours or less per night average about 1.3 extra headache days per month compared to those sleeping seven to nine hours. Oversleeping is even worse: those logging ten hours or more per night had roughly three additional headache days monthly, along with significantly greater disability.
The seven-to-nine-hour window is the target. Both short and long sleep independently increased migraine frequency and disability, and stress only partially explained the connection. This means sleep regulation isn’t just about feeling rested. It’s a direct lever on migraine biology. Keeping a consistent wake time, even on weekends, is one of the most commonly recommended behavioral changes for people with frequent migraines.
Dietary Triggers Worth Tracking
Food triggers are real but far less universal than most people assume. In a large study of migraine patients, coffee triggered attacks in about 20% of people, chocolate in roughly 8%, foods high in MSG in about 6%, and cheese in only 4%. That means the vast majority of migraine sufferers can eat chocolate or cheese without consequences, even though these are among the most commonly cited “migraine foods.”
Rather than eliminating long lists of foods preemptively, a more effective approach is keeping a headache diary for four to six weeks. Track what you ate in the 24 hours before each attack. Patterns that repeat three or more times are worth testing with deliberate avoidance. Skipping meals is itself a well-established trigger, so restrictive diets can backfire if they lead to irregular eating.
Supplements: What the Evidence Actually Shows
Riboflavin (vitamin B2) and magnesium are the two supplements most frequently recommended for migraine prevention. Clinical trials have tested riboflavin at 400 mg daily and magnesium at 300 mg daily. However, the evidence is more complicated than supplement marketing suggests. In one well-designed trial, a group taking just 25 mg of riboflavin (intended as the placebo) showed the same reduction in migraine frequency as the group taking the full 400 mg dose combined with magnesium and feverfew. Both groups improved significantly from baseline, with over 40% of participants in each group achieving a 50% or greater reduction in migraines.
This suggests riboflavin may help even at low doses, but it also means the effect size is uncertain and may be partly driven by placebo response. Magnesium’s independent contribution remains unclear. If you want to try supplements, riboflavin is inexpensive, well-tolerated, and unlikely to cause harm. Magnesium citrate or glycinate (rather than oxide, which is poorly absorbed) at 300 to 400 mg daily is a reasonable addition, particularly if you have low dietary magnesium intake.
Wearable Neuromodulation Devices
Several FDA-cleared devices now offer drug-free migraine treatment by delivering mild electrical or magnetic pulses to nerves involved in migraine. CEFALY, worn on the forehead, uses electrical stimulation to desensitize the trigeminal nerve. GammaCore, held against the neck, stimulates the vagus nerve. SAVI Dual uses magnetic pulses delivered through the skull. Relivion targets six branches of both the occipital and trigeminal nerves simultaneously.
These devices are typically used either during an attack or daily as prevention. They appeal to people who want to reduce medication use or who haven’t responded well to drugs. Results vary, and most insurance plans don’t cover them, but they carry minimal risk of side effects compared to medications.
When a Headache Isn’t Just a Migraine
Most migraines, while painful, follow a recognizable pattern. Certain features break that pattern and signal something more serious. A thunderclap headache, one that reaches maximum 10-out-of-10 intensity within seconds, can indicate a vascular emergency like an aneurysm and needs immediate evaluation. New neurological symptoms like weakness in one arm or leg, unusual numbness, or vision changes that aren’t part of your typical migraine aura are also red flags.
Headaches that change intensity when you shift position (standing to lying down) or that are triggered by coughing or straining can point to pressure problems inside the skull. A first-time severe headache after age 50, headaches accompanied by fever or night sweats, or headaches that are progressively worsening over weeks all warrant medical evaluation. New headaches during or after pregnancy also need prompt assessment for vascular or hormonal causes.