Back to BlogPrevention

Diabetes and Metformin's Effect on Erectile Function: Separating the Two

Diabetes is one of the strongest risk factors for ED — but the relationship between metformin itself and erectile function is more nuanced than people assume.

June 2026 10 min readManCore Editorial
Share:
ME

Written by

ManCore Editorial

ManCore Editorial

Medically Reviewed by

Dr. Daniel Reeves, PhD

PhD, Clinical Nutrition — Men's Urological Health

Last medically reviewed: June 2026

ManCore does not sell supplements. This article is for educational purposes only and does not constitute medical advice. Full disclaimer →

In This Article

  1. 1.Is It Diabetes or Metformin Causing My ED? Short Answer
  2. 2.How Diabetes Causes ED
  3. 3.What About Metformin Specifically?
  4. 4.What Actually Helps
  5. 5.Why Diabetic Neuropathy Adds a Second Mechanism Beyond Vascular Damage
  6. 6.Tracking Blood Sugar and Erectile Function
  7. 7.The Bottom Line

Diabetes is one of the strongest independent risk factors for erectile dysfunction, with prevalence estimates of ED in diabetic men ranging from 35-75% depending on diabetes duration and control — driven primarily by vascular damage and nerve damage from chronically elevated blood sugar, not by diabetes medications themselves [1].

Is It Diabetes or Metformin Causing My ED? Short Answer

It's almost certainly diabetes itself, not metformin — this is one of the more common and understandable mix-ups in men's health, since metformin and ED symptoms often coincide in time simply because both are downstream of the same underlying diabetes diagnosis. Wang et al.'s systematic review specifically examined metformin's effect on erectile function and found no consistent evidence of a clinically meaningful negative effect; if anything, by improving insulin sensitivity and metabolic control, metformin may indirectly support erectile function rather than harm it. The actual driver of diabetic ED — chronic high blood sugar's damage to the small blood vessels and nerves responsible for erection, per Malavige and Levy's review — operates regardless of which specific diabetes medication a man takes, or even if he takes medication at all. A man newly diagnosed with diabetes and started on metformin who then notices ED developing is much more likely experiencing the diabetes catching up to his vascular and nerve health than a metformin side effect, which matters practically because it means stopping metformin wouldn't be expected to fix the ED, while better blood sugar control genuinely can help.

Free Assessment

What's Your Prostate Risk Score?

Take ManCore's free 6-question risk assessment. Get your personal risk score, see which supplements are most relevant to your profile, and get a clear action plan — in under 2 minutes.

How Diabetes Causes ED

  • Chronic high blood sugar damages the small blood vessels and nerves responsible for the erectile response — the same microvascular damage that affects the eyes and kidneys in diabetes affects penile blood flow
  • Endothelial dysfunction (impaired nitric oxide signaling, the same pathway erectile dysfunction medications target) is common in diabetic men and directly impairs erection quality [1]
  • ED often appears 10-15 years earlier in diabetic men than in the general population, and is sometimes the first noticeable symptom of underlying vascular disease

Because ED frequently precedes a formal cardiovascular diagnosis in diabetic men, new-onset erectile dysfunction in a diabetic patient should prompt cardiovascular risk assessment, not just an ED-specific conversation.

What About Metformin Specifically?

  • A systematic review found metformin itself does not appear to independently worsen erectile function, and some studies suggest improved insulin sensitivity from metformin use may support erectile function indirectly via better metabolic control [2]
  • Some early observational data raised concern about metformin and testosterone, but the systematic review found no consistent evidence of a clinically meaningful negative effect on erectile function specifically [2]
  • The ED risk in diabetic men patients is overwhelmingly explained by diabetes duration, glycemic control, and cardiovascular risk factors — not by the specific medication used to manage blood sugar

What Actually Helps

Tight glycemic control, addressing cardiovascular risk factors (blood pressure, cholesterol, weight), and not delaying ED treatment out of embarrassment all matter more than worrying about a specific diabetes medication — PDE5 inhibitors work in diabetic men too, though sometimes at a somewhat lower response rate than in non-diabetic men due to the underlying vascular damage.

Why Diabetic Neuropathy Adds a Second Mechanism Beyond Vascular Damage

Diabetic ED is often described purely in vascular terms, but the neuropathy (nerve damage) component deserves equal attention, since it operates through a genuinely separate mechanism that can make treatment more complex. Chronic high blood sugar damages peripheral nerves throughout the body, including the autonomic nerves controlling the erectile reflex, independent of and in addition to the vascular damage discussed above. This is why some diabetic men experience ED that responds less completely to PDE5 inhibitors than would be expected from vascular damage alone — the medication amplifies nitric oxide signaling triggered by nerve stimulation, but if the nerve signal itself is significantly impaired, there's less signal for the medication to amplify. This dual mechanism (vascular plus neural) is part of why diabetic ED sometimes requires a broader treatment approach than PDE5 inhibitors alone, including vacuum devices or injection therapy for men whose neuropathy is significant, and why tight glycemic control matters for slowing both forms of damage simultaneously rather than addressing only one.

