How to Get Rid of a Migraine Headache: What Works

The fastest way to get rid of a migraine is to treat it early, ideally within the first 60 minutes of symptoms. A combination of the right pain reliever, a dark and quiet room, hydration, and cold therapy can significantly shorten an attack. The longer you wait, the harder a migraine becomes to stop, so acting quickly matters more than which specific remedy you choose.

Start With the Right Pain Reliever

Over-the-counter anti-inflammatory drugs are the first line of defense. Ibuprofen at 400 mg or naproxen sodium at 550 mg works well for mild to moderate migraines. Aspirin at 1,000 mg (two extra-strength tablets) is another solid option. These work best when taken at the very first sign of pain, before the headache has time to build. If you wait until the pain is severe, these medications are far less effective because your stomach slows down during a migraine, delaying absorption.

Combination products that pair acetaminophen, aspirin, and caffeine (like Excedrin Migraine) can work faster than any single ingredient alone. The caffeine helps constrict blood vessels and speeds absorption of the other ingredients. If you don’t have a combination product, washing down your pain reliever with a small cup of coffee or tea can provide a similar boost.

One important limit to know: using any acute pain reliever on more than 10 to 15 days per month for three or more months can cause medication-overuse headache, where the treatment itself starts triggering more headaches. NSAIDs like ibuprofen hit that threshold at 15 days per month. If you’re reaching for pain relievers that often, it’s a sign you need a preventive strategy rather than repeated acute treatment.

Prescription Options for Moderate to Severe Attacks

If over-the-counter medications don’t touch your migraines, prescription triptans are the most widely used step up. They work by targeting serotonin receptors to constrict dilated blood vessels and block pain signals in the trigeminal nerve system. Triptans come in tablets, nasal sprays, and injections for when nausea makes swallowing a pill difficult. They’re most effective when taken early in the attack.

A newer class of prescription medication works on the same serotonin system but targets a different receptor, which means it doesn’t constrict blood vessels the way triptans do. This makes it an option for people who can’t take triptans due to heart disease or uncontrolled blood pressure. The trade-off is significant drowsiness and dizziness. The FDA label warns against driving for at least eight hours after a dose, and clinical testing found that people who were impaired often didn’t realize they were too impaired to drive safely.

Another prescription class blocks a protein called CGRP, which spikes during migraine attacks and drives the inflammatory pain cascade. These are available as pills taken during an attack and tend to cause fewer side effects than triptans, though they may not work as quickly for everyone.

Control Your Environment Immediately

Light sensitivity during a migraine isn’t just discomfort. Brain imaging studies show that the visual cortex becomes hyperexcitable during an attack, and light exposure creates a feedback loop where the headache and sensitivity to light amplify each other. The threshold for triggering this cycle varies widely from person to person, but even moderately lit rooms can push past it during an active migraine.

Get into a dark, quiet room as soon as possible. Close the blinds, turn off screens, and minimize sound. If you can’t get to a dark room, wrap-around sunglasses with a green or FL-41 tint block the wavelengths most likely to worsen migraine pain. Noise-canceling headphones or earplugs help with sound sensitivity. Lying down and closing your eyes reduces sensory input across the board and lets your nervous system calm down.

Cold Therapy and Pressure

Applying cold to your forehead, temples, or the back of your neck is one of the simplest and most consistently helpful home remedies. Cold narrows blood vessels and slows nerve conduction in the area, which can reduce throbbing pain. A cold pack wrapped in a thin cloth, applied for 15 to 20 minutes at a time, is the standard approach. Gel packs that conform to the shape of your head tend to work better than rigid ice packs.

Some people find that applying firm pressure to the temples or the base of the skull provides temporary relief. This likely works through a gate-control mechanism, where the pressure signals compete with pain signals traveling to the brain.

Hydrate, but Don’t Overdo It

Dehydration is a well-established migraine trigger, and even mild fluid deficit can worsen an attack that’s already underway. The American Migraine Foundation notes that sometimes an attack can be stopped simply by drinking a glass of water. Aim for steady intake rather than chugging a large amount at once, which can cause nausea on an already sensitive stomach. If you’ve been sweating, vomiting, or haven’t eaten, a drink with electrolytes helps more than plain water.

The general daily recommendation is about two liters of fluid, but during an active migraine you may need more, especially if nausea or vomiting has caused fluid loss.

Ginger for Nausea and Pain

Ginger has surprisingly strong evidence behind it for migraine relief. In a clinical trial comparing 250 mg of powdered ginger to 50 mg of sumatriptan (one of the most common prescription migraine drugs), both groups saw nearly identical pain reduction at two hours. The ginger group scored a 4.6-point drop on a 10-point pain scale, compared to 4.7 points for sumatriptan. Ginger also directly targets the nausea that accompanies many migraines.

You can take ginger as a supplement capsule, brew fresh ginger root into tea, or chew on crystallized ginger. The clinical dose was 250 mg of concentrated powder, roughly equivalent to a quarter teaspoon. It’s inexpensive, widely available, and safe to combine with most pain relievers.

Neuromodulation Devices

FDA-cleared wearable devices offer a drug-free option for stopping migraines. One device worn on the upper arm delivers mild electrical pulses for 45 minutes per treatment. You control the intensity through a phone app, dialing up the stimulation to the strongest level that isn’t painful. In clinical trials, 66.7% of users experienced pain reduction at two hours, compared to 39.4% using a placebo device. About one in five users achieved complete pain freedom at two hours.

These devices work best when activated within 60 minutes of migraine onset. Other FDA-cleared options stimulate nerves on the forehead or the vagus nerve in the neck. None of them work as fast as medication for most people, but they’re useful if you get frequent migraines and want to avoid hitting the medication-overuse threshold.

What to Do When Nothing Is Working

If your migraine hasn’t responded to treatment after several hours and the pain is severe, urgent care or an emergency room can offer intravenous options that bypass your sluggish digestive system entirely. IV fluids alone help if dehydration is a factor. Magnesium sulfate delivered intravenously at 500 to 1,000 mg over an hour is a common ER treatment, particularly effective for people whose magnesium levels run low. Anti-nausea medications given by IV also have direct anti-migraine effects beyond just settling your stomach.

Warning Signs That Need Emergency Attention

Most migraines, even terrible ones, are not dangerous. But certain features signal something more serious. A sudden-onset headache that hits maximum intensity within seconds (a “thunderclap” headache) can indicate a brain bleed and needs immediate evaluation. Other red flags include a headache accompanied by fever, new neurological symptoms like weakness on one side, numbness, vision changes, or confusion that isn’t part of your typical migraine pattern.

A first-ever severe headache after age 50, headaches that are clearly getting worse over weeks, or a new headache during or shortly after pregnancy also warrant urgent medical evaluation. The key question is whether the headache feels different from your usual pattern. A migraine that behaves like your other migraines, even a bad one, is far less concerning than a headache with new or unfamiliar features.