How to Help a Migraine: Relief and Prevention

Migraine relief hinges on two strategies working together: stopping an attack once it starts and reducing how often attacks happen in the first place. Over-the-counter pain relievers and prescription medications like triptans remain the backbone of acute treatment, while a growing menu of preventive options now includes injectable antibodies, daily oral drugs, supplements, lifestyle changes, and even wearable nerve-stimulation devices. Which combination works best depends on how frequent your attacks are, what other health conditions you have, and how your body responds, but the evidence is strong that most people can meaningfully reduce both the severity and frequency of their migraines.

Stopping an Attack in Progress

When a migraine hits, timing matters more than almost anything else. Taking medication early, ideally within the first hour of pain, dramatically improves its effectiveness. For mild to moderate attacks, standard anti-inflammatory painkillers like ibuprofen or aspirin are often enough. For moderate to severe attacks, or when over-the-counter options fail, triptans are the most widely prescribed class of migraine-specific drugs. Seven different triptans are available, and they work by binding to serotonin receptors in the brain to constrict painfully dilated blood vessels and reduce the release of inflammatory neuropeptides from trigeminal nerve endings.1Archives of Neurology. Mechanisms of Action of the 5-HT1B/1D Receptor Agonists They tend to act quickly and relieve not just the headache but also nausea, light sensitivity, and sound sensitivity.2PubMed. Pharmacokinetics and pharmacodynamics of the triptan antimigraine agents: a comparative review

The catch with triptans is that they cause blood vessel constriction, which makes them off-limits for people with a history of heart attack, stroke, or uncontrolled high blood pressure. Two newer drug classes fill that gap. Gepants (such as ubrogepant and rimegepant) block the receptor for calcitonin gene-related peptide, a key pain-signaling molecule in migraine, without constricting blood vessels. Ditans (lasmiditan) target a different serotonin receptor subtype that also avoids the vascular effects.3Journal of Education, Health and Sport. Pharmacological Management of Acute Migraine: A Systematic Review Comparing NSAIDs, Triptans, Gepants, and Opioids Early safety data and post-hoc analyses suggest these newer drugs are safe for people with cardiovascular risk factors, which is a meaningful step forward.4PubMed. Getting to the Heart of the Matter: Migraine, Triptans, DHE, Ditans, CGRP Antibodies, First/Second-Generation Gepants, and Cardiovascular Risk Lasmiditan can cause drowsiness and dizziness, so you should not drive for at least eight hours after taking it. Gepants are generally well tolerated but can occasionally cause nausea.

The Medication Overuse Trap

One of the most common and frustrating complications for people with frequent migraines is medication overuse headache. If you take acute pain relievers too often, typically more than ten to fifteen days a month depending on the drug, the medication itself starts causing rebound headaches. About two-thirds of people who develop this pattern meet criteria for a form of dependency.5PubMed Central. Preventing and treating medication overuse headache This is one of the main reasons doctors push for preventive treatment when migraines become frequent. If you are reaching for a triptan or painkiller more than two or three days a week, it is time to talk to your doctor about a preventive strategy rather than relying solely on acute relief.

Preventive Medications

Preventive treatment is generally recommended once you are having four or more migraine days a month, or when your attacks are severe enough to substantially disrupt your life even if they are less frequent. The goal is not necessarily to eliminate every attack but to cut the number of migraine days roughly in half or more.

The traditional oral preventives include beta-blockers (propranolol and timolol), anti-seizure medications (topiramate and divalproex sodium), and the antidepressants amitriptyline and venlafaxine.6PubMed. Non-CGRP Antagonist/Non-Triptan Options for Migraine Disease Treatment: Clinical Considerations A large network meta-analysis found high-certainty evidence that topiramate reduces migraine days, and moderate-certainty evidence for beta-blockers, valproate, and amitriptyline.7PubMed Central. The comparative effectiveness of migraine preventive drugs: a systematic review and network meta-analysis These drugs work, but each comes with its own baggage. Beta-blockers can cause fatigue and dizziness and are not suitable if you have asthma or certain heart rhythm problems. Topiramate can cause tingling in the hands, cognitive fogginess, and weight loss. Valproate and amitriptyline lead to enough side effects that people frequently stop taking them.7PubMed Central. The comparative effectiveness of migraine preventive drugs: a systematic review and network meta-analysis

