The fastest way to treat a migraine at home is to take an over-the-counter pain reliever early, apply a cold pack to your forehead, and rest in a dark, quiet room. Timing matters more than almost anything else. The sooner you act after symptoms start, the more effective every treatment becomes.
Start With the Right Pain Reliever
Not all OTC pain relievers work equally well for migraines, and dosage matters. Ibuprofen at 400 mg is one of the most effective options. In a large review of over 4,300 patients, about one in three people who took ibuprofen went from moderate or severe pain to mild pain within two hours, and about one in seven were completely pain-free. That’s a meaningful edge over some alternatives.
Aspirin works best at 1,000 mg (two standard 500 mg tablets). Acetaminophen is also effective at 1,000 mg, though it lacks the anti-inflammatory action of aspirin and ibuprofen. Naproxen is a reasonable choice if your migraines tend to last a long time, since it stays active in your body longer than ibuprofen. The typical dose is 500 mg, though 825 mg may be slightly more effective. The tradeoff is that naproxen kicks in more slowly.
Whichever you choose, take it at the first sign of a migraine. Waiting until the pain is severe makes every option less effective.
Add Caffeine to Boost Pain Relief
A cup of coffee or tea alongside your pain reliever isn’t just comforting. Caffeine at doses of 65 mg or more (roughly one small cup of coffee) can boost the pain-relieving effect of OTC medications by about 40%. That’s why caffeine is already included in some combination migraine products.
There’s a catch: if you drink caffeine heavily every day, it may be less effective as a migraine tool, and caffeine withdrawal itself can trigger headaches. If you’re a moderate caffeine consumer, though, a cup of coffee early in an attack is one of the simplest things you can do to help your medication work harder.
Use a Cold Pack on Your Forehead
Cold therapy works through several mechanisms at once. It narrows blood vessels, reducing swelling. It slows nerve signaling, which directly dulls pain. And it reduces cellular metabolic demand in the area, which may interrupt part of the migraine process itself.
The National Headache Foundation recommends placing a cold pack on your forehead and temples. Keep it on for 10 to 15 minutes at a time, then remove it. Leaving ice on longer than 15 minutes can injure the skin. You can reapply after a short break. A bag of frozen peas wrapped in a thin towel works fine if you don’t have a gel pack.
Control Your Environment
During a migraine, your brain becomes hypersensitive to stimulation. Light, sound, and strong smells all amplify pain. Move to the darkest, quietest room you can find. Close the blinds, turn off screens, and lie down if possible. Even dimming your phone screen or switching it to a red-light filter helps. This isn’t just about comfort. Sensory input actively worsens the neurological cascade behind a migraine, so reducing it is a form of treatment.
Hydrate, but Slowly
Dehydration is a common migraine trigger, and even mild dehydration can prolong an attack. Take small, steady sips of water rather than gulping a large amount at once, which can cause nausea on top of your migraine. An electrolyte drink (low-sugar if possible) can help if you’ve been sweating or haven’t eaten much. Aim for six to eight glasses of water over the course of the day. If nausea is making it hard to drink, try sucking on ice chips.
Try Ginger for Nausea and Pain
Ginger is one of the few natural remedies with clinical evidence behind it. In a study comparing 250 mg of ginger powder to 50 mg of sumatriptan (a common prescription migraine drug), both produced nearly identical reductions in pain severity at the two-hour mark. That’s a single quarter-teaspoon of ground ginger, taken at the onset of a headache. You can also use ginger tea, ginger capsules, or even chew on a piece of fresh ginger. The most common side effect is mild stomach upset, which is far milder than the side effects of many migraine medications. Ginger also helps with the nausea that often accompanies migraines, giving it a dual benefit.
Peppermint and Lavender Oil
Inhaling peppermint essential oil has been shown to relieve migraine symptoms within five minutes in some patients, while also reducing headache intensity and frequency over time. You can place a drop or two on your temples or inhale it from the bottle. Lavender oil, applied to the forehead, temples, and back of the neck (diluted in a carrier oil like grapeseed), has also shown benefits for migraine intensity. These aren’t replacements for pain medication during a severe attack, but they’re useful additions, especially if you’re sensitive to medications or looking for something to layer on top of other treatments.
Magnesium as a Supplement
Magnesium deficiency is linked to migraine frequency, and supplementing with 400 to 600 mg daily may help both prevent and treat attacks. Magnesium oxide and magnesium citrate are the most commonly recommended forms. For acute relief, magnesium appears to be most effective in people who experience migraines with aura (visual disturbances or other sensory changes before the headache). If your migraines don’t include aura, magnesium is more useful as a daily preventive than as an in-the-moment treatment.
Prescription Devices You Can Use at Home
If you get frequent migraines, it’s worth knowing that FDA-cleared devices exist for home use. A transcranial magnetic stimulation device (sold as SpringTMS) delivers magnetic pulses through the back of the head. In a Mayo Clinic study, using it twice daily reduced headache days by about three per month, and 46% of participants cut their migraine frequency in half. It’s approved for both treating migraines with aura and preventing attacks.
Another option, a vagus nerve stimulator (gammaCore), delivers gentle electrical pulses to the side of the neck. For an active migraine, you apply two two-minute stimulations at the onset of pain and can repeat every 20 minutes if needed. Both devices require a prescription but are used entirely at home.
Red Flags That Need Emergency Care
Most migraines, while painful, are safe to treat at home. But certain headache patterns signal something more dangerous. A thunderclap headache, one that reaches maximum intensity within seconds, carries a greater than 40% chance of serious brain pathology like a hemorrhage. Get emergency help immediately for any of these: a sudden, explosive headache unlike anything you’ve experienced before; headache with fever and a stiff neck; headache with vision changes, confusion, or weakness on one side of the body; a headache pattern that has recently and significantly changed; or a new severe headache if you’re over 50, pregnant, or have a weakened immune system.

