What to Do When You Have a Migraine Attack

When a migraine hits, acting quickly makes the biggest difference. Take your pain medication as early as possible, move to a dark and quiet room, and apply something cold to your forehead or the back of your neck. Most people who treat a migraine within the first 20 to 30 minutes of symptoms get significantly better relief than those who wait it out. Beyond that first response, several other strategies can shorten the attack and reduce its severity.

Take Pain Relief Early

Over-the-counter anti-inflammatory drugs like ibuprofen are the first-line option for most people. In head-to-head comparisons, ibuprofen is roughly twice as likely as acetaminophen to fully stop a migraine within two hours. Acetaminophen still works better than doing nothing, but if you have the choice and no reason to avoid anti-inflammatories, ibuprofen or naproxen sodium will typically give you faster, more complete relief.

The key rule with any pain medication is timing. These drugs work best when your migraine is still mild. Once pain has escalated to moderate or severe, oral medications absorb more slowly because your stomach essentially stalls during a migraine. If you notice early warning signs like visual changes, neck stiffness, or unusual fatigue, that’s the window to take something.

If you get migraines frequently, be careful about how often you reach for painkillers. Using any acute migraine medication, including over-the-counter options, more than two or three days per week can paradoxically cause more headaches over time. This is called medication overuse headache, and it turns occasional migraines into a near-daily problem.

Control Your Environment

Light and sound sensitivity aren’t just annoying side effects of a migraine. They’re signs that your nervous system is in a hyperexcitable state, and continued exposure to stimulation actively makes the attack worse. Get to a dark, quiet space as soon as you can. If you can’t leave where you are, sunglasses and earplugs or noise-canceling headphones offer a partial substitute.

Cold therapy is one of the simplest and most effective non-drug interventions. Place a cold pack or a bag of frozen vegetables wrapped in a thin towel on your forehead, temples, or the back of your neck. Cold constricts blood vessels and dulls pain signaling in the area. Many people rotate between 15 minutes on and 15 minutes off. Heat on the neck and shoulders can also help if muscle tension is contributing to your pain, but cold on the head itself tends to work better during an active attack.

Manage the Nausea

Nausea is one of the most common and disabling migraine symptoms, and it creates a frustrating cycle: you need to take medication, but your stomach isn’t cooperating. During a migraine, your digestive system slows dramatically, which means pills sit in your stomach instead of being absorbed.

Ginger, whether as tea, a chew, or a supplement, has mild anti-nausea effects and is worth trying early. Sipping small amounts of a cold, clear liquid like water or ginger ale can also settle things enough to keep medication down. If nausea is a regular feature of your migraines, talk to your doctor about getting a prescription anti-nausea medication to take alongside your pain reliever. These drugs not only reduce vomiting but also help your stomach start moving again, which means your pain medication actually gets absorbed.

Prescription Options for Severe Attacks

If over-the-counter medications don’t cut it, prescription treatments can make a dramatic difference. Triptans have been the standard for decades. They work by targeting specific receptors on the nerves involved in migraine pain and also constrict blood vessels. They’re effective for many people, but because of that blood vessel effect, they’re not suitable if you have certain heart conditions or uncontrolled high blood pressure.

A newer class of drugs called gepants takes a different approach. These block a protein called CGRP that carries pain signals along the nerves involved in migraine. Because gepants don’t affect blood vessels, they’re an option for people who can’t take triptans. Both gepants and triptans come in pill form, and some are available as nasal sprays or injections, which bypasses the nausea problem entirely.

There are also FDA-cleared wearable devices that use mild electrical stimulation to interrupt migraine pain signals. One such device, worn on the upper arm, showed meaningful results in clinical testing: about 67% of users had pain reduction within two hours, compared to 39% with a placebo device. These aren’t a replacement for medication for most people, but they can be a useful add-on, especially if you’re trying to limit how often you use drugs.

What to Do During the Attack

Once you’ve taken medication and settled into a dark room, a few more things can help. Caffeine, in small amounts, enhances the effect of pain relievers. A single cup of coffee or tea alongside your ibuprofen can speed up relief. But if you already consume a lot of caffeine daily, this benefit shrinks, and skipping caffeine can actually trigger withdrawal headaches that compound the migraine.

Stay hydrated. Dehydration is a common migraine trigger and worsening factor. Sip water or an electrolyte drink steadily, even if nausea makes it unappealing. If you can sleep, do it. Sleep is one of the most reliable ways to end a migraine, and many people wake up with the worst of the pain behind them.

Avoid screens if at all possible. The combination of blue light, small text, and the mental effort of reading or scrolling keeps your brain in the overactivated state that sustains the migraine. If you need distraction, a podcast or audiobook at low volume is a better option than your phone.

The Migraine Hangover

Even after the headache fades, most people don’t feel normal right away. The postdrome phase, often called a migraine hangover, can last anywhere from a few hours to two full days. Common symptoms include deep fatigue, body aches (especially a stiff neck), difficulty concentrating, dizziness, and mood swings that can range from unusual happiness to feeling low.

This isn’t a sign that the migraine is coming back or that something else is wrong. It’s a normal part of how the brain recovers from a migraine attack. During this phase, continue resting in a calm environment, stay hydrated, eat light meals, and don’t push yourself to get back to full productivity. Most people feel like themselves again within 48 hours. Treating yourself as if you’re recovering from an illness, because neurologically you are, makes this phase shorter and less miserable.

When a Headache Needs Emergency Care

Most migraines, even severe ones, are safe to manage at home. But certain headache patterns require immediate evaluation. A thunderclap headache, one that reaches maximum intensity within seconds, has a greater than 40% chance of being caused by something serious like bleeding in the brain. That’s an emergency room situation, not a wait-and-see situation.

Other red flags that warrant urgent evaluation include:

  • Headache with fever and a stiff neck, which can signal a brain or spinal infection
  • Sudden vision changes, confusion, or difficulty speaking alongside the headache
  • Loss of consciousness or significantly impaired awareness
  • Eye pain with blurred vision or halos around lights, which can indicate a dangerous spike in eye pressure
  • A headache unlike any you’ve ever experienced, especially if it came on suddenly

If your migraines have changed in character, are getting more frequent, or have stopped responding to treatments that used to work, that’s worth a non-urgent appointment with your doctor to reassess your approach.