Getting rid of a migraine usually requires a combination of stopping the attack in progress and reducing how often attacks happen in the first place. For a migraine that’s already underway, the evidence supports a layered approach: over-the-counter painkillers (especially when combined with caffeine), cold packs applied to the neck, a dark quiet room, and staying hydrated can all make a real difference. When those aren’t enough, prescription medications like triptans or newer CGRP-blocking drugs can cut an attack short. For people who get migraines frequently, preventive treatments ranging from magnesium supplements to injectable antibodies can reduce the number of attacks per month. The trick is knowing which tools work at which stage.
What Happens During a Migraine
A migraine isn’t just a bad headache. The pain originates from a network of nerves called the trigeminal system, which innervates the blood vessels surrounding your brain. When those nerves fire, they release a signaling molecule called CGRP (calcitonin gene-related peptide). CGRP kicks off a chain reaction: blood vessels dilate, surrounding tissues become inflamed, and the nerves themselves become increasingly sensitized to pain signals.1PubMed Central. CGRP and the Trigeminal System in Migraine This sensitization builds over hours and can persist for up to 72 hours, which is why a migraine left untreated tends to get worse before it gets better.2PubMed Central. Calcitonin gene-related peptide (CGRP) and migraine Understanding this mechanism matters because every effective migraine treatment, whether it’s a cold pack or a prescription injection, works by interrupting some part of this cascade.
Over-the-Counter Pain Relief
For mild to moderate migraines, over-the-counter painkillers are the first line of defense, and the evidence favors a specific combination. A large trial of over 1,700 patients found that the triple combination of aspirin, acetaminophen, and caffeine was significantly more effective than any of those ingredients alone, the combination without caffeine, or placebo for time to 50% pain relief.3PubMed. The fixed combination of acetylsalicylic acid, paracetamol and caffeine is more effective than single substances and dual combination for the treatment of headache The caffeine component is doing more than keeping you alert. It enhances the absorption of the painkillers and constricts dilated blood vessels, and the three ingredients together hit multiple pain pathways simultaneously.4PubMed Central. Combined analgesics in (headache) pain therapy: shotgun approach or precise multi-target therapeutics? Products like Excedrin Migraine use this exact formula. Ibuprofen or naproxen on their own are also reasonable choices, and naproxen has the advantage of lasting longer, which can help prevent the migraine from bouncing back.
The most important thing with any OTC painkiller for migraine is timing. Taking it early, ideally within the first 20 to 30 minutes, dramatically improves how well it works. Once a migraine has progressed to severe intensity, the nervous system’s sensitization makes the pain harder to reverse with mild analgesics.
The Medication Overuse Trap
Here’s a cruel irony: using painkillers too often can actually cause more headaches. Medication overuse headache (sometimes called rebound headache) is a well-documented phenomenon that can develop when you take acute migraine medications more than about 10 to 15 days per month. The mechanisms behind it are complex, involving changes in how the brain processes pain signals, shifts in serotonin levels, and structural changes in brain regions that normally inhibit pain.5PubMed. Medication overuse headache from antimigraine therapy: clinical features, pathogenesis and management This applies to triptans and OTC painkillers alike. If you find yourself reaching for acute medication more than two or three days a week on a regular basis, that’s a strong signal to talk to a doctor about preventive treatment instead.
Cold Packs and Your Environment
Applying cold to your neck is one of the simplest and best-supported home remedies for migraine. A randomized controlled trial found that a frozen neck wrap applied at migraine onset, targeting the carotid arteries, reduced pain by about 32% within 30 minutes, while pain actually increased by a similar amount in the control group.6PubMed Central. Randomized controlled trial: targeted neck cooling in the treatment of the migraine patient A separate study confirmed that cold application significantly reduced episodic migraine pain scores, likely through decreased local blood flow and reduced stimulation of pain receptors in the area.7PubMed Central. A Study to Assess the Effectiveness of Cold Pack Application on Episodic Pain Among Patients with Migraine in Selected Community Areas A bag of frozen peas wrapped in a thin towel works fine. Place it at the back of the neck or on the forehead, and give it at least 15 to 20 minutes.
Managing your sensory environment matters too. Most people with migraine experience photophobia (sensitivity to light), and this isn’t just discomfort. Light activates specialized cells in the retina that connect to brain regions involved in both pain processing and sleep-wake regulation.8PubMed Central. Photophobia is associated with lower sleep quality in individuals with migraine Lying in a dark, quiet room during an attack isn’t just about comfort. You’re removing a stimulus that actively feeds the migraine process. If you can’t get to a dark room, tinted glasses designed to filter the specific wavelengths that aggravate migraine can help take the edge off.
Hydration
Dehydration is one of the most commonly reported migraine triggers, and increasing your water intake has some evidence behind it as both an acute and preventive measure. A study examining the relationship between water consumption and migraine found that people who drank more water had significantly lower headache frequency, pain severity, and duration.9PubMed. Association of drinking water and migraine headache severity A randomized trial that instructed patients to increase their daily water intake by about 1.5 liters found that roughly twice as many people in the water group reported meaningful improvement in their quality of life compared to the control group. However, the trial did not find a statistically significant reduction in the number of days with moderate-to-severe headache, so increased hydration likely works better as one piece of a broader strategy than as a standalone cure.10Family Practice. A randomized trial on the effects of regular water intake in patients with recurrent headaches
Supplements With Actual Evidence
Magnesium is the supplement with the strongest evidence for migraine prevention. A placebo-controlled trial found that high-dose oral magnesium (600 mg daily of magnesium dicitrate) reduced migraine attack frequency by about 42% after nine weeks, compared to roughly 16% with placebo.11PubMed. Prophylaxis of migraine with oral magnesium: results from a prospective, multi-center, placebo-controlled and double-blind randomized study A meta-analysis of randomized controlled trials confirmed that oral magnesium reduces both the frequency and intensity of migraines, and that intravenous magnesium can relieve acute attacks within 15 to 45 minutes.12PubMed. Effects of Intravenous and Oral Magnesium on Reducing Migraine: A Meta-analysis of Randomized Controlled Trials The evidence is strong enough that many headache specialists recommend magnesium as part of a broader preventive approach.13PubMed Central. Magnesium and Migraine Magnesium oxide is the most commonly studied form for migraine prevention. The main side effect is loose stools at higher doses, which is a feature of magnesium, not a sign of a problem.
Two other supplements with some clinical support are riboflavin (vitamin B2) and coenzyme Q10. Both are involved in mitochondrial energy production, and there’s a body of research suggesting that migraines may involve a deficit in how brain cells produce energy. Treating migraine patients with these supplements has shown positive results, lending clinical support to the theory that migraine has a metabolic component.14PubMed. CoEnzyme Q10 and riboflavin: the mitochondrial connection Typical doses studied are 400 mg daily for riboflavin and 100 to 300 mg daily for CoQ10. These supplements take one to three months to show effects, so they require patience.
Prescription Medications for Acute Attacks
When OTC options aren’t cutting it, triptans are the most widely used prescription drugs for stopping a migraine in progress. They work by activating serotonin receptors that both constrict dilated blood vessels and, more importantly, inhibit pain signal transmission in the brainstem.15PubMed Central. Where do triptans act in the treatment of migraine? Sumatriptan is the most familiar, available as a tablet, nasal spray, or injection. The injection works fastest, often within 15 minutes. Other triptans like rizatriptan and eletriptan may work better for some people, and your doctor may suggest trying a couple to find the best fit. The main limitation of triptans is that they constrict blood vessels, so they’re generally not prescribed for people with a history of heart disease, stroke, or uncontrolled high blood pressure.
Two newer drug classes have arrived for people who can’t take triptans or don’t respond to them. Gepants (like ubrogepant and rimegepant) block the CGRP receptor directly, attacking the core mechanism of migraine without constricting blood vessels. Ditans (lasmiditan is the only one on the market) activate a different serotonin receptor subtype that also avoids the vasoconstriction issue.16PubMed Central. Cardiovascular safety of new drugs for the acute and preventive treatment of migraine: gepants and ditans Gepants have the unusual advantage of being usable for both acute treatment and prevention. Lasmiditan can cause dizziness and sedation, so you shouldn’t drive for at least eight hours after taking it.
Preventive Prescription Medications
If you’re having four or more migraine days per month, or your attacks are severe enough to significantly disrupt your life, preventive medication is worth discussing with your doctor. The older preventive options, many of which were originally developed for other conditions, include beta-blockers like propranolol (which performs comparably to other established preventives),17PLoS ONE. Beta-blockers for the prevention of headache in adults, a systematic review and meta-analysis the anti-seizure drug topiramate (effective for both episodic and chronic migraine),18PubMed Central. Topiramate in the prevention and treatment of migraine: efficacy, safety and patient preference and certain antidepressants. These all work, but they come with side effect profiles that lead many people to stop taking them. Topiramate, for example, can cause cognitive dulling, tingling in the fingers, and weight loss (which some consider a benefit, but it reflects real metabolic changes). Beta-blockers can cause fatigue and exercise intolerance.
The most significant development in migraine prevention in the last decade has been CGRP-targeting monoclonal antibodies. Four are now available: erenumab, fremanezumab, galcanezumab, and eptinezumab. They’re given as monthly or quarterly injections (eptinezumab is given as an IV infusion). Systematic reviews have found all four to be safe and effective for migraine prevention.19PubMed Central. Efficacy and Safety of Anti-calcitonin Gene-Related Peptide (CGRP) Monoclonal Antibodies in Preventing Migraines: A Systematic Review A network meta-analysis comparing them in chronic migraine found that galcanezumab 120 mg and eptinezumab 300 mg showed the greatest reduction in monthly migraine days compared to placebo.20Clinical Psychopharmacology and Neuroscience. Efficacy and Safety of Anti-CGRP Monoclonal Antibodies in Prevention of Chronic Migraine: A Bayesian Network Meta-analysis These drugs are well tolerated, with injection-site reactions and constipation being the most commonly reported side effects.21PubMed. CGRP ligand and receptor monoclonal antibodies for migraine prevention: Evidence review and clinical implications The catch is cost: without insurance coverage, they can run well over a thousand dollars a month, though manufacturer assistance programs and growing insurance acceptance have made them more accessible.
Non-Invasive Nerve Stimulation Devices
A relatively new category of migraine treatment involves small handheld devices that stimulate nerves through the skin. The most studied is vagus nerve stimulation, which delivers mild electrical pulses to the vagus nerve in the neck or ear. A randomized trial (the PRESTO study) found that noninvasive vagus nerve stimulation applied to the neck was significantly better than sham treatment at achieving pain freedom 30 and 60 minutes after the first treated attack.22PubMed Central. Noninvasive vagus nerve stimulation as acute therapy for migraine: The randomized PRESTO study A meta-analysis found that the cervical (neck) version of the device significantly improved response rates, while the auricular (ear) version appeared more effective at reducing monthly migraine days and headache intensity.23PubMed Central. Noninvasive vagus nerve stimulation for migraine: a systematic review and meta-analysis of randomized controlled trials These devices are FDA-cleared and available by prescription. They’re not a replacement for medications in most cases, but they can be a useful add-on, especially for people who want to reduce how much medication they take or who have conditions that limit their drug options.
Acupuncture and Biofeedback
Acupuncture is one of the more contentious topics in migraine treatment. A Cochrane review found that real acupuncture was not significantly better than sham (fake) acupuncture for migraine prevention, but both were clearly better than no treatment, and real acupuncture had slightly better outcomes and fewer side effects than standard preventive drugs.24PubMed Central. Acupuncture for migraine prophylaxis A large randomized trial echoed this: acupuncture and sham acupuncture produced nearly identical reductions in headache days (about 2.2 days fewer over 12 weeks), with both outperforming a waiting-list control group.25JAMA. Acupuncture for Patients With Migraine: A Randomized Controlled Trial An overview of systematic reviews took a more favorable view, finding high-quality evidence that acupuncture’s effective rate was superior to Western medicine for migraine treatment.26PubMed Central. Effectiveness and Safety of Acupuncture for Migraine: An Overview of Systematic Reviews The honest read on this evidence is that acupuncture helps many people with migraine, but the mechanism is probably more about the ritual, expectation, and broad neural effects of being needled somewhere in the body than about hitting specific traditional acupuncture points.
Biofeedback, where you learn to control physiological processes like muscle tension and skin temperature using real-time monitoring, has a more straightforward evidence base. A comprehensive review found medium-to-large effect sizes for biofeedback in migraine patients, with improvements in headache frequency being the biggest benefit. Those gains held up over an average follow-up of 14 months, and patients also showed reduced anxiety, depression, and medication use.27Springer Link. Biofeedback treatment for headache disorders: a comprehensive efficacy review The downside is access: biofeedback requires training sessions with a provider, and not all insurance plans cover it.
Dietary Triggers and Elimination Approaches
Ask any migraine sufferer about their triggers and you’ll hear about chocolate, red wine, aged cheese, and artificial sweeteners. The reality is messier than these popular lists suggest. A systematic review of diet-related migraine triggers found that alcohol, caffeine, and fasting were the most consistently reported culprits, but the evidence was generally poor quality, based largely on patient questionnaires vulnerable to recall bias.28PubMed Central. The Role of Diet and Nutrition in Migraine Triggers and Treatment: A Systematic Literature Review No randomized controlled trials have actually tested specific foods as triggers, which means the “migraine food trigger” lists you see online are largely based on self-report rather than rigorous testing.
That doesn’t mean dietary management is useless. Elimination diets, where you remove suspected triggers identified through a structured diary and then reintroduce them one at a time, can help identify genuine individual triggers. For people with celiac disease, a gluten-free diet substantially reduces headache prevalence and may even resolve migraines completely. In people without celiac disease, the evidence for gluten-free diets is mixed, though a time-limited trial may be reasonable for those with digestive symptoms that accompany their migraines.29PubMed Central. Food in Migraine Management: Dietary Interventions in the Pathophysiology and Prevention of Headaches—A Narrative Review The most practical advice is to keep a detailed food and headache diary for at least a month. Patterns that emerge from your own data are more reliable than generic trigger lists.
Hormonal Migraine
About half of women with migraine notice a clear link to their menstrual cycle. The culprit is the drop in estrogen that occurs in the days just before menstruation. Estrogen modulates pain processing within the trigeminal system, and when levels fall rapidly, the threshold for triggering a migraine attack drops with them.30PubMed Central. Menstrual migraine is caused by estrogen withdrawal: revisiting the evidence One treatment strategy is to prevent that estrogen drop. A double-blind study found that applying estradiol gel starting 10 days after ovulation and continuing through the second day of menstruation reduced migraine days by about 22%. But there was a catch: participants experienced an increase in migraine about five days after stopping the gel, essentially just delaying the estrogen withdrawal.31PubMed Central. Management of Menstrual Migraine: A Review of Current Abortive and Prophylactic Therapies Other approaches include taking a triptan or naproxen on a short preventive schedule during the vulnerable window, typically starting two days before the expected onset and continuing for five to seven days. For women on combined oral contraceptives, skipping the placebo week to maintain steady hormone levels can reduce menstrual migraine, though this should be discussed with a prescriber.
Sleep as a Migraine Tool
Sleep and migraine have a complicated two-way relationship. Both too little and too much sleep can provoke attacks, and insomnia is the most common sleep disorder in migraine populations, affecting roughly half to two-thirds of people with the condition.32PubMed. Optimizing circadian cycles and behavioral insomnia treatment in migraine The practical implication is that keeping a consistent sleep schedule matters more than simply getting enough hours. Going to bed and waking up at the same time every day, including weekends, helps regulate the internal clock that influences migraine susceptibility. Weekend “sleep-ins” that push your wake time by two or three hours are a common and underappreciated trigger. For people who struggle with insomnia alongside migraine, cognitive behavioral therapy for insomnia (CBT-I) is the first-line treatment and has the advantage of improving both conditions without adding another medication to the mix.
If sleep is an effective preventive tool, it’s also a remarkably effective acute one. Many people find that falling asleep during a migraine attack is the only thing that reliably ends it. Sleep appears to reset the neural activity driving the attack. Combining a dose of medication with a 30- to 60-minute nap in a dark room is one of the most effective self-treatment combinations available, especially if you can manage it early in the attack.