Several approaches can help with migraine, ranging from cold therapy and darkness during an attack to medications, supplements, and lifestyle changes that reduce how often migraines strike. What works best depends on whether you’re trying to stop a migraine in progress or prevent future ones, and most people benefit from a combination of strategies.
What to Do During an Attack
When a migraine hits, your first instinct to retreat to a dark, quiet room is backed by biology. Light and sound sensitivity are core features of migraine, and reducing sensory input removes stimuli that actively worsen pain.
Cold therapy is one of the most accessible tools. Applying a cold pack to your forehead or temples reduces pain by numbing nerve endings and blocking pain signal transmission to the brain. In a pilot study, patients who applied cold therapy saw their pain scores drop from about 8 out of 10 to 5.5 within 25 minutes, and the pain continued declining over the next few hours, reaching roughly 4 at the one-hour mark and 3.4 by three hours. Frozen gel packs, ice wrapped in a cloth, or commercial migraine caps all work.
Caffeine can help in small amounts if you don’t consume it regularly. It narrows blood vessels and enhances pain reliever absorption, which is why it’s an ingredient in several over-the-counter headache formulas. But regular caffeine use creates dependence, and withdrawal itself becomes a migraine trigger.
Medications That Stop a Migraine
Triptans remain the most effective class of medication for stopping a migraine once it starts. They work by activating serotonin receptors in the brain, which constricts dilated blood vessels and blocks pain signaling in the trigeminal nerve, the main pain pathway involved in migraine. Several versions are available as pills, nasal sprays, and injections, and they work best when taken early in an attack.
Newer alternatives called gepants block a protein called CGRP that plays a central role in migraine pain. A large meta-analysis of over 46,000 participants found that gepants are effective compared to placebo but generally less potent than most triptans for achieving pain freedom at two hours. The tradeoff is tolerability: gepants cause fewer side effects than triptans and don’t carry the cardiovascular restrictions that make triptans off-limits for some people. If you’ve tried triptans and found them ineffective or couldn’t tolerate the side effects, gepants are a reasonable next step.
Standard pain relievers like ibuprofen and naproxen also help, particularly for mild to moderate attacks. The key with any acute medication is timing. Taking it within the first 30 to 60 minutes of pain onset dramatically improves effectiveness.
Supplements With Clinical Evidence
Three supplements have the most research behind them for migraine prevention: magnesium, riboflavin (vitamin B2), and coenzyme Q10. A double-blind, placebo-controlled trial tested a combination of 600 mg magnesium, 400 mg riboflavin, and 150 mg CoQ10 daily. After three months, participants reduced their migraine days from 6.2 to 4.4 per month. While the reduction in migraine days didn’t reach statistical significance compared to placebo, the combination significantly reduced pain intensity and overall migraine burden as measured by validated questionnaires.
These supplements are generally well tolerated. Magnesium can cause loose stools at higher doses, so magnesium glycinate or magnesium citrate tend to be easier on digestion. Results typically take two to three months to become noticeable, so consistency matters more than expecting immediate change.
Preventive Treatment for Frequent Migraines
If you’re experiencing four or more migraine days per month and they significantly affect your ability to function, preventive therapy becomes worth considering. The American Headache Society now recognizes injectable medications that target CGRP as first-line preventive options for episodic migraine (4 to 14 monthly migraine days) with at least moderate disability. These are given as monthly or quarterly injections and work by neutralizing the CGRP protein before it can trigger an attack.
Older preventive options include certain blood pressure medications, antidepressants, and anti-seizure drugs that were found to reduce migraine frequency as a secondary benefit. These are still widely used and effective for many people, though side effects like weight changes, fatigue, or cognitive dulling lead some patients to discontinue them.
Devices That Stimulate Nerves
Several FDA-cleared devices offer a drug-free approach. External trigeminal nerve stimulation uses a small device worn on the forehead that sends mild electrical pulses to branches of the trigeminal nerve. In a phase 3 trial, 25.5% of users achieved complete pain freedom at two hours compared to 18.3% with a sham device, and 56.4% had their most bothersome symptom resolve compared to 42.3% with sham. These numbers are modest, but for people who want to avoid or reduce medication use, devices can be a useful addition.
Food Triggers and Eating Patterns
The most commonly reported dietary migraine triggers are alcohol, chocolate, aged cheese, processed meats, citrus fruits, and foods containing MSG or artificial sweeteners. Fasting is a trigger for roughly 44% of people with migraine, and alcohol triggers attacks in about 27%. A prospective study found that hunger alone was the most common dietary trigger, reported by over half of participants.
Elimination diets, where you remove suspected trigger foods for several weeks and then reintroduce them one at a time, have shown meaningful results in clinical trials. One randomized crossover study found that removing common triggers like wheat, orange, egg, caffeine, cheese, chocolate, and milk significantly reduced monthly attack frequency, duration, and severity after two months. The challenge is that triggers vary widely between individuals, so what provokes a migraine in one person may be completely harmless for another. A food diary kept over several weeks is the most practical way to identify your personal triggers.
Meal regularity may matter as much as what you eat. Women with migraine were significantly more likely to skip meals, eat fewer than three meals a day, and have no regular eating schedule compared to those without migraine. Keeping consistent meal times helps stabilize blood sugar, which appears to play a role in migraine threshold.
Sleep Habits That Reduce Migraine Frequency
Poor sleep and migraine fuel each other in a cycle: migraine disrupts sleep, and disrupted sleep lowers the threshold for the next attack. A systematic review and meta-analysis found that structured sleep interventions significantly reduced both headache frequency and headache intensity.
The most effective behavioral strategies include going to bed only when sleepy, getting out of bed if you can’t fall asleep within about 20 minutes, and avoiding naps during the day. Napping reduces sleep pressure, making it harder to fall asleep at your regular bedtime. Avoiding alcohol near bedtime is also important because it fragments sleep architecture even if it helps you fall asleep initially. Keeping your bedroom dark and quiet, limiting caffeine after early afternoon, and maintaining a consistent wake time (even on weekends) round out the core habits that have the strongest evidence.
Recognizing the Early Warning Signs
Migraine isn’t just a headache. It unfolds in phases, and catching the early signs gives you a window to intervene before pain peaks. The prodrome phase can begin hours to days before the headache and includes neck stiffness, fatigue, difficulty thinking, irritability, light sensitivity, and excessive yawning. If you learn to recognize your prodrome symptoms, you can take medication or adjust your environment before the pain phase begins.
Some people also experience aura, which involves visual disturbances (like shimmering lights or blind spots), tingling sensations, or speech difficulty that develops over 5 to 60 minutes before the headache. After the pain resolves, a postdrome phase often follows, bringing fatigue, mental slowness, body aches, and continued sensitivity to light or sound. Occasionally, people feel a sense of relief or even mild euphoria. Understanding that these “hangover” symptoms are part of the migraine itself, not a separate problem, helps you plan for recovery time rather than pushing through.
When a Headache Isn’t Just a Migraine
Most migraines, while debilitating, aren’t dangerous. But certain features signal something more serious. Neurologists use the mnemonic SNOOP to flag headaches that need urgent evaluation: systemic symptoms like fever or weight loss, neurologic signs like weakness or confusion, onset that is sudden and explosive (reaching peak intensity in seconds), onset after age 40 in someone with no headache history, and a pattern change where a familiar headache becomes distinctly different. A sudden, severe headache that feels like the worst of your life warrants emergency evaluation, as it can indicate bleeding in the brain.