What the current research says about metformin and dementia

Metformin does not cause dementia. Large studies have not found that taking metformin raises your risk of developing dementia, and some research suggests it may lower the risk. However, the picture is more complicated than a straightforward yes or no — the evidence is mixed, and researchers are still working to understand the relationship.

Metformin is a medication used to treat type 2 diabetes by helping your body control blood sugar. Millions of people take it safely for years. The confusion often arises because diabetes itself is linked to a higher dementia risk, and some older studies raised questions about metformin that later research did not confirm.

If you take metformin and are worried about dementia risk, the evidence does not support stopping the medication based on dementia concerns alone. The real risk — uncontrolled diabetes — is a stronger threat to brain health than the medication used to treat it.

Key Takeaways

  • Multiple large studies have found no link between metformin use and dementia, and some found a lower dementia risk in people taking it.
  • Type 2 diabetes itself raises dementia risk, so controlling blood sugar with metformin may actually protect your brain.
  • Older concerns about metformin and cognitive problems came from small studies or misinterpretations and have not held up in larger research.
  • If you take metformin, talk to your doctor before making any changes, but dementia risk is not a medical reason to stop.

Why metformin was questioned in the first place

The concern about metformin started with older research that suggested the medication might affect vitamin B12 levels. Vitamin B12 deficiency can cause cognitive problems and nerve damage, so researchers wondered whether long-term metformin use might indirectly harm the brain by lowering B12.

Some early studies also reported that people taking metformin had slightly lower cognitive test scores than those not taking it. These findings were small and did not control for other factors — like whether the people taking metformin had worse diabetes control to begin with, or were older on average. When larger, better-designed studies looked at the same question, they did not find the same pattern.

The B12 concern was real enough that doctors now monitor B12 levels in people on long-term metformin, especially those over 50. But B12 deficiency is preventable and treatable, and the risk does not outweigh the benefit of controlling diabetes.

What large studies have actually found

A major study published in 2021 followed over 400,000 people with type 2 diabetes for up to 20 years. Researchers found that people taking metformin had a lower risk of dementia than those not taking it — even after accounting for differences in age, weight, and other health conditions. This was not a small effect: the metformin group had roughly 20% lower dementia risk.

Other large studies have reached similar conclusions. A 2019 analysis that combined data from multiple studies found no increased dementia risk from metformin use. In fact, the trend pointed slightly in the opposite direction — people taking metformin tended to have lower dementia rates, though the difference was small enough that it could be due to chance.

These studies do not prove that metformin prevents dementia. It is possible that people who take metformin regularly are also more likely to see doctors, take other medications that protect the brain, or have better overall health habits. But the evidence is clear: metformin does not raise dementia risk.

How diabetes itself affects brain health

Type 2 diabetes is a stronger risk factor for dementia than metformin use. High blood sugar over many years damages blood vessels in the brain, reduces blood flow, and increases inflammation. People with type 2 diabetes have roughly 1.5 times the dementia risk of people without diabetes, even after accounting for age and other factors.

Controlling blood sugar — whether with metformin, other medications, or lifestyle changes — reduces this risk. The goal is to keep blood sugar stable and prevent the long-term damage that leads to cognitive decline. Stopping metformin because of dementia concerns would actually increase your dementia risk by allowing blood sugar to rise.

If you have type 2 diabetes and are concerned about dementia, the most important steps are keeping blood sugar controlled, staying physically active, managing blood pressure, and staying mentally engaged. Metformin is a tool that helps with the first of these.

What you should do if you take metformin

Do not stop taking metformin based on dementia risk. The evidence does not support it, and stopping could harm your health by allowing blood sugar to rise. If you have concerns about any medication you take, talk to your doctor before making changes.

If you are on long-term metformin, ask your doctor to check your vitamin B12 level during routine blood work. B12 deficiency is uncommon but preventable, and your doctor can recommend a supplement if needed. This is standard care for people on metformin for many years.

If you are worried about dementia risk in general, focus on the factors you can control: keeping blood sugar stable, exercising regularly, eating a diet rich in vegetables and fish, staying socially connected, and keeping your mind active. These steps matter more than any single medication.

When to talk to your doctor about metformin

You should discuss metformin with your doctor if you experience side effects like nausea, diarrhea, or stomach pain — these are common reasons people stop taking it, and your doctor may adjust the dose or suggest alternatives. You should also mention it if you develop kidney problems, because metformin requires healthy kidney function.

If you have a family history of dementia and take metformin, this is worth mentioning at your next appointment, but not because metformin raises your risk. Your doctor can review your overall dementia risk factors and make sure you are taking steps to protect your brain health — which may include continuing metformin to control blood sugar.

If you read something online that worries you about metformin and dementia, bring it to your appointment. Your doctor can explain what the research actually shows and help you understand whether the concern applies to you.

Frequently Asked Questions

Does metformin cause memory loss?

No. Large studies have not found that metformin causes memory loss or cognitive decline. Some early, smaller studies suggested a link, but better-designed research did not confirm it. If you are experiencing memory problems, talk to your doctor — the cause may be unrelated to metformin, or it may be related to blood sugar control itself.

Can metformin prevent dementia?

The research suggests metformin may be associated with lower dementia risk, but it does not prevent dementia outright. Controlling blood sugar helps protect your brain, and metformin is one tool for doing that. Exercise, diet, sleep, and staying mentally active matter just as much or more.

What if I have been taking metformin for 10 years and I am worried about dementia?

Long-term metformin use is safe. Ask your doctor to check your vitamin B12 level if this has not been done recently. Focus on dementia prevention steps that work for everyone: staying physically active, eating well, managing stress, and staying socially and mentally engaged.

Is there a safer diabetes medication if I am concerned about dementia?

Metformin is considered one of the safest diabetes medications available. Other medications work differently and have different side effects, but none have been shown to lower dementia risk more than metformin. If you want to switch medications, the decision should be based on side effects, cost, or how well it controls your blood sugar — not dementia risk.

Should I take metformin to prevent dementia if I do not have diabetes?

No. Metformin is a prescription medication for people with type 2 diabetes or prediabetes. Taking it without a medical reason is not recommended and is not how the medication is used. If you are concerned about dementia risk, talk to your doctor about prevention strategies that are proven to work for everyone.