Migraines go away through a combination of medication, environmental changes, and time. For most people, an oral migraine-specific medication can provide meaningful relief within two hours, while simple steps like retreating to a dark, quiet room help reduce the sensory overload that fuels the pain. The best approach depends on how frequent your migraines are and how severe each attack gets.
What Stops a Migraine Once It Starts
The fastest way to end a migraine is to take medication early, ideally within the first 30 minutes of symptoms. Two main classes of drugs are designed specifically for this. The first, triptans, work by narrowing blood vessels and calming the release of inflammatory signals along the trigeminal nerve, which is the main pain pathway in migraine. The second, a newer class sometimes called gepants, block a protein called CGRP that plays a central role in triggering migraine pain and inflammation. Both are prescription medications, and your choice between them often depends on your cardiovascular health, since triptans affect blood vessels in ways that gepants do not.
Over-the-counter pain relievers like ibuprofen and aspirin also work for mild to moderate attacks, especially when taken early. Combining a standard pain reliever with caffeine can boost absorption and effectiveness. Nasal spray and injectable forms of migraine drugs tend to work faster than pills, which matters when nausea slows your stomach’s ability to process oral medication.
Why a Dark Room Actually Helps
Retreating to a dark room isn’t just a comfort measure. Photophobia, or extreme light sensitivity, is one of the most common migraine symptoms, and light exposure actively worsens pain during an attack. Blue-tinted light is typically the most painful wavelength, and it’s also the color most commonly emitted by computer and smartphone screens. Dimming your environment removes a direct source of sensory irritation, which can lower your overall pain level and help medication work more effectively.
Cold compresses on the forehead or neck, staying hydrated, and sleeping when possible all support recovery during an attack. These don’t eliminate the underlying migraine process, but they reduce the burden on your nervous system while your body or medication does the rest.
The Medication Overuse Trap
One of the most counterintuitive things about migraine treatment is that using pain relief too often can make your headaches worse. This is called medication overuse headache, and it develops when you take acute treatments on too many days per month for three or more consecutive months. The thresholds are specific: for triptans, using them more than 10 days per month creates risk. For simple pain relievers like ibuprofen, aspirin, or acetaminophen, the limit is 15 days per month.
If you find yourself reaching for medication that frequently, it’s a sign your migraines need a preventive strategy rather than repeated rescue treatment. Cutting back on acute medication is the first step to breaking the cycle, though headaches often temporarily worsen before they improve.
Preventive Treatments That Reduce Attacks
If migraines happen four or more times a month, preventive treatment can reduce how often they occur and how severe each one gets. The most significant recent advance is injectable medications that block CGRP, the same pain-signaling protein targeted by gepants. In studies of patients with chronic, treatment-resistant migraine, monthly migraine days dropped by 8 to 12 days from baseline. Between 37% and 57% of patients experienced at least a 50% reduction in migraine days, and 14% to 33% saw a 75% or greater reduction. These are monthly injections or infusions, and results tend to build over the first few months of use.
Older preventive options include certain blood pressure medications, antidepressants, and anti-seizure drugs that were found to reduce migraine frequency as a secondary benefit. They’re less targeted than CGRP blockers but remain effective for many people, particularly when cost or insurance coverage is a factor.
Supplements With Evidence Behind Them
Two supplements have the strongest track record for migraine prevention. Riboflavin (vitamin B2) at 400 mg per day has been shown to reduce migraine frequency in clinical studies, likely by improving energy metabolism in brain cells. Magnesium is the other well-supported option, since many people with migraines have lower magnesium levels, and supplementation can help stabilize nerve signaling. Both take several weeks of consistent use before benefits appear, so they’re prevention tools, not rescue treatments.
Coenzyme Q10 is a third supplement with some supporting evidence. All three have minimal side effects compared to prescription preventives, making them reasonable options to try before or alongside medication.
Non-Drug Devices for Pain Relief
Several wearable neuromodulation devices are now available for at-home migraine treatment. These work by delivering mild electrical stimulation to specific nerves, triggering the body’s built-in pain modulation system. Remote electrical neuromodulation, which stimulates nerves in the upper arm, has been studied in nearly 10,000 migraine patients. It showed meaningful pain reduction and functional improvement at 24 hours, along with fewer days needing migraine medication. However, in controlled trials comparing it to a placebo device, the difference was not always statistically significant, suggesting that expectations may play a role in the benefit.
These devices work best as part of a broader treatment plan rather than a standalone solution, particularly for people trying to reduce their reliance on medication.
Lifestyle Factors That Keep Migraines Away
The migraine brain is unusually sensitive to changes in routine. Irregular sleep, skipped meals, dehydration, and sudden shifts in stress levels are among the most reliable triggers. Keeping a consistent sleep schedule, eating at regular intervals, and staying hydrated won’t eliminate migraines on their own, but they remove the low-hanging triggers that set off attacks in a brain already primed for them.
Regular aerobic exercise, roughly 30 to 40 minutes three times a week, has been shown to reduce migraine frequency comparably to some preventive medications. The effect builds over weeks, so it requires consistency. Stress management techniques like progressive muscle relaxation and biofeedback also have clinical support. The common thread is stability: the fewer surprises your nervous system encounters day to day, the fewer migraines it generates.

