Does Metformin Cause Restless Legs Syndrome?

No published clinical trial or pharmacovigilance signal has identified metformin as a direct cause of restless legs syndrome. The connection people suspect usually traces back to type 2 diabetes itself, which independently raises the risk of RLS through several pathways, and to nutritional changes metformin can trigger over time. Sorting out what is actually happening in your legs, and why, matters because the treatments for RLS and for other conditions that feel similar are quite different.

Type 2 Diabetes and RLS Share Deep Roots

If you take metformin, you almost certainly have type 2 diabetes or prediabetes, and diabetes itself is strongly linked to restless legs syndrome. Studies that screen people with type 2 diabetes for RLS using standardized diagnostic criteria consistently find higher rates than in the general population. One study that carefully excluded mimicking conditions like leg cramps, arthritis, and venous stasis still found a meaningful prevalence of RLS among people with type 2 diabetes.1PubMed. Restless legs syndrome in type 2 diabetes mellitus Case reports have described patients with longstanding diabetes who spent years with nocturnal awakenings and leg discomfort before anyone thought to evaluate them for RLS.2PubMed Central. Diabetic neuropathy and restless legs syndrome: can a known chronic condition slow down our diagnostic way of thinking?

The reason for the overlap is partly metabolic. Chronic high blood sugar damages small blood vessels and nerves over time. It also disrupts iron metabolism and can alter dopamine signaling in the brain, both of which are central to how RLS develops. When someone who has been diabetic for a decade starts noticing uncomfortable sensations in their legs at night, the culprit is far more likely to be the disease than the drug used to treat it.

The Vitamin B12 Question

One indirect pathway deserves attention because it is real, well-documented, and fixable. Metformin reduces absorption of vitamin B12 in the gut. This effect is dose-dependent and builds over years. For most people it is modest, but in a subset of long-term users it can push B12 levels low enough to cause problems, particularly nerve-related symptoms like tingling, numbness, and burning in the feet and lower legs.

B12 deficiency on its own does not cause RLS, but it can cause or worsen peripheral neuropathy, and the symptoms of peripheral neuropathy overlap heavily with RLS. Both produce unpleasant sensations in the legs, both tend to be worse in the evening and at night, and both disrupt sleep. A person experiencing neuropathy from low B12 might search for “restless legs” because the description matches what they feel, even though the underlying mechanism is different. The distinction matters because RLS responds to dopamine-related treatments, while B12-deficiency neuropathy responds to B12 supplementation.

If you have been on metformin for several years and develop new or worsening leg symptoms, asking your doctor to check your B12 level is a straightforward first step. Many clinicians now monitor B12 routinely in long-term metformin users.

Metformin and Dopamine: An Unexpected Direction

RLS is fundamentally a disorder of dopamine signaling in the brain. The most effective treatments for moderate to severe RLS work by boosting dopamine activity. If metformin were directly causing RLS, you would expect it to interfere with dopamine in some way. The animal research tells a different story.

In a mouse model designed to damage dopamine-producing neurons, metformin actually protected those cells. Mice treated with metformin retained more dopamine-producing neurons, maintained greater cell volume, and showed less inflammatory damage in the brain region responsible for dopamine production compared to untreated mice. Metformin also prevented a shift in dopamine turnover that typically signals neuronal stress.3PubMed Central. Metformin Prevents Nigrostriatal Dopamine Degeneration Independent of AMPK Activation in Dopamine Neurons These findings come from a Parkinson’s disease research context, not an RLS study, so they should not be over-interpreted. But they do suggest that metformin’s effects on dopamine neurons lean protective rather than harmful.

Animal evidence for peripheral nerves points the same way. In diabetic rats, metformin treatment preserved the density of nerve fibers in the skin and maintained healthier nerve structure, including axon diameter and myelin thickness, compared to untreated diabetic animals. The nerve-sparing effect was comparable to alpha lipoic acid, a supplement commonly recommended for diabetic neuropathy.4Diabetes & Metabolism Journal. Metformin Preserves Peripheral Nerve Damage with Comparable Effects to Alpha Lipoic Acid in Streptozotocin/High-Fat Diet Induced Diabetic Rats If metformin is preserving nerves that diabetes would otherwise destroy, it is harder to argue the drug is simultaneously generating new nerve-related symptoms like RLS.

None of this proves metformin cannot contribute to RLS in specific individuals. Drug responses are personal, and what happens in mice does not always translate to humans. But the overall direction of the evidence argues against metformin being a meaningful RLS trigger.

