The fastest way to get rid of a migraine is to take an over-the-counter pain reliever as early as possible, then retreat to a cool, dark, quiet room. Timing matters more than almost anything else: treating at the first sign of pain, when it’s still mild, dramatically improves your odds of becoming pain-free within two hours. Beyond that immediate response, a combination of cold therapy, hydration, and avoiding known triggers can shorten an attack and reduce how often migraines come back.
Take Medication Early
Ibuprofen and acetaminophen both work for migraine, but ibuprofen tends to perform better. In clinical comparisons, ibuprofen reduced moderate-to-severe headache pain within two hours about three times more often than a placebo, while acetaminophen was roughly twice as effective as placebo. If you have both in your medicine cabinet, ibuprofen is the stronger choice for most people.
The single most important factor is when you take it. Data on newer migraine-specific medications illustrates this clearly: patients who treated while pain was still mild achieved pain freedom over 50% of the time, compared to roughly 25% when they waited until pain became moderate or severe. The same principle applies to common pain relievers. Don’t wait to see if the headache “gets bad enough” to justify medication.
One critical caveat: using acute migraine medication on 10 or more days per month for three months or longer can cause medication-overuse headache, a cycle where the pain reliever itself starts triggering headaches. If you’re reaching for pills that often, it’s a sign you need a preventive strategy rather than more acute treatment.
Use Cold and Darkness
Placing an ice pack or cold compress on your forehead, temples, or the back of your neck is one of the simplest ways to reduce migraine pain without medication. Cold narrows blood vessels, slows nerve transmission of pain signals, and reduces local inflammation. It also works through a sensory trick: the cold sensation partially replaces the pain sensation in your brain’s processing queue. Wrap the ice pack in a thin cloth and apply it for 15 to 20 minutes at a time.
A dark, quiet room helps because migraine involves heightened sensitivity in the brain’s sensory pathways. Light and sound don’t just feel unpleasant during a migraine; they actively feed the pain cycle. If you can’t get to a dark room, even closing your eyes and wearing a sleep mask makes a difference.
What’s Happening in Your Brain
During a migraine, a network of nerve fibers that surrounds the blood vessels in the protective lining of your brain becomes activated. Once triggered, these nerve endings release powerful inflammatory signaling molecules that cause the blood vessels to dilate and the surrounding tissue to swell. This creates a feedback loop: inflammation activates more nerve fibers, which release more inflammatory signals, which intensifies the pain.
That feedback loop is why migraines build momentum and become harder to stop the longer they go on. It’s also why early treatment works so much better. Stopping the cascade before it fully ramps up is far easier than trying to shut it down at peak intensity.
Prescription Options for Stronger Attacks
If over-the-counter medications don’t provide enough relief, prescription options fall into two main categories.
Triptans have been the standard prescription treatment for decades. Sumatriptan tablets typically start working in 30 to 60 minutes, while the nasal spray version kicks in within about 15 minutes. Several other triptans are available, and your doctor may try a few to find the best fit since people respond differently to each one.
A newer class of medications called gepants works by blocking the specific inflammatory molecule (called CGRP) that drives the migraine cascade. Four have been approved since 2019, including oral tablets and a nasal spray. In long-term studies, oral gepants provided two-hour pain relief in 65% to 68% of treated attacks. They also carry a lower risk of rebound headache compared to older options, which makes them particularly useful for people who get frequent migraines.
Supplements That Reduce Frequency
Several supplements have enough evidence behind them that headache specialists routinely recommend them for prevention. Vitamin B2 (riboflavin) at 400 milligrams daily and CoQ10 at 300 milligrams daily have both been shown to reduce how often migraines occur. These aren’t quick fixes for an active attack. They take weeks to months of consistent daily use before the effect becomes noticeable, and they work by gradually changing the brain’s susceptibility to migraine triggers.
Magnesium is another commonly recommended supplement, particularly for people whose migraines come with aura (visual disturbances before the headache begins). Many migraine sufferers turn out to have lower-than-optimal magnesium levels, and correcting this can meaningfully lower attack frequency.
Identify and Avoid Your Triggers
Food triggers vary from person to person, but the most commonly validated ones are caffeine (both consuming it and withdrawing from it), chocolate, MSG, processed meats, and dairy products. The U.S. Department of Veterans Affairs recommends following an elimination diet for at least three months to accurately identify which foods are triggering your attacks. This means removing all common triggers at once, then reintroducing them one at a time to see which ones provoke a headache.
Non-food triggers are equally important: irregular sleep, dehydration, skipped meals, alcohol, hormonal changes, and stress are among the most common. Keeping a headache diary for a few weeks, noting what you ate, how you slept, your stress level, and when the migraine started, often reveals patterns you wouldn’t notice otherwise.
Wearable Devices for Drug-Free Relief
Several FDA-cleared devices now offer drug-free migraine treatment through mild electrical or magnetic stimulation applied to the skin. These can be useful if you want to avoid medication, or as an add-on when pills aren’t enough.
- Cefaly stimulates the nerve above your eyebrows with a small electrode worn on the forehead. It has positive trial data for both acute treatment (two-hour pain freedom) and prevention.
- Nerivio is a wireless arm band that uses remote electrical stimulation. In real-world use, about 59% of users experienced two-hour pain relief, and 20% became completely pain-free without any medication in at least half their attacks.
- SAVI Dual delivers single magnetic pulses to the back of the head. A large UK study found it reduced monthly migraine days and cut medication overuse headache from 52% of participants at the start to 8% at 12 months.
These devices are available by prescription, and most cost a few hundred dollars or require a monthly subscription. They don’t work for everyone, but they carry almost no side effects, which makes them worth trying if medication alone isn’t solving the problem.
When a Headache Isn’t Just a Migraine
Most migraines, while miserable, follow a recognizable pattern. Certain features signal something more serious. A headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache) can point to a vascular emergency like a brain aneurysm and needs immediate evaluation. New neurological symptoms that aren’t part of your typical migraine pattern, such as sudden weakness on one side, unusual numbness, or vision changes, also warrant urgent attention.
Other red flags include a brand-new headache pattern starting after age 50, headaches that steadily worsen over weeks, headaches that change with body position (worse lying down or worse standing up), and headaches accompanied by fever or unexplained weight loss. If your headaches have been the same for years and match a consistent migraine pattern, these red flags likely don’t apply to you, but any new or dramatically different headache deserves a closer look.