The newer CGRP-targeting treatments have changed the preventive landscape. Four monoclonal antibodies are now available: erenumab, fremanezumab, galcanezumab, and eptinezumab. All four have been shown to be safe and effective for migraine prevention in systematic reviews.8PubMed Central. Efficacy and Safety of Anti-calcitonin Gene-Related Peptide (CGRP) Monoclonal Antibodies in Preventing Migraines: A Systematic Review A Bayesian network meta-analysis found that galcanezumab and eptinezumab showed the largest reductions in monthly migraine days among people with chronic migraine, while fremanezumab showed the highest rates of patients achieving at least a 50 percent reduction in migraine days.9Clinical Psychopharmacology and Neuroscience. Efficacy and Safety of Anti-CGRP Monoclonal Antibodies in Prevention of Chronic Migraine: A Bayesian Network Meta-analysis These antibodies are given as monthly or quarterly injections (or infusions, in the case of eptinezumab), and the same meta-analysis of comparative effectiveness found that CGRP-targeting treatments do not increase adverse events leading to discontinuation, unlike the older oral preventives.7PubMed Central. The comparative effectiveness of migraine preventive drugs: a systematic review and network meta-analysis The main drawback is cost. Without insurance coverage, these injections can run over a thousand dollars a month.

Exercise, Sleep, and Other Lifestyle Shifts

Medication is only part of the equation. Regular moderate-intensity aerobic exercise, roughly 40 minutes at least three times a week, has been consistently shown to reduce migraine frequency, severity, and duration.10Annals of Translational Medicine. Physical exercise and migraine: for or against? One controlled trial found that an exercise program reduced the number of monthly attacks by about two and a half compared to a waitlist control.11Headache Medicine. Aerobic exercise training for migraine prevention: A trigger-based analysis The key is consistency and gradual buildup. Intense exercise without a warm-up can itself be a migraine trigger, so start easy and progress slowly.

Sleep is equally important and often underappreciated. Research on people with chronic migraine has found that greater misalignment between their internal circadian clock and their actual sleep timing correlated with both more frequent migraine days and greater migraine-related disability.12PubMed Central. Can Circadian Dysregulation Exacerbate Migraines? Both too little and too much sleep can trigger attacks. Keeping a consistent wake time, even on weekends, is one of the most frequently recommended sleep hygiene steps for migraine management.

Supplements Worth Considering

Several supplements have enough evidence behind them to be worth discussing with your doctor before dismissing them as unproven. A randomized, placebo-controlled trial of a supplement combining riboflavin (vitamin B2), magnesium, and coenzyme Q10 found that it significantly reduced migraine pain intensity and improved headache impact scores compared to placebo.13PubMed Central. Improvement of migraine symptoms with a proprietary supplement containing riboflavin, magnesium and Q10: a randomized, placebo-controlled, double-blind, multicenter trial Magnesium in particular is thought to help because low brain magnesium levels have been documented during migraine attacks. The most common side effect is loose stools, especially with magnesium oxide. Magnesium glycinate or citrate tends to be better tolerated. Riboflavin on its own, at doses around 400 mg per day, has some evidence as well, and it is cheap and essentially side-effect free aside from turning your urine bright yellow.

Cognitive Behavioral Therapy and Biofeedback

Behavioral treatments have a solid evidence base for chronic headache, including migraine. Cognitive behavioral therapy and biofeedback both reduce headache-related disability, pain catastrophizing, and sleep problems in people with chronic headache, with the combination of the two producing the strongest and most sustained results.14PubMed. Cognitive Behavioral Therapy and Biofeedback for Chronic Headache: Effects on Pain Catastrophizing, Sleep Quality, and Disability Interestingly, when biofeedback was compared head-to-head with active treatments like medication or CBT alone, it did not show a significant difference in headache frequency, suggesting it works about as well as standard care rather than being dramatically better.15PubMed. Efficacy of biofeedback for migraine: A systematic review and meta-analysis These therapies are especially useful for people who want to minimize medications, are pregnant, or have medication overuse headache.

Neuromodulation Devices

