How to Get a Migraine to Go Away Quickly

The fastest way to stop a migraine is to take an over-the-counter painkiller as early as possible, retreat to a dark and quiet room, and apply something cold to your head or neck. That combination works for many attacks. For migraines that don’t respond, prescription medications and newer drug-free devices can break through the pain within two hours. The key across all approaches is timing: treating early, before the pain intensifies, dramatically improves your odds of getting relief.

Why Early Treatment Matters

Migraine pain tends to escalate. What starts as mild discomfort can build into moderate or severe throbbing within an hour or two. Once the pain is fully established, it becomes harder for any medication to reverse it. Headache specialists consistently recommend taking acute medication as early as you can, ideally while the pain is still mild. If you experience aura (visual disturbances, tingling), that’s your window opening. Don’t wait to see if the headache “gets bad enough” to justify a pill.

Over-the-Counter Pain Relief

Standard painkillers are effective for mild to moderate migraine attacks when taken early. The doses that work best for migraines are often higher than what people typically take for a regular headache:

  • Ibuprofen: 400 mg is the sweet spot. Clinical trials found that higher doses didn’t improve results. You can take up to 2,400 mg total in 24 hours if needed.
  • Naproxen sodium: 500 to 550 mg per dose, with some evidence that 825 mg works better. Don’t exceed 1,375 mg in a day.
  • Acetaminophen: 1,000 mg per dose. Because it wears off faster (two to three hours), you may need a second dose. Stay under 4,000 mg per day to protect your liver.

Adding caffeine can boost any of these by roughly 40%. A cup of coffee or tea alongside your painkiller isn’t just a comfort measure. Caffeine blocks certain receptors involved in pain signaling, genuinely enhancing the drug’s effect. Some combination products already include 65 mg or more of caffeine for this reason.

Non-Drug Relief You Can Try Right Now

While medication kicks in, environmental changes help reduce the sensory overload that feeds migraine pain. Dim the lights or move to a dark room. Silence your phone. Lie down if you can. These aren’t just “comfort measures.” Migraine involves heightened sensitivity to light, sound, and movement, so removing those inputs reduces the nervous system activity driving your pain.

Cold therapy is one of the most reliable non-drug tools. Applying a cold pack, frozen gel wrap, or even a bag of frozen vegetables to your forehead, temples, or the back of your neck constricts blood vessels and interrupts pain signaling. Research into cooling devices that target the nasal cavity (where a key nerve bundle involved in migraine sits) found that nearly half of participants were completely pain-free at two hours, compared to 16% in the control group. You don’t need a fancy device. A simple cold compress held against your forehead for 15 to 20 minutes works on a similar principle.

Some people find relief with gentle pressure on the temples or the base of the skull, slow deep breathing, or a small amount of ginger tea for nausea. These won’t stop a severe attack on their own, but they can take the edge off while you wait for medication to work.

Prescription Options for Stronger Attacks

If over-the-counter painkillers aren’t cutting it, prescription medications designed specifically for migraine offer a different level of relief. The two main categories work through distinct pathways.

Triptans have been the standard prescription treatment for decades. They activate serotonin receptors in the brain, which constricts dilated blood vessels and blocks pain signals. They come in tablets, nasal sprays, and injections. The injectable form tends to work fastest, often within 15 to 30 minutes. Triptans work best when taken early in an attack, and they’re particularly effective for the headache itself plus the nausea and light sensitivity that come with it.

A newer class of medications targets a protein called CGRP, which plays a central role in migraine pain transmission and the inflammation that sustains an attack. These drugs (known as gepants) block CGRP from binding to its receptors. They’re taken as tablets or dissolving wafers and offer an alternative for people who can’t tolerate triptans or who have cardiovascular conditions that make triptans unsafe. Some gepants can be used both to stop an active migraine and to prevent future ones.

Drug-Free Devices

The FDA has cleared several wearable neuromodulation devices that treat migraine by delivering mild electrical or magnetic pulses to specific nerves. These are worth knowing about if you prefer to limit medication use or need something to combine with drugs for stubborn attacks.

One device worn on the forehead stimulates the trigeminal nerve and has shown effectiveness for both stopping active migraines and preventing future ones. Another device, worn on the upper arm, uses remote electrical stimulation. In real-world use across more than 1,300 devices, about 59% of users achieved pain relief within two hours, and 20% were completely pain-free without needing medication. A handheld magnetic stimulation device works particularly well for migraines that begin with aura. All of these require a prescription but have minimal side effects compared to medications.

Watch for Medication Overuse

This is counterintuitive but critical: the medications that stop your migraines can start causing them if used too often. Medication overuse headache is a real and common problem that turns occasional migraines into a near-daily cycle.

The thresholds are more specific than most people realize. Over-the-counter painkillers like ibuprofen or acetaminophen raise your risk when used more than 15 days per month. Triptans and combination painkillers (those containing caffeine, for example) become problematic at just 10 days per month. Note that it’s days per month, not doses. Taking three ibuprofen in one day counts as one day. If you’re reaching for acute medication more than two or three days a week on a regular basis, that’s a signal to talk to a provider about preventive treatment instead.

When a Headache Needs Emergency Attention

Most migraines, even severe ones, are not dangerous. But certain headache features signal something more serious. A sudden, explosive headache that reaches maximum intensity within seconds (a “thunderclap” headache) has a greater than 40% chance of being caused by serious conditions like a brain bleed and needs immediate evaluation.

Other red flags that warrant urgent attention: headache with fever and a stiff neck, new headache after age 50 with no prior history, headache with vision changes or weakness on one side of the body, headache that progressively worsens over days or weeks despite treatment, or headache following a head injury. A migraine that follows your usual pattern, even if it’s miserable, is generally safe to treat at home. A headache that feels fundamentally different from your normal pattern deserves a closer look.

Putting It All Together

The most effective approach layers several strategies at once. Take your chosen painkiller immediately, at the full recommended dose, with a caffeinated drink. Move to a dark, quiet space. Apply cold to your head or neck. If nausea is a factor, lie still and avoid screens. Most migraine attacks treated this way will improve significantly within one to two hours. If you find yourself unable to manage attacks with over-the-counter options, or if migraines are happening frequently enough that you’re approaching those medication overuse thresholds, prescription-strength treatments can make a dramatic difference.