When Neuropathy Gets Mistaken for RLS

One of the most practical things to understand about this topic is that diabetic peripheral neuropathy and RLS can look almost identical from the outside, but they are different conditions with different treatments. Both cause leg discomfort, both peak at night, and both interfere with sleep. Clinicians have noted that RLS may be misdiagnosed as diabetic peripheral neuropathy in people with diabetes, simply because neuropathy is so expected in that population that no one looks further.5Journal of Clinical and Translational Endocrinology: Case Reports. Concurrent diagnoses of treatment-induced neuropathy of diabetes and restless leg syndrome

The key distinguishing feature is the urge to move. RLS produces a compelling need to move the legs to relieve discomfort. That urge is the hallmark. Pure peripheral neuropathy causes pain, tingling, or numbness, but not a restless, crawling need to get up and walk around. If moving your legs brings immediate, temporary relief and staying still makes the sensation build, RLS is the more likely explanation. If your legs hurt or burn regardless of whether you move them, neuropathy is the more likely culprit.

The diagnostic process for RLS in someone with diabetes requires carefully ruling out conditions that mimic it. Proper evaluation excludes leg cramps, arthritis, venous problems, positional discomfort, and habitual foot tapping before making an RLS diagnosis.1PubMed. Restless legs syndrome in type 2 diabetes mellitus If your doctor diagnosed your leg symptoms without specifically asking about the urge to move and without ruling out these alternatives, it may be worth revisiting the conversation.

The two conditions can also coexist, which complicates things further. A person with diabetes-related neuropathy and genuine RLS on top of it will have a harder time describing their symptoms clearly, and a clinician may treat only the neuropathy while the RLS goes unaddressed.

Other Risk Factors That Stack Up

People who take metformin tend to share a constellation of characteristics that independently raise RLS risk, which makes it easy to blame the drug when the real explanation is the company it keeps.

Research on RLS in older adults has found that those with the condition tend to be younger within the older-adult range, more likely to be female, have a higher body mass index, take more medications, and carry more chronic illnesses. In one study, after accounting for all of these factors simultaneously, age was the only one that remained independently associated with RLS.6European Journal of Geriatrics and Gerontology. A Prevalent Sleep Disorder in Older Adults: Restless Legs Syndrome (Is There Any Association with Other Geriatric Syndromes?) That finding is worth pausing over. People on metformin are typically managing multiple conditions, often taking several medications, and frequently dealing with the metabolic and vascular consequences of years of elevated blood sugar. Each of those factors contributes to RLS risk in its own right.

Iron deficiency is one of the most well-established contributors to RLS, and it is more common in people with diabetes and kidney problems than in the general population. Even iron stores that appear “normal” on a standard blood test can be too low for the brain’s dopamine system to function well. Sleep specialists often aim for a ferritin level above 75 when evaluating RLS, which is well above the lab’s standard cutoff for deficiency. Checking ferritin is one of the most useful early steps if you suspect RLS.

Polypharmacy itself is a risk factor. People on metformin often take other medications for blood pressure, cholesterol, depression, or pain. Some of those drugs, particularly certain antidepressants, antihistamines, and anti-nausea medications, have been associated with RLS in pharmacovigilance analyses. A large study using two decades of FDA adverse-event reports catalogued the 50 drugs most commonly linked to RLS and used multiple signal-detection methods to assess whether the associations were likely real.7PubMed Central. Exploring the Top 50 Drugs Associated with Restless Legs Syndrome Based on the FDA Data from 2004 to 2024 When someone on multiple medications develops RLS, untangling which drug, if any, is responsible requires careful evaluation of the timing and the full medication list, not just the one that treats the most obvious condition.

Iron, Ferritin, and the Brain

Because iron plays such a central role in RLS, and because people with diabetes are at elevated risk for disrupted iron metabolism, this connection deserves its own attention. The brain uses iron to produce dopamine. When brain iron stores drop, dopamine signaling becomes erratic, and the result is the uncomfortable restlessness that defines RLS.

What makes this tricky is that blood iron levels do not perfectly reflect brain iron levels. A person can have a ferritin reading in the “normal” range on a lab report and still have insufficient iron in the central nervous system. This is why sleep medicine guidelines use a higher ferritin threshold when evaluating RLS. If your ferritin is below 75, oral iron supplementation is a standard first-line approach, and many people see meaningful improvement in their symptoms over the course of several weeks.