Several FDA-cleared wearable devices can be used at home for both acute migraine treatment and prevention. These include devices that stimulate nerves in the forehead, the back of the head, the upper arm, or the vagus nerve in the neck.16PubMed Central. Update on Neuromodulation for Migraine and Other Primary Headache Disorders: Recent Advances and New Indications A systematic review and meta-analysis confirmed that remote electrical neuromodulation is both effective and safe as an at-home migraine treatment.17PubMed Central. Efficacy and safety of remote electrical neuromodulation in migraine: a comprehensive systematic review and meta-analysis The International Headache Society recently issued guidelines giving weak recommendations for several of these devices for both acute and preventive use, including Cefaly, Nerivio, and gammaCore.18PubMed. International Headache society evidence-based guidelines on the use of non-invasive neuromodulation devices for the acute and preventive treatment of migraine “Weak recommendation” in clinical guideline language does not mean “probably does not work.” It means the evidence is still building and the benefit varies among individuals, so the recommendation is conditional rather than universal. These devices have essentially no systemic side effects, which makes them attractive for people who cannot tolerate or prefer not to take daily medications.

Acupuncture

Acupuncture is one of the better-studied complementary therapies for migraine prevention. A randomized clinical trial found that true acupuncture produced persistent and clinically meaningful reductions in migraine frequency, migraine days, and pain intensity compared to sham acupuncture and a waitlist control.19JAMA Internal Medicine. The Long-term Effect of Acupuncture for Migraine Prophylaxis: A Randomized Clinical Trial A recent systematic review and meta-analysis comparing acupuncture with conventional preventive medication found that acupuncture was associated with greater reductions in attack frequency, pain intensity, migraine days, and migraine duration, along with a higher proportion of patients achieving at least a 50 percent reduction in migraine days. It also produced fewer adverse events than medication. However, the overall quality of that evidence was rated moderate to low.20PubMed Central. Efficacy of Acupuncture and Pharmacotherapy for Migraine Prophylaxis: A Systematic Review and Meta-Analysis If you are interested in acupuncture, look for a licensed practitioner and plan for at least eight to twelve sessions before judging whether it is helping.

Dietary Triggers and Elimination Diets

The relationship between food and migraine is real but more complicated than most internet lists would have you believe. Common claimed triggers include aged cheese, chocolate, alcohol (especially red wine), processed meats, and artificial sweeteners, but simply eating one of these foods does not reliably produce a migraine in most people. The dose matters, the timing matters, and many supposed triggers have never been confirmed in controlled studies. A review of dietary interventions noted that a noticeable delay often occurs between eating a trigger food and the onset of an attack, making it difficult to determine whether a food actually contributed.21PubMed Central. Food in Migraine Management: Dietary Interventions in the Pathophysiology and Prevention of Headaches—A Narrative Review Keeping a structured food diary and doing a systematic elimination-and-rechallenge protocol with dietitian support is the most reliable way to identify personal triggers.

Ketogenic diets have shown some promise. One study found that after three months on a ketogenic diet, patients had a significant reduction in monthly headache days, dropping from about twelve and a half to about seven, with roughly two-thirds of patients experiencing at least a 50 percent reduction. Interestingly, the migraine improvement did not correlate with the amount of weight lost, suggesting the benefit comes from metabolic changes rather than weight loss alone.22PubMed Central. Migraine Prevention through Ketogenic Diet: More than Body Mass Composition Changes That said, ketogenic diets are restrictive and carry their own nutritional risks. They are worth exploring under medical supervision for people with frequent, hard-to-treat migraines, but they are not for everyone.

For people with celiac disease, a gluten-free diet can be remarkably effective. The same review noted that headache prevalence dropped dramatically in celiac patients on a gluten-free diet, with complete resolution in up to 75 percent of cases.21PubMed Central. Food in Migraine Management: Dietary Interventions in the Pathophysiology and Prevention of Headaches—A Narrative Review For people without celiac disease, the evidence for going gluten-free is much weaker.

Hormonal Migraine

Fluctuating estrogen levels are one of the most powerful and predictable migraine triggers. Estrogen withdrawal, the drop that occurs in the days just before a menstrual period, is a well-documented trigger of migraine without aura. Conversely, high estrogen levels can trigger migraine with aura.23PubMed. Migraine, menopause and hormone replacement therapy This explains why migraine patterns often shift during pregnancy, around menopause, or when starting or stopping hormonal contraception.