Tracking Blood Sugar and Erectile Function

Logging blood sugar trends alongside erectile function on the mancore dashboard helps identify whether glycemic control changes correspond to changes in sexual function over time — useful data to bring to a doctor's appointment.

Frequently Asked Questions

Does metformin lower testosterone?

The evidence doesn't support a consistent, clinically meaningful testosterone-lowering effect from metformin — early concerns haven't held up well under systematic review [2].

Can ED be reversed if I get my diabetes under control?

Partial improvement is possible, especially if ED is relatively recent and vascular damage hasn't become advanced. Long-standing, poorly controlled diabetes makes full reversal less likely, which is why early control matters.

Does insulin therapy have a different effect on erectile function than oral diabetes medications?

Insulin itself doesn't have a well-documented direct negative effect on erectile function, and the need for insulin therapy typically reflects more advanced or harder-to-control diabetes rather than the insulin causing ED on its own — meaning any ED seen in insulin-treated men more likely reflects the greater cumulative disease severity that prompted insulin use in the first place, not the insulin itself. As with metformin, the underlying diabetes and its duration and control remain the primary drivers of ED risk regardless of which specific treatment regimen a man is on.

Can weight loss and exercise reduce ED risk in diabetic men independent of blood sugar control?

Yes — weight loss and regular exercise improve cardiovascular health, endothelial function, and insulin sensitivity through multiple overlapping pathways beyond blood sugar numbers alone, meaning these lifestyle interventions provide erectile-function benefit even in a diabetic man whose A1C is already reasonably controlled. This is one more reason lifestyle management remains a core part of diabetic ED prevention and treatment alongside medication, rather than something that becomes unnecessary once blood sugar is under control through medication alone.

Should men newly diagnosed with diabetes get a baseline erectile function assessment?

This is a reasonable, underused practice — establishing a baseline IIEF-5 or similar erectile function score at diagnosis gives a concrete reference point for tracking whether function changes over subsequent years as diabetes management continues, rather than only noticing a problem once it's already become significant. Bringing this up proactively with a primary care doctor or endocrinologist at diagnosis, rather than waiting for symptoms to prompt the conversation, allows earlier detection of any decline and earlier intervention with either better glycemic control or direct ED treatment.

Do PDE5 inhibitors work as well in diabetic men?

They work, but response rates are somewhat lower than in non-diabetic men due to underlying vascular and nerve damage. Many diabetic men still get good results, and combining glycemic control with medication tends to work better than either alone.

Does A1C level correlate with ED severity in diabetic men?

Generally yes — higher, poorly controlled A1C over time correlates with greater cumulative vascular and neural damage, and by extension more severe erectile dysfunction, though individual variation exists and some men with well-controlled A1C still develop significant ED from damage accumulated during an earlier period of poor control. This is one more reason A1C tracking matters for diabetic men beyond the standard diabetes-management reasons — it's a useful proxy for the cumulative damage burden most directly relevant to erectile function risk.

Should diabetic men with new ED be screened for testosterone deficiency too?

Yes — diabetes and low testosterone frequently coexist, since insulin resistance and low testosterone share overlapping mechanisms and each can worsen the other, similar to the metabolic syndrome connection discussed elsewhere. A diabetic man with new or worsening ED should have testosterone included in his evaluation alongside the standard diabetes-related vascular and neurological workup, since a coexisting hormonal deficiency, if present, is a separately treatable contributor that shouldn't be overlooked simply because diabetes provides an obvious explanation on its own.

Do other diabetes medications besides metformin have a clearer link to sexual side effects?

Some do, though the picture varies by medication class — certain older diabetes medications have documented associations with weight gain, which can indirectly worsen ED through the visceral-fat-and-testosterone pathway discussed elsewhere, while some newer medication classes have shown neutral or even favorable metabolic effects that may indirectly support vascular health. This is a reasonable topic to discuss with a prescribing doctor if a man suspects a specific medication, rather than metformin, might be contributing to his symptoms, since the diabetes medication landscape is broad and individual drugs within it differ meaningfully in their metabolic side-effect profiles.

The Bottom Line

Diabetes itself, not metformin, is the driver of diabetic erectile dysfunction. Glycemic control and cardiovascular risk management are the real levers, and new ED in a diabetic man deserves a broader cardiovascular check.

Medical Disclaimer: This article is for educational purposes only and does not constitute medical advice, diagnosis, or treatment. Always consult a qualified healthcare professional before making changes to your health routine. Full disclaimer →

References

  1. 1.Malavige LS, Levy JC. Erectile dysfunction in diabetes mellitus. J Sex Med. 2009;6(5):1232-47. [PubMed ↗]
  2. 2.Wang DD, et al. Metformin and erectile function: a systematic review. Andrology. 2021;9(6):1734-1742. [PubMed ↗]

Put the Knowledge to Work

Track your supplements, log your symptoms, and see your health score improve — free.

Get Free Access →