Several treatments work well for migraine headaches, ranging from over-the-counter pain relievers and prescription medications to supplements, dietary changes, and environmental adjustments. What works best depends on how often your migraines strike and how severe they are. People with occasional migraines usually do well with treatments that stop an attack in progress, while those with frequent episodes (four or more per month) often benefit from daily or monthly preventive therapy.
Medications That Stop an Attack
For mild to moderate migraines, standard anti-inflammatory pain relievers like ibuprofen or naproxen are a reasonable first step, especially when taken early in an attack. The sooner you treat, the better these work. Combining an anti-inflammatory with caffeine (found in some over-the-counter migraine formulas) can boost absorption and effectiveness.
For moderate to severe attacks, prescription options include triptans and a newer class of drugs called gepants. Triptans have been the go-to for decades. Oral sumatriptan, the most commonly prescribed, eliminates pain within two hours in roughly 32% of patients, which translates to a meaningful benefit over placebo of about 20%. Gepants are newer and work by blocking a protein called CGRP that plays a central role in migraine pain. Their pain-relief rates are somewhat lower than triptans (about a 10% advantage over placebo), but they don’t carry the same cardiovascular restrictions, making them a good option if you have heart disease risk factors or don’t tolerate triptans well. Some gepants also double as preventive treatments when taken regularly.
The Medication Overuse Trap
One critical thing to know: using acute migraine medications too frequently can paradoxically make headaches worse. This is called medication overuse headache, and it’s diagnosed when you’re using pain relievers on 10 to 15 or more days per month (depending on the type) for longer than three months. The headaches become more frequent, sometimes daily, and only improve once you reduce the medication. If you find yourself reaching for migraine relief more than two or three days a week, that’s a signal to talk with your doctor about switching to a preventive strategy.
Preventive Treatments for Frequent Migraines
If migraines are disrupting your life regularly, preventive treatments aim to reduce how often attacks occur and how intense they are. The biggest recent advance involves drugs that target CGRP, the same pain-signaling protein mentioned above. Since 2018, several injectable antibody treatments have become available for migraine prevention. These are given as self-administered injections, either monthly or quarterly depending on the specific medication. Many people see a meaningful drop in monthly migraine days within the first one to three months.
For chronic migraine (15 or more headache days per month), botulinum toxin injections are another well-established option. The standard protocol involves 155 units spread across 31 injection sites on the head, neck, and shoulders, with the option to add up to 40 more units in areas where pain concentrates. Treatments are repeated every 12 weeks. It can take two or three rounds before the full benefit kicks in, so patience matters.
Older preventive medications, including certain blood pressure drugs, antidepressants, and anti-seizure medications, are still widely used. They’re less targeted than the newer options but cost significantly less, which makes them a practical starting point for many people.
Supplements Worth Trying
Three supplements have enough evidence behind them to be recommended by headache specialists for migraine prevention:
- Magnesium oxide: 400 to 500 milligrams daily. Magnesium helps regulate nerve signaling, and people with migraines tend to have lower levels. It’s one of the most accessible options, though the oxide form can cause loose stools at higher doses.
- Riboflavin (vitamin B2): 400 milligrams daily. This is a much higher dose than what you’d get from a multivitamin. Riboflavin supports energy production in brain cells, and it can take two to three months of consistent use before you notice a difference.
- CoQ10: 300 milligrams daily. Research has found this dose can reduce migraine frequency in adults. Like riboflavin, it works on cellular energy metabolism and requires consistent daily use.
These supplements are generally well tolerated and can be used alongside prescription medications. They’re not fast fixes. Give each one at least eight to twelve weeks before judging whether it’s helping.
Diet and Meal Timing
Certain foods contain chemicals known to trigger migraines in susceptible people, including tyramine (found in aged cheeses and cured meats), MSG, aspartame, and sulfites. An elimination diet, where you remove these common triggers for several weeks and then reintroduce them one at a time, can help you identify personal triggers. A small trial of 30 migraine patients found that tailoring diet based on individual sensitivities did reduce headache frequency.
That said, meal timing may matter just as much as meal content. Skipping meals or going long stretches without eating drops blood sugar, which is a reliable migraine trigger for many people. Eating at consistent intervals throughout the day is one of the simplest and most underrated migraine prevention strategies.
What Helps During an Attack at Home
Beyond medication, a few environmental strategies can ease a migraine once it starts. Resting in a cool, dark, quiet room is the classic approach, and it works because migraine amplifies sensitivity to light, sound, and temperature. An ice pack or cold compress on the forehead or the back of the neck can dull pain by constricting blood vessels and numbing the area.
Green light exposure is an emerging approach with promising early results. Research from Harvard Medical School found that a narrow band of green light reduced migraine pain intensity by about 20% and was far better tolerated than other colors of light during an attack. Special green-light lamps designed for migraine sufferers are now commercially available, though they vary in quality.
Staying hydrated matters too. Dehydration is both a trigger and an aggravator. If you’re in the middle of a severe attack and can’t keep fluids down due to nausea, that’s one reason emergency rooms sometimes administer IV fluids as part of a broader migraine treatment that may also include anti-inflammatory medications, anti-nausea drugs, and magnesium.
Building a Migraine Management Plan
The most effective approach for most people isn’t a single remedy but a layered strategy. That typically means identifying and avoiding your personal triggers, using a reliable acute treatment when attacks break through, and adding a preventive treatment if attacks are frequent. Keeping a headache diary, even a simple one tracking dates, possible triggers, and pain severity, makes it far easier to spot patterns and figure out what’s actually working. Many people cycle through several treatments before finding the right combination, which is normal and expected given how individual migraine biology can be.