Diabetes can affect iron metabolism through chronic inflammation, which tends to trap iron in storage rather than making it available for use. Kidney impairment, which is common in long-standing diabetes, adds another layer of iron disruption. Neither of these pathways has anything to do with metformin specifically, but they are extremely common in the same people who take it.

Practical Steps If Your Legs Won’t Stay Still

If you take metformin and are experiencing symptoms that sound like RLS, here is what is most worth doing:

  • Get your B12 checked: After several years on metformin, low B12 is common enough that most guidelines now recommend periodic monitoring. If your level is low or borderline, supplementation is cheap and effective.
  • Get your ferritin checked: Not just a basic iron panel, but ferritin specifically. If it is below 75, talk to your doctor about supplementation. This single intervention resolves or improves RLS in a substantial number of people.
  • Review your full medication list: Antidepressants in the SSRI and SNRI classes, certain antihistamines, and some anti-nausea drugs are better-established RLS triggers than metformin. If you started a new medication around the time symptoms appeared, that is worth flagging.
  • Describe the urge to move: When you talk to your doctor, emphasize whether moving your legs provides temporary relief and whether the sensation builds when you try to stay still. This is the feature that separates RLS from neuropathy, cramps, and other mimics.
  • Do not stop metformin without guidance: Given the protective effects metformin appears to have on both dopamine neurons and peripheral nerves, stopping it without a clear reason could do more harm than good. Uncontrolled blood sugar accelerates nerve damage, which worsens the very symptoms you are trying to address.

Why the Confusion Persists

The persistent belief that metformin might cause RLS is understandable when you consider the circumstances. People start metformin because they have diabetes. Diabetes causes neuropathy, disrupts iron handling, and is independently associated with higher RLS rates. Metformin gradually lowers B12 levels, which can cause sensations that feel like RLS. The people who take metformin tend to be older, take multiple medications, and carry extra weight, all of which raise RLS risk on their own. When symptoms appear, metformin is the most visible daily reminder of the disease, and it becomes an easy target.

The research that exists on metformin’s neurological effects points consistently in the protective direction. It shields dopamine neurons in animal models of neurodegeneration.3PubMed Central. Metformin Prevents Nigrostriatal Dopamine Degeneration Independent of AMPK Activation in Dopamine Neurons It preserves peripheral nerve fibers in diabetic animals.4Diabetes & Metabolism Journal. Metformin Preserves Peripheral Nerve Damage with Comparable Effects to Alpha Lipoic Acid in Streptozotocin/High-Fat Diet Induced Diabetic Rats No large-scale human study has flagged it as a significant RLS trigger. The absence of evidence is not proof of safety, of course, but given how widely metformin is prescribed and how actively researchers have studied drug-associated RLS, the silence is meaningful. If metformin were a common culprit, it would have shown up by now.

The more productive question for most people is not “is metformin doing this to me” but “what is diabetes, plus my other medications, plus my nutritional status, doing to my legs at night?” That framing opens the door to solutions. Checking B12 and ferritin, reviewing other medications, getting a proper RLS evaluation that distinguishes it from neuropathy: these are the steps that actually move the needle. Stopping metformin, in the absence of a specific reason to do so, is unlikely to be one of them.

RLS Diagnosis in People With Diabetes Requires Extra Care

Diagnosing RLS in someone with diabetes is harder than diagnosing it in an otherwise healthy person, and this difficulty contributes to both over-diagnosis and under-diagnosis. Diabetes brings its own collection of leg-related complaints: neuropathic pain, cramps, poor circulation, swelling. Clinicians who see these patients daily may default to explaining everything as “your diabetes” without screening for RLS, which means genuine RLS goes untreated for years.2PubMed Central. Diabetic neuropathy and restless legs syndrome: can a known chronic condition slow down our diagnostic way of thinking? On the flip side, someone reading about RLS online might self-diagnose based on symptom overlap with neuropathy and then blame metformin without a formal evaluation.

The standard diagnostic criteria for RLS require that several conditions be met: an urge to move the legs accompanied by uncomfortable sensations, the urge beginning or worsening during rest, partial or complete relief with movement, and worsening in the evening or at night. All four must be present, and the symptoms cannot be better explained by another condition. In someone with diabetes, that last criterion demands active investigation. A clinician needs to specifically test for and exclude neuropathy, venous insufficiency, cramps, and other common diabetic complications before an RLS diagnosis is secure.1PubMed. Restless legs syndrome in type 2 diabetes mellitus If that workup has not happened, the diagnosis remains uncertain, and blaming any particular medication is premature.