How to Help a Migraine: Steps That Actually Work

The fastest way to help a migraine is to take an over-the-counter pain reliever early, retreat to a dark and quiet room, and apply a cold compress to your forehead or neck. Timing matters more than almost anything else: treating within the first 30 to 60 minutes of pain consistently produces better results than waiting. Beyond that initial response, a range of tools can shorten the attack, reduce its severity, and help you recover faster afterward.

Why a Dark, Quiet Room Actually Works

Retreating to a dim room during a migraine isn’t just about comfort. Light activates pain-signaling neurons in the brainstem, which can directly intensify headache pain. This is sometimes called photic allodynia, where light that wouldn’t normally bother you makes the headache measurably worse. Brightness stimulating the retina also triggers changes in the autonomic nervous system, contributing to nausea and that overall feeling of being overwhelmed. Choosing darkness is your brain’s way of removing a genuine pain trigger, not just a preference.

Sound sensitivity works along similar pathways. If you can manage it, a cool, dark, quiet space with minimal stimulation gives your nervous system the best chance to calm down on its own while any medication you’ve taken starts working.

Over-the-Counter Medications

Ibuprofen is one of the most studied OTC options for migraine. Doses of 400 mg are effective for many people, though clinical guidelines note that higher doses (up to 1,200 mg as an initial dose) show stronger results. If the first dose helps but doesn’t fully resolve the pain, a second 400 mg dose can be taken one to two hours later. The 200 mg dose found in a single standard tablet works, but tends to be slightly less effective.

Naproxen sodium is another solid choice, particularly because it lasts longer in your system. The recommended initial dose for a migraine attack is 825 mg (roughly three and a half standard 220 mg tablets), with 550 mg as a follow-up dose if needed after one to two hours. Naproxen sodium absorbs faster than plain naproxen, which makes the sodium version the better pick for migraine specifically.

Acetaminophen (Tylenol) can help milder attacks, though it’s generally considered less effective than anti-inflammatory options for moderate to severe migraines. Combination products that pair acetaminophen with aspirin and caffeine tend to outperform any of those ingredients alone.

Watch for Medication Overuse

If you’re reaching for pain relievers frequently, there’s an important threshold to know. Using triptans or combination analgesics on 10 or more days per month, or simple pain relievers like ibuprofen on 15 or more days per month, for longer than three months can cause medication overuse headache. This is a cycle where the medications themselves start triggering more frequent headaches. If you’re approaching those numbers, it’s a sign to talk to a provider about preventive strategies instead.

Cold and Heat Therapy

Applying a cold pack to your forehead, temples, or the back of your neck is one of the simplest things you can do during an attack. Cold reduces blood flow to the area and has a mild numbing effect on pain signals. Some people prefer heat, typically from a heating pad or warm rice bag placed on the neck or shoulders, which relaxes tense muscles and increases blood flow. The evidence doesn’t strongly favor one over the other, so use whichever feels better to you. Many people find cold more helpful during the peak of pain and heat more soothing during the wind-down phase.

Prescription Options for Stronger Attacks

When OTC medications don’t cut it, triptans remain the most widely prescribed class of acute migraine treatment. They work by narrowing blood vessels around the brain and blocking pain pathways. Like OTC options, they’re most effective when taken early in an attack. They aren’t appropriate for everyone, particularly people with certain cardiovascular risk factors, since they cause blood vessel constriction.

A newer class of medications called gepants works differently. Instead of constricting blood vessels, they block a protein called CGRP that plays a central role in migraine pain signaling. Some gepants are taken as needed for acute attacks, similar to triptans. Others are taken on a regular schedule (daily or every other day) to prevent migraines from occurring in the first place. Because they don’t affect blood vessels, they’re an option for people who can’t use triptans.

For prevention, injectable CGRP-blocking antibodies are given once a month or once every three months and can significantly reduce the number of migraine days. These are typically considered after other preventive approaches haven’t worked well enough.

Supplements That May Reduce Frequency

Two supplements have the most evidence behind them for migraine prevention. Riboflavin (vitamin B2) at 400 mg daily reduced migraine frequency in a randomized controlled trial over three months. It’s well tolerated and inexpensive, though it can turn your urine bright yellow, which is harmless.

Magnesium is the other commonly recommended supplement. Many people with migraines have lower magnesium levels, and supplementation (typically magnesium oxide at 400 to 500 mg daily) may help reduce attack frequency over time. Magnesium can cause loose stools at higher doses, so starting at a lower amount and increasing gradually is a practical approach. Neither supplement works as a rescue treatment during an active attack. They’re daily commitments aimed at having fewer migraines overall.

Neuromodulation Devices

Several FDA-cleared devices offer drug-free options for both treating and preventing migraines. These use mild electrical or magnetic stimulation on specific nerves.

  • Remote electrical neuromodulation (Nerivio) is worn on the upper arm and controlled through a smartphone app. In real-world use, about 59% of users experienced pain relief within two hours, and 20% were completely pain-free without needing medication. It’s cleared for ages 12 and up.
  • External trigeminal neurostimulation (Cefaly) is a small device worn on the forehead that stimulates the trigeminal nerve. It’s cleared for both acute treatment and daily prevention in adults.
  • Single-pulse transcranial magnetic stimulation (sTMS) delivers magnetic pulses to the back of the head. It’s cleared for acute and preventive use in people 12 and older.
  • Vagus nerve stimulation (gammaCore) is a handheld device applied to the neck. While it didn’t meet its primary study endpoints for migraine, the FDA cleared it based on overall safety and positive secondary results.

These devices generally work best as part of a broader strategy rather than a standalone solution. They appeal to people who want to limit medication use or who experience side effects from drugs.

During the Attack: A Practical Sequence

When you feel a migraine starting, acting quickly makes the biggest difference. Take your chosen pain reliever right away. Don’t wait to see if the headache “gets bad enough” to justify medication. Move to a dark, quiet space if possible. Apply a cold pack to your forehead or the sides of your neck. Drink water, since dehydration can worsen an attack even if it didn’t cause it. If nausea is significant, lying still on your side can help, and taking your pain reliever with a small amount of food may improve absorption and reduce stomach upset.

Caffeine in small amounts (a cup of coffee or tea) can enhance the effect of pain relievers and helps some people on its own. But regular caffeine use for migraines can backfire by contributing to the medication overuse cycle, so this works best as an occasional tool.

Recovering After the Pain Stops

The headache phase ending doesn’t mean the migraine is over. Most people experience a postdrome, sometimes called a migraine hangover, that lasts anywhere from a few hours to two full days. Common symptoms include fatigue, difficulty concentrating, neck stiffness, and a general foggy feeling. Some people describe mood changes or food cravings.

The same strategies that help during the attack also help here: rest, dim lighting, hydration, and gentle activity. Pushing yourself back to full speed too quickly during postdrome can sometimes retrigger symptoms. Give yourself permission to ease back in. Symptoms typically resolve completely within 48 hours.