What Helps With a Migraine: Meds, Remedies & More

The most effective migraine relief combines early treatment with the right method for your symptoms. Over-the-counter pain relievers work best when taken at the first sign of an attack, prescription medications can stop a migraine within two hours for most people, and simple measures like cold compresses and a dark room provide real relief while you wait for medication to kick in.

What to Do Right Now During an Attack

If you’re in the middle of a migraine, start with what’s available. Move to a quiet, dark room. Light and sound sensitivity are core migraine symptoms, not just annoyances, and reducing sensory input genuinely decreases the pain signal. Apply a cold pack or cold washcloth to your forehead, temples, or the back of your neck. Cold therapy works in part by calming a nerve bundle behind the nasal passage that plays a direct role in migraine pain.

Drink water. Dehydration is a common migraine trigger, and even mild fluid loss causes your brain tissue to contract slightly and pull away from the skull, putting pressure on surrounding nerves. A full glass of water won’t cure a migraine, but if dehydration contributed to the attack, rehydrating can shorten it. A small amount of caffeine (a cup of coffee or tea) can also help by constricting dilated blood vessels, though too much caffeine or relying on it daily can backfire and cause rebound headaches.

Over-the-Counter Pain Relievers

For mild to moderate migraines, ibuprofen, aspirin, and acetaminophen are reasonable first options. Anti-inflammatory drugs like ibuprofen and aspirin tend to outperform acetaminophen for migraines because they reduce the inflammation around blood vessels in the brain that contributes to migraine pain. Combination products that pair acetaminophen, aspirin, and caffeine together are also effective and widely available.

Timing matters more than most people realize. Taking a pain reliever during the early “prodrome” phase, when you first notice warning signs like visual changes, neck stiffness, or unusual fatigue, is significantly more effective than waiting until the pain peaks. If nausea is a major symptom, an over-the-counter anti-nausea medication taken alongside a pain reliever can help the pain reliever absorb better, since migraines slow down your digestive system.

One important caution: using over-the-counter pain relievers more than two or three days per week can lead to medication overuse headache, a cycle where the headaches become more frequent specifically because of the frequent pain reliever use.

Prescription Medications for Acute Attacks

When over-the-counter options aren’t cutting it, triptans are the most widely prescribed class of migraine-specific medication. They work by targeting serotonin receptors in the brain, narrowing swollen blood vessels and blocking pain pathways specific to migraine. A large meta-analysis found that standard triptan doses provided headache relief at two hours in 42% to 76% of patients, with complete pain freedom at two hours in 18% to 50%, depending on the specific drug.

Triptans come in several forms beyond standard pills. Sumatriptan is available as a nasal spray and an injection, both of which work faster and bypass the stomach entirely, a real advantage when nausea and vomiting make swallowing a pill impractical. Rizatriptan and zolmitriptan come as orally disintegrating tablets that dissolve on the tongue. These options make a meaningful difference for people whose migraines come on fast or involve severe nausea.

A newer class of prescription medications called gepants blocks a protein (CGRP) that plays a central role in triggering migraine attacks. The American Headache Society now considers CGRP-targeting therapies a first-line option. Gepants come as oral tablets and can treat an active migraine or be taken regularly to prevent them. They’re particularly useful for people who can’t take triptans due to heart disease or other vascular conditions, since they don’t constrict blood vessels.

Supplements That Reduce Migraine Frequency

Several supplements have enough evidence behind them that headache specialists routinely recommend them for prevention. These won’t stop a migraine in progress, but taken daily over weeks, they can reduce how often attacks happen.

  • Magnesium: The American Headache Society recommends 400 to 500 mg daily of magnesium oxide. Many migraine sufferers have lower magnesium levels, and supplementation can reduce attack frequency. It can cause loose stools at higher doses, so starting at the lower end and building up is practical.
  • Riboflavin (vitamin B2): At 400 mg daily, riboflavin helps the energy-producing structures in your cells work more efficiently. It takes about two to three months to see the full benefit.
  • CoQ10: At 300 mg daily, this antioxidant has been shown to reduce migraine frequency in adults. Like riboflavin, it supports cellular energy production and takes several weeks of consistent use before results show.

These supplements are generally well tolerated and can be combined with each other or with prescription treatments. They work best as part of a broader prevention strategy rather than a standalone fix.

Neuromodulation Devices

Several wearable devices now offer drug-free migraine treatment by delivering mild electrical or magnetic pulses to specific nerves. These are FDA-cleared and backed by clinical trials, though results vary by person.

The Cefaly device, worn on the forehead, stimulates the trigeminal nerve. In clinical trials, it was superior to placebo for both two-hour pain freedom in acute treatment and reducing monthly migraine days for prevention. Nerivio, a device worn on the upper arm and controlled by a smartphone app, uses remote electrical stimulation. In a real-world study of over 1,300 devices, about 59% of users achieved two-hour pain relief, and 20% were completely pain-free at two hours without any medication in at least half their attacks.

A single-pulse magnetic stimulation device (SAVI Dual) targets migraines with aura specifically. In a large UK study, participants saw decreases in monthly migraine days and reductions in acute medication use. Notably, medication overuse headache dropped from 52% of participants at the start of the study to just 8% at 12 months. These devices work best as complements to other treatments, particularly for people trying to reduce how much medication they use.

Lifestyle Factors That Prevent Attacks

Migraine brains crave consistency. Irregular sleep, skipped meals, and sudden changes in routine are among the most common triggers. Going to bed and waking up at roughly the same time every day, including weekends, is one of the most effective preventive steps you can take. Sleeping too little and sleeping too much can both trigger attacks.

Regular aerobic exercise, around 30 to 40 minutes three to five times a week, has been shown in multiple studies to reduce migraine frequency comparably to some preventive medications. The key is consistency and gradual intensity. Sudden intense exertion can itself trigger a migraine, so building up slowly matters. Swimming, cycling, and brisk walking are all good options.

Keeping a migraine diary for a few weeks can reveal your personal triggers. Common ones include alcohol (especially red wine), aged cheeses, processed meats, strong perfumes, weather changes, and hormonal fluctuations. Not everyone shares the same triggers, and a diary helps you identify which ones actually affect you rather than avoiding a long list unnecessarily.

When a Headache Needs Emergency Attention

Most migraines, while miserable, are not dangerous. But certain headache patterns signal something more serious. A thunderclap headache, one that reaches maximum 10-out-of-10 intensity within seconds, can point to a vascular emergency like a brain aneurysm and needs immediate evaluation. Any headache that is sudden in onset and the worst you’ve ever experienced falls into this category. Other red flags include a headache with fever and stiff neck, a headache after head trauma, or a new headache pattern that’s fundamentally different from your usual migraines, especially after age 50. These warrant a trip to the emergency room, not a wait-and-see approach.