Cerebral Torque®
  1. Prevention
Guide

Metformin and Migraine, What the Evidence Shows

Metformin, the diabetes drug, shows up on lists of off-label migraine preventives. There are no clinical trials in migraine yet. Here is what the insulin resistance link, claims data and lab studies suggest.

On this pageJump to a section9
  1. At a Glance
  2. What Metformin Is
  3. What the Studies Show
  4. How Specialists Use It
  5. How It's Usually Dosed
  6. Side Effects
  7. Safety Points
  8. Related Reading
  9. References
The short version

Metformin is a first-line diabetes drug that lowers insulin resistance. It appears on some lists of off-label migraine preventives, but no randomized trial has tested it for migraine. The case rests on three things. People with migraine more often have insulin resistance, a large Japanese claims study linked metformin use to fewer acute migraine prescriptions, and a mouse study showed it calmed pain pathways. Some clinicians use it off-label in people with migraine and insulin resistance, prediabetes or PMOS (formerly PCOS), where it treats the metabolic problem and may help attacks.

At a Glance

Approved forType 2 diabetes
Migraine evidenceNo clinical trials, observational and lab data only
2026 AAN/AHS ratingNot rated
Main cautionsStomach upset, low B12 with long use, avoided with severe kidney disease

What Metformin Is

Metformin lowers the amount of sugar the liver releases and makes muscle and fat respond better to insulin. It has been used for more than 60 years, is cheap, and rarely causes low blood sugar on its own. It's also used for prediabetes and PMOS, and it often leads to modest weight loss.

What the Studies Show

  • The insulin link. In an Italian study of 84 people with migraine, 25 with other headaches and 26 healthy controls, people with migraine had higher glucose and insulin levels during a glucose tolerance test, pointing to insulin resistance.1 The same headache center later reported that diet changes and an insulin-sensitizing supplement helped migraine in people with insulin resistance.4
  • Claims data. A 2025 Japanese study combined genetic data with a large insurance database. People taking metformin filled about 19 percent fewer acute migraine prescriptions than expected.2 Studies like this can't rule out other explanations, such as people on metformin also losing weight or seeing doctors more often.
  • Lab work. In a mouse model of chronic migraine, metformin reduced pain sensitivity and lowered CGRP and inflammatory signals in the brainstem pain center.3 Mouse results often don't carry over to people.

How strong is the evidence? Observational and lab data, no placebo-controlled migraine trials yet.

How Specialists Use It

  • People with migraine plus prediabetes, type 2 diabetes or insulin resistance
  • Women with migraine and PMOS (formerly PCOS)
  • People with obesity working on weight and metabolic health

In those cases metformin has its own good reasons, and any migraine benefit would be a bonus. Newer metabolic drugs are also being studied, see GLP-1 Drugs and Migraine. For proven preventives, see Which Migraine Preventives Work Best.

How It's Usually Dosed

There are no migraine doses because there are no migraine trials. For diabetes and prediabetes it's usually started at 500 mg once a day with food and raised slowly to 1000 to 2000 mg a day. The extended-release form is gentler on the stomach. Your clinician decides whether it fits and at what dose.

Side Effects

Nausea, diarrhea, gas and a metallic taste are common at the start and usually settle. Long-term use can lower vitamin B12, so periodic checks make sense, especially if you notice numbness or tingling in the feet.

Safety Points

  • Kidneys. Metformin is avoided with severe kidney disease and paused around some contrast scans, because of a rare but serious condition called lactic acidosis.
  • Alcohol. Heavy drinking raises the lactic acidosis risk.
  • Fasting and illness. If you're vomiting or can't eat, ask your clinician whether to hold it for a day or two.
Important Medical Disclaimer

This article is for education and is not medical advice. Talk with your own clinician before starting, stopping or changing any treatment, and get urgent care for a sudden severe headache, new weakness, numbness, confusion, vision loss or trouble speaking.

References

  1. Cavestro C, Rosatello A, Micca G, et al. Insulin metabolism is altered in migraineurs. A new pathogenic mechanism for migraine? Headache. 2007;47(10):1436-1442. doi:10.1111/j.1526-4610.2007.00719.x
  2. Inokuchi S, Tajima T. Integrated analysis for drug repositioning in migraine using genetic evidence and claims database. Front Big Data. 2025;8:1677167. doi:10.3389/fdata.2025.1677167
  3. Fan Z, Su D, Li ZC, Sun S, Ge Z. Metformin attenuates central sensitization by regulating neuroinflammation through the TREM2-SYK signaling pathway in a mouse model of chronic migraine. J Neuroinflammation. 2024;21(1):318. doi:10.1186/s12974-024-03313-2
  4. Cavestro C. Metabolic dysfunction and dietary interventions in migraine management. The role of insulin resistance and neuroinflammation. A narrative and scoping review. Brain Sci. 2025;15(5):474. doi:10.3390/brainsci15050474

Get studies like this by email

Every Friday, the week's migraine studies and news explained in plain language. No ads.

CROWN cooling roller“This is my favorite migraine roll-on that I’ve tried, and I’ve tried quite a few.” Verified Amazon buyerSee it on Amazon
Unraveling Migraine“The ultimate blueprint to navigate migraine care.” Olivia Begasse de Dhaem, MD, headache specialistSee it on Amazon
Cerebral Torque
About the author

Cerebral Torque

Founder of Cerebral Torque and author of Unraveling Migraine, with a medical background. Trained in computational and cellular neuroscience, with research using Hodgkin-Huxley modeling and clamp electrophysiology to study how neurons respond to rhythmic input. Now focused on migraine medicine and education, and has produced CME for clinicians on hormone therapy, migraine, and HRT delivery.

More about the author Editorial standards

This article is for education and is not medical advice. Talk with your own clinician before starting, stopping or changing any treatment.

Enter to openArrow keys to moveEsc to close

You've got this.

This screen is dimmed on purpose. A few things that help most people right now.

  1. 1
    Treat it early. Take your usual acute medicine now, at the dose your clinician gave you. Waiting usually makes it work less well.
  2. 2
    Cut the input. Dim the lights, lower the sound, step away from screens if you can.
  3. 3
    Cold and water. Something cold on the forehead or the back of the neck, and a few sips of water.
  4. 4
    Slow your breathing. Five slow minutes can take the edge off the stress response.

Want something to rest with? A dark screen with a dim green glow and slow, quiet music for 3 hours. Turn your brightness all the way down, or just listen with your eyes closed.

Get emergency care now if this is the worst headache of your life, came on like a thunderclap, or comes with new weakness, numbness, trouble speaking, confusion, fever with a stiff neck, or follows a head injury.