This article explains why erectile dysfunction is more common in men with diabetes and outlines safe, evidence-based approaches to diagnosis and treatment.
Written by Dr. Albana Greca, MD, MMedSc, Family Physician
Medically reviewed by Dr. Ruden Cakoni, MD, Endocrinologist
Last reviewed: July 2026
Erectile dysfunction, or ED, means repeated difficulty getting or keeping an erection firm enough for satisfactory sexual activity. It is common in men with diabetes because diabetes can affect blood vessels, nerves, hormones, mood, and cardiovascular health.
ED is treatable. The safest approach is to identify contributing causes, review cardiovascular risk and medicines, improve diabetes and lifestyle factors, and choose a proven treatment such as a PDE5 inhibitor, counseling, a vacuum erection device, penile injection therapy, or an implant. Never combine ED pills with nitrate medicines, recreational nitrites known as “poppers,” or riociguat.
The word impotence is still used by some people, but erectile dysfunction is the preferred medical term. ED is not a personal failure, and it is not an unavoidable part of aging or diabetes.
More than half of men with diabetes may experience ED, and diabetes substantially increases the risk compared with men who do not have diabetes. The problem may appear earlier and can be more difficult to treat when diabetes, blood pressure, cholesterol, smoking, kidney disease, neuropathy, obesity, or cardiovascular disease are not well controlled.
An erection requires healthy blood flow, intact nerve signals, adequate hormone levels, sexual stimulation, and psychological comfort. Diabetes can interfere with several of these processes at the same time.
Long-term hyperglycemia, high blood pressure, abnormal cholesterol, smoking, and inflammation can damage the lining of blood vessels and reduce nitric-oxide signaling. The penile arteries may then be unable to increase blood flow sufficiently during arousal.
Diabetes can damage the nerves that coordinate erection and genital sensation. ED may occur alongside bladder symptoms, reduced awareness of bladder filling, retrograde ejaculation, digestive problems, or dizziness from diabetic autonomic neuropathy.
Men with type 2 diabetes, obesity, or older age are more likely to have low testosterone. Low testosterone more often causes reduced sexual desire, fewer morning erections, fatigue, reduced muscle mass, or low mood. It may contribute to ED, but it is not the cause in every case.
ED can be worsened by certain antidepressants, antipsychotics, blood-pressure medicines, opioids, antiandrogens, prostate treatments, and other drugs. Do not stop a prescribed medicine independently; alternatives or dose changes may be possible.
Other possible contributors include:
ED may involve:
Sweating, a fast heart rate, or a slow heart rate are not typical defining symptoms of ED. They may indicate anxiety, hypoglycemia, autonomic neuropathy, heart disease, or another problem and should be assessed separately.
Yes. ED and cardiovascular disease share many of the same risk factors, including diabetes, high blood pressure, abnormal cholesterol, smoking, obesity, and inactivity. In some men, vascular ED appears before symptoms of coronary artery disease.
This does not mean every man with ED has blocked heart arteries. It does mean the appointment should include a cardiovascular review, especially when ED is new, occurs without an obvious psychological trigger, or is accompanied by chest discomfort, shortness of breath, reduced exercise tolerance, leg pain with walking, or multiple cardiovascular risk factors.
A diagnosis usually begins with a private medical, sexual, and mental-health history. The clinician may ask about:
A short questionnaire such as the Sexual Health Inventory for Men, also called SHIM, may help measure severity and response to treatment.
The examination may include blood pressure, pulse, body composition, cardiovascular and neurological signs, genital examination, testicular size, penile curvature or plaque, and features suggesting low testosterone.
Tests are selected for the individual and may include:
Testosterone deficiency should not be diagnosed from one random afternoon test. Guidelines recommend symptoms or signs plus consistently low morning testosterone measurements.
Most men do not need nocturnal erection testing, penile Doppler ultrasound, injection testing, or nerve studies at the first visit. These may be useful when the cause is unclear, vascular surgery is being considered, there is penile deformity, trauma, or poor response to treatment.
Treatment should match the cause, cardiovascular safety, medication list, patient preference, relationship goals, cost, dexterity, and tolerance for procedures. Many men use more than one approach.
Better long-term glucose management may help prevent further nerve and blood-vessel damage and may improve erections in some men. It cannot always reverse established damage, so specific ED treatment may still be needed.
Important steps include:
See our guide to preventing diabetes complications and our current blood glucose guide.
Phosphodiesterase type 5 inhibitors are usually the first oral treatment offered when they are safe. Options include:
These medicines improve the natural blood-flow response to sexual stimulation. They do not create sexual desire and do not automatically cause an erection without arousal.
Men with diabetes may have a lower response rate than men without diabetes, but many still benefit. These medicines can be used long term when clinically appropriate; the old claim that they are unsuitable for prolonged use because of side effects was incorrect.
PDE5 inhibitors must not be combined with:
The combination can cause a dangerous fall in blood pressure. Additional caution may be needed with alpha-blockers, very low blood pressure, unstable heart disease, severe liver or kidney impairment, or medicines that change PDE5-inhibitor levels.
Testosterone should be considered only when a man has compatible symptoms and consistently low testosterone confirmed with appropriate testing. It may improve desire and sometimes enhance the response to ED treatment in men with true hypogonadism.
Testosterone is not a general performance enhancer, not a treatment for normal aging, and not recommended as a way to improve glucose control in type 2 diabetes. It may reduce sperm production and is generally avoided when near-term fertility is desired.
Before treatment, clinicians review prostate risk, blood count, sleep apnea, heart failure, recent cardiovascular events, fertility plans, and other contraindications. Ongoing monitoring is required.
Anxiety, depression, performance fear, trauma, relationship conflict, or stress may contribute even when diabetes has caused physical damage. Counseling, cognitive behavioral therapy, or sex therapy can be used alone or with medical treatment.
Including a partner can be helpful when the patient agrees, but the patient should not feel pressured to disclose information or involve another person.
A vacuum device uses a cylinder and pump to draw blood into the penis. A tension ring is then placed at the base to maintain the erection.
It avoids systemic drug interactions and can work when oral medicines do not. Possible disadvantages include bruising, numbness, discomfort, a cool-feeling penis, and interrupted spontaneity. The constriction ring should not remain in place longer than instructed.
Alprostadil and combination injection medicines can create an erection by increasing penile blood flow. A clinician must teach the correct dose, sterile technique, injection location, and emergency plan.
Possible complications include pain, bleeding, fibrosis, and priapism. Urethral alprostadil is another option but may be less effective for some men.
An inflatable or malleable penile prosthesis can provide reliable erections when other treatments fail or when the patient prefers a definitive surgical option. Satisfaction rates are high after appropriate counseling.
Risks include infection, bleeding, device malfunction, erosion, and the need for future revision. Diabetes and poor glucose control may increase surgical infection risk, so preoperative optimization matters.
Penile arterial surgery is rarely used. It is most likely to help carefully selected younger men with a specific arterial injury. It is generally not effective for widespread diabetes-related vascular disease.
Low-intensity shockwave therapy may produce a modest benefit in some men with vasculogenic ED, but protocols and long-term outcomes remain uncertain. Platelet-rich plasma and stem-cell injections remain investigational and should not be marketed as proven cures.
No herb, vitamin, mineral, or amino-acid supplement has been proven to reverse diabetic nerve or blood-vessel damage or replace established ED treatment.
Yohimbe supplements are not recommended. Product content may be inaccurate, evidence of benefit is inadequate, and yohimbine has been linked with irregular heart rhythm, blood-pressure problems, heart attack, anxiety, and seizures.
Some studies report small improvements with particular products or combinations, but evidence is inconsistent and products are not standardized. L-arginine may lower blood pressure and can interact with nitrates, antihypertensive medicines, and other products. Vitamin D or magnesium should be replaced when deficient rather than promoted as universal ED treatment.
Be especially cautious with products sold online as “herbal Viagra” or “male enhancement.” They may contain undeclared prescription-drug ingredients or unsafe doses.
Review all supplements with a clinician or pharmacist and read our diabetes vitamins and supplement safety guide.
No single food treats ED. A Mediterranean-style or other heart-healthy eating pattern may support blood vessels, glucose, blood pressure, cholesterol, and body weight.
Prioritize:
Regular aerobic activity and resistance exercise can improve vascular health and may improve erectile function. Strength training does not reliably “boost testosterone” enough to treat true hypogonadism, but it supports muscle, fitness, weight management, and insulin sensitivity.
Our diabetic meal-planning guide provides a practical plate method.
Not every case can be prevented, but risk can often be reduced by:
ED can occasionally be the reason undiagnosed diabetes or cardiovascular disease is discovered. Persistent symptoms should not be self-treated without a medical review.
You can begin with a direct sentence such as:
“I have been having difficulty getting or maintaining an erection for the past ___ months. Could we review whether diabetes, circulation, nerves, hormones, or my medicines might be contributing?”
Before the appointment, write down:
The discussion is confidential. ED is a common medical issue, and clinicians are trained to address it without judgment.
When a man with diabetes reports ED, I do not assume the cause is only blood sugar. I review cardiovascular symptoms, blood pressure, cholesterol, kidney function, neuropathy, medicines, sleep, mood, sexual desire, and testosterone symptoms. The goal is not simply to prescribe a pill—it is to identify health risks and choose a treatment that is both effective and safe.
It may improve erections and can reduce further nerve and blood-vessel injury, especially when ED is early. Established neuropathy or vascular disease may not fully reverse, so additional treatment is often needed.
No single PDE5 inhibitor is best for everyone. Choice depends on duration of action, timing, food effects, side effects, kidney and liver function, other medicines, cost, and preference.
Common reasons include incorrect timing, a heavy meal, too little stimulation, inadequate dose, only one attempt, severe vascular or nerve damage, low testosterone, anxiety, or an unsafe interaction that limits dosing. Ask for a structured review rather than increasing the dose independently.
Daily low-dose tadalafil is an option for selected men and may also help urinary symptoms. It still must not be combined with nitrates or riociguat, and kidney, liver, blood-pressure, and interaction risks need review.
No. Low testosterone is one possible contributor, particularly with low desire or fewer morning erections, but vascular disease, neuropathy, medicines, and psychological factors are more common.
PDE5 inhibitors are generally safe for many men with stable cardiovascular disease, but sexual activity and treatment must be assessed when heart disease is unstable. The dangerous interaction is combining a PDE5 inhibitor with nitrates or related nitric-oxide donors.
Not always. Many men improve with risk-factor treatment, correct use of oral medicine, counseling, devices, injections, or an implant. Response depends on the underlying causes and severity.
Educational safety note: This page does not diagnose ED or prescribe an ED medicine, testosterone, injection, supplement, or device. Cardiovascular health, current medicines, nitrate use, blood pressure, kidney and liver function, and personal treatment goals must be reviewed individually.