When a migraine hits, your immediate priorities are pain relief, sensory protection, and hydration. Most attacks last several hours to three days, and what you do in the first minutes matters. Here’s a practical playbook for getting through each stage.
Take Pain Relief Early
Over-the-counter painkillers work best when taken at the first sign of head pain, not after the pain has fully built. Ibuprofen at 400 mg or acetaminophen at 1,000 mg are both effective starting points. Naproxen at 500 mg is another solid option and tends to last longer. If you use aspirin, the effective dose is 1,000 mg.
Adding a small amount of caffeine, around 100 to 130 mg (roughly one strong cup of coffee), can boost the effectiveness of these painkillers. A combination of acetaminophen, aspirin, and 130 mg of caffeine has been tested in large clinical trials and shown to outperform any of those ingredients alone. Just be careful if you’re a daily caffeine drinker, since withdrawal can trigger migraines in the first place.
If over-the-counter options don’t cut it, prescription medications called triptans are the standard next step. These come in tablets, nasal sprays, and injections. They work by targeting the specific brain chemistry involved in migraines rather than just dulling pain generally. Your doctor can help you find the right form and dose. A newer class of prescription medications, sometimes called gepants, blocks a pain-signaling protein involved in migraine attacks. In clinical trials, these provided complete pain freedom at two hours in about 20% of patients, and relief from the most bothersome symptom (light sensitivity, sound sensitivity, or nausea) in 50%.
Control Your Environment
Light and sound sensitivity are core features of a migraine attack, not just annoyances. Retreating to a dark, quiet room genuinely reduces the pain signal your brain is processing. If you can’t get to a dark room, an eye mask helps. A compression eye mask that’s been stored in the freezer does double duty by blocking light and providing cold therapy.
Ice packs applied to the head or neck can numb pain and take the edge off an attack. Some people find that combining cold on the head with heat on the feet, either a heating pad or a tub of hot water, provides surprising relief. The contrast between hot and cold seems to have a soothing effect during an active attack. Use whatever ice pack you have at home; there’s no need for anything specialized.
Stay Hydrated
Dehydration doesn’t just trigger migraines, it makes active attacks worse. Research has found that increasing water intake to at least 1.5 liters per day reduces migraine severity, likely by helping maintain the balance of electrolytes in your system. During an attack, sip water steadily. Some people find that drinking an icy beverage provides additional relief beyond hydration alone. If you’ve been vomiting from nausea, replacing electrolytes with a sports drink or oral rehydration solution becomes especially important.
Know What Stage You’re In
A migraine isn’t just a headache. It’s a neurological event that unfolds in distinct phases, and recognizing them can help you respond more effectively.
The first phase, called the prodrome, can start hours or even days before head pain begins. You might notice mood changes, neck stiffness, food cravings, unusual yawning, fatigue, or trouble focusing. If you recognize these warning signs, that’s your window to take medication early, hydrate, and clear your schedule if possible.
About one in four people with migraines experience an aura phase, which typically lasts 5 to 60 minutes. This can include seeing geometric patterns, flashing lights, or blind spots. Aura usually signals that the headache phase is coming soon.
The headache phase itself lasts anywhere from several hours to three days, with pain on one or both sides of the head, often joined by nausea, anxiety, and heightened sensitivity to sound, light, and smell. This is the phase where all the strategies above matter most.
After the pain fades, many people enter a postdrome phase, sometimes called a “migraine hangover.” This brings fatigue, body aches, difficulty concentrating, dizziness, and lingering light sensitivity. It’s real, it’s common, and it deserves its own approach.
Recovering After the Pain Stops
The migraine hangover catches a lot of people off guard. The pain is gone, so you feel like you should be fine, but your brain has just been through something intense. Harvard Health compares it to having run a marathon: your body needs recovery time, but that doesn’t mean staying in bed with the lights off. The goal is to ease up while staying functional.
For the 24 hours after your headache lifts, lighten your load where you can. Keep drinking water. Eat regular meals and stick to a normal sleep schedule. Stop taking pain medication once the headache itself is gone, since continued use can contribute to rebound headaches over time. If postdrome symptoms are severe enough to interfere with your daily life, that’s worth discussing with your doctor, as there are medications that can help.
Device-Based Options
Several wearable neuromodulation devices are now cleared for treating migraines at home. These work by sending mild electrical or magnetic pulses to specific nerves involved in migraine pain. One device worn on the forehead stimulates the trigeminal nerve and is available without a prescription. Others target the vagus nerve (held against the neck), the occipital nerves (worn around the head), or pain fibers in the upper arm. Most require a prescription and pair with a smartphone app to track usage. These aren’t miracle cures, but they offer a drug-free option that some people find helpful, especially those who can’t tolerate medications or who get frequent attacks and want to limit how often they take pills.
When a Migraine Needs Emergency Attention
Most migraines, even severe ones, are manageable at home. But certain headache features point to something more dangerous. A sudden-onset headache that hits maximum intensity within seconds, sometimes called a thunderclap headache, can signal a vascular emergency like an aneurysm and needs immediate evaluation. New neurological symptoms that aren’t part of your typical migraine pattern, such as weakness in an arm or leg, new numbness, or unusual visual changes, are also red flags.
Headache accompanied by fever, night sweats, or other signs of systemic illness warrants medical attention. A first-ever severe headache in someone over 50 is more likely to have a serious underlying cause than a typical migraine. And any headache that feels fundamentally different from your usual pattern, especially if it’s the worst you’ve ever experienced, is worth getting checked out rather than riding out at home.

