What Supplements Help Headaches and Migraines?

Several supplements have solid clinical evidence for reducing headache frequency, particularly migraines. Magnesium, riboflavin (vitamin B2), and coenzyme Q10 are the most studied, with trials showing meaningful reductions in how often headaches strike and how long they last. Most take about three months of consistent use before you’ll notice a difference.

Magnesium

Magnesium is probably the single most well-supported supplement for headache prevention. It works by blocking a specific receptor in the brain that, when overstimulated, triggers a wave of intense electrical activity across brain tissue. This wave, called cortical spreading depression, is believed to cause the aura phase of migraines and may initiate the pain itself. When magnesium levels are low, the brain becomes more susceptible to these electrical surges, and the chemical glutamate (an excitatory brain signal) has a stronger destabilizing effect.

In a randomized, placebo-controlled trial of 81 migraine patients, 600 mg of magnesium citrate daily reduced attack frequency by 41.6%, compared to 15.8% in the placebo group. Magnesium citrate and chelated magnesium are generally better absorbed than magnesium oxide, though oxide is cheaper and still used. A starting dose of 400 mg daily is typical, with some people needing up to 600 mg. Doses above that can cause diarrhea and stomach cramps, which is the main limiting factor.

If you tend to get cold hands and feet, leg cramps, or premenstrual symptoms alongside your headaches, low magnesium is a reasonable suspect. These signs often overlap with headache-prone populations.

Riboflavin (Vitamin B2)

High-dose riboflavin at 400 mg per day is one of the better-performing migraine prevention supplements in clinical trials. In a randomized controlled trial of 55 migraine patients over three months, 59% of those taking riboflavin saw their headache days drop by at least half. Only 15% of the placebo group hit that same threshold. The number needed to treat was 2.3, meaning for roughly every two or three people who try it, one will get a meaningful benefit. That’s a strong result for a supplement.

Riboflavin supports the energy-producing machinery inside cells. Migraine-prone brains appear to have impaired energy metabolism, and boosting riboflavin helps correct that deficit. The most noticeable side effect is bright yellow urine, which is harmless. It’s otherwise very well tolerated, making it a low-risk option to try alongside magnesium.

Coenzyme Q10 (CoQ10)

CoQ10 works along a similar energy pathway as riboflavin, supporting how efficiently your cells produce fuel. Supplementation at 200 to 400 mg per day for three months has been shown to decrease migraine frequency, attack duration, severity, and associated nausea. One trial using 400 mg daily for three months found significant reductions across all those measures. Even at higher doses over longer periods, no serious side effects have been reported.

Some studies have used doses as low as 100 mg daily and still found fewer migraine days per month. If cost is a concern, starting at 100 to 150 mg is reasonable, though 300 to 400 mg appears to be the more effective range based on available trials.

Feverfew

Feverfew is an herbal supplement made from the leaves of a plant in the daisy family. Its active compound reduces inflammation and may prevent blood vessel spasms in the brain. For it to work, the product needs to be standardized to contain at least 0.2% of this active compound (parthenolide). A dose of around 6.25 mg of the extract showed a significant benefit over placebo in patients who had four or more migraines during a baseline period. Traditionally, people chewed two to three fresh leaves daily, though capsules are far more common now.

Feverfew’s evidence is less robust than magnesium or riboflavin, and quality varies widely between products. If you try it, look for a standardized extract from a reputable brand.

Ginger for Acute Relief

Most headache supplements are preventive, meaning they reduce how often headaches occur rather than stopping one in progress. Ginger is the notable exception. In a double-blind trial of 100 patients with acute migraine without aura, ginger powder performed statistically on par with sumatriptan, a commonly prescribed migraine medication. Two hours after taking either treatment, headache severity dropped significantly in both groups. Patient satisfaction was similar, but ginger caused fewer side effects.

The study used roughly 250 mg of ginger powder at the onset of an attack. This won’t replace prescription options for severe migraines, but it’s a practical first step if you’re caught without medication or prefer a lower-risk approach for mild to moderate attacks.

Vitamin D

Vitamin D deficiency has been linked to increased headache frequency in both adults and children, and the connection shows up geographically: headaches are more common at high latitudes in autumn and winter, when sunlight exposure drops. Vitamin D appears to counteract headache triggers through several anti-inflammatory pathways. It shifts the immune system’s balance toward less inflammation, reduces production of pain-promoting compounds like prostaglandins and nitric oxide, and may help prevent the neuroinflammation that underlies both migraines and tension-type headaches.

There aren’t yet established dosing guidelines specifically for headache prevention with vitamin D. But if your levels are low (something a simple blood test can confirm), correcting that deficiency is a reasonable step that may reduce headache burden alongside its many other health benefits.

A Note on Butterbur

Butterbur root extract was once widely recommended for migraine prevention, and some older guidelines still reference it. However, the plant naturally contains pyrrolizidine alkaloids, compounds that can cause serious liver damage. After a commercial butterbur product was approved in Europe for migraine prevention, several cases of liver toxicity emerged. Testing revealed that some preparations still contained detectable levels of these harmful compounds despite processing intended to remove them. Some products were pulled from the market as a result.

If a butterbur product is truly free of pyrrolizidine alkaloids, it has not been specifically linked to liver injury. The problem is that you’re relying on manufacturing quality control for safety, and the consequences of a failure are severe. Given that magnesium, riboflavin, and CoQ10 offer comparable or better evidence without this risk, most experts now steer people away from butterbur.

How Long Before They Work

Three months is the consistent timeline across nearly all headache supplement trials. Riboflavin, CoQ10, and magnesium all showed their benefits after roughly 12 weeks of daily use. This is a prevention strategy, not a quick fix. If you stop after two weeks because nothing changed, you haven’t given it a fair trial. Plan to commit for a full three months before judging whether a supplement is helping.

Keeping a simple headache diary during this period (date, severity from 1 to 10, duration) gives you real data instead of relying on memory, which tends to be unreliable for tracking gradual changes.

Side Effects and Interactions

These supplements are generally well tolerated, but a few things are worth knowing:

  • Magnesium can cause loose stools and abdominal cramping, especially at doses above 400 mg. Splitting the dose across the day helps.
  • Riboflavin turns urine fluorescent yellow. It’s harmless and actually confirms you’re absorbing it.
  • CoQ10 occasionally causes mild stomach upset. Taking it with food usually resolves this.
  • Ginger can thin the blood at high doses, which matters if you’re taking blood thinners or aspirin regularly.
  • Feverfew may interact with blood-thinning medications and should not be used during pregnancy.

The broader concern with any supplement is how it interacts with medications you already take. Certain supplements can change how your body absorbs or processes prescription drugs, making them less effective or amplifying their effects. Vitamin E, ginkgo biloba, and high-dose fish oil, for example, all thin the blood and can compound the effect of anticoagulant medications. If you take prescription drugs for any chronic condition, checking for interactions before adding a supplement is a practical step.

Combining Supplements

Magnesium, riboflavin, and CoQ10 work through different mechanisms, and some clinicians recommend taking all three together for migraine prevention. Several studies have tested combination formulas containing two or three of these ingredients and found reductions in migraine days per month. Because their side effect profiles are mild and don’t overlap in problematic ways, stacking them carries low risk.

A reasonable starting combination would be 400 mg magnesium citrate, 400 mg riboflavin, and 200 to 300 mg CoQ10, all taken daily for at least three months. Adding ginger as a rescue option for acute attacks gives you both a preventive and an acute strategy without prescription medications.