For menstrual migraine specifically, strategies include taking a triptan or NSAID on a scheduled basis starting a day or two before the expected onset of menstruation and continuing for several days. Continuous hormonal contraception that skips the placebo week can also help by preventing the estrogen drop. During perimenopause, maintaining stable estrogen levels through hormone replacement therapy can reduce estrogen-withdrawal migraines, particularly in women who are already candidates for hormone therapy due to vasomotor symptoms.23PubMed. Migraine, menopause and hormone replacement therapy The choice of approach depends on your migraine subtype (with or without aura), your cardiovascular risk, and your reproductive goals, so this is emphatically a conversation to have with a specialist.

Environmental Triggers and Weather

Many people with migraine report that weather changes trigger attacks, and there is research supporting the link. A study examining atmospheric pressure fluctuations found that migraine attacks occurred significantly more often when barometric pressure was low and particularly when pressure had dropped by 6 to 10 hPa from standard levels.24PubMed Central. Examination of fluctuations in atmospheric pressure related to migraine You obviously cannot control the weather, but knowing that a pressure drop is coming (weather apps now often include barometric data) can help you plan ahead: carry your acute medication, prioritize sleep the night before, and manage other modifiable triggers more carefully on those days.

Bright or flickering light, strong smells, and loud noise are also well-known sensory triggers. Between attacks, many people with migraine have a lower-than-average threshold for sensory discomfort. Tinted lenses that filter specific wavelengths of light (often marketed as FL-41 lenses) can reduce light sensitivity for some people, though the evidence is mostly from small studies. Managing your workspace lighting and reducing screen glare are simpler steps that cost nothing.

The Gut-Brain Connection

An emerging area of research links migraine to the gut microbiome. People with migraine tend to have different gut bacteria profiles than people without, and there is overlap between migraine and irritable bowel syndrome in terms of shared inflammatory mediators, serotonin pathway involvement, and stress hormone activity.25PubMed Central. Gut-brain Axis and migraine headache: a comprehensive review One study found that certain gut bacterial groups were associated with lower headache frequency and less severe headache intensity in people with episodic and chronic migraine.26Scientific Reports. Altered gut microbiota in individuals with episodic and chronic migraine This does not yet translate into clear treatment recommendations. Probiotic supplements marketed for migraine exist, but there are no large, well-designed trials showing they work. The research is worth watching, though, because it may eventually explain why dietary changes and gut health seem to matter for some migraine sufferers.

Migraine in Children and Adolescents

Migraine is not just an adult problem. It affects children and adolescents too, though the presentation often looks different. Attacks tend to be shorter in kids, sometimes lasting only an hour or two, and the pain is more often felt across both sides of the head rather than one. Nausea and vomiting are frequently more prominent than the headache itself. Young children may not be able to articulate what they are feeling, so unexplained irritability, pallor, or a sudden desire to lie down in a dark room can be clues. Assessment and management in this age group typically follows a biopsychosocial approach that considers the child’s school environment, peer relationships, and emotional development alongside medication options.27PubMed. Migraine in children and adolescents: Assessment and diagnosis Many of the same preventive strategies apply, including regular sleep schedules, physical activity, and behavioral therapies, though the medication options are more limited because fewer drugs have been studied or approved for pediatric use.

The Workplace Burden and Why It Matters for Treatment Decisions

Migraine is one of the leading causes of disability worldwide, and its economic cost is staggering. Most of that cost does not come from missed work days. A study of nearly 8,000 employees at a large health care system found that migraine was the second most costly condition in terms of presenteeism, the lost productivity that happens when people push through work during an attack. An estimated 89 percent of migraine-related productivity loss comes from presenteeism rather than absenteeism, and the cost of working through attacks is estimated at three to ten times greater than the cost of absences.28eNeurologicalSci. Migraine in the workplace This matters for treatment decisions because it reframes the value of preventive treatment. A monthly injection or daily pill that cuts your migraine days in half is not just about comfort; for many people, it can meaningfully affect career performance and earning potential. If your migraines are affecting your work but you have been hesitant about preventive treatment, that productivity cost is worth factoring in.