Men's Health

Erectile Dysfunction and Diabetes: Is There A Connection?

Fact Checked

Erectile dysfunction (ED) is common in men with diabetes. Why does high blood sugar cause ED and can erectile dysfunction in diabetics be reversed? Read this article to find out.

Last Updated: 03/31/2022

Written by

Kimberly Wilkes

Medically Reviewed by

Dr. Paul Thompson

According to the Centers for Disease Control and Prevention, more than 37 million people in the United States have type 2 diabetes mellitus and an additional 88 million Americans – one in three – have prediabetes

This is likely an underestimate because roughly 7.3 million adults ages 18 and older have diabetes but don’t know it. The surge in diabetes mellitus over the last few decades is due to the fact so many people are overweight or obese, don’t exercise much, and eat a lot of unhealthy food, all factors that are also linked to erectile dysfunction (ED)

Out of the two types of diabetes (type 1 and type 2), type 2 diabetes mellitus is by far the most common, accounting for 95% of the diabetes cases. Men are nearly twice as likely to develop type 2 diabetes compared with women. This leaves males vulnerable to common risks of type 2 diabetes, including erectile dysfunction. 

But just because you have diabetes doesn’t mean you have to develop ED. There are steps you can take to reduce the risk of developing sexual dysfunction related to diabetes, so that your sex life doesn’t suffer. In a minute we’ll go into exactly what those steps are. First, though, let’s dive deeper into the effect of diabetes on sexual health.  

What Is Diabetes?

There are two kinds of diabetes: type 1 and 2. Each of these diseases affect the way the body processes insulin, a hormone made by the pancreas. Insulin drives blood sugar into the cells so they can use it for energy.  

In type 1 diabetes mellitus, the body makes very little insulin or none at all. Without enough insulin, blood sugar is unable to enter the cells and builds up in the bloodstream, leading to the development of diabetes.

Type 2 diabetes mellitus works a little differently. The body produces insulin, but your cells ignore the message insulin is sending. To compensate, the pancreas starts producing more insulin, sort of like shouting at the cells to get them to respond. This is known as insulin resistance. 

Over time, the pancreas starts making more and more insulin, but ultimately it’s not enough and your blood sugar rises. This leads to prediabetes and possibly metabolic syndrome, a cluster of risk factors for heart disease, including high blood sugar. Eventually prediabetes can lead to full-blown type 2 diabetes.        

How Common is Diabetes and Erectile Dysfunction?

Both type 1 and type 2 diabetes are common risk factors for erectile dysfunction, difficulty achieving or maintaining an erection firm enough for sexual intercourse even after being sexually aroused. According to peer reviewed studies, erectile dysfunction is more common in men with diabetes compared to men without diabetes:

A man doesn’t need to have full-blown diabetes to have erectile dysfunction during sexual intercourse. According to current perspectives in sexual medicine, prediabetes is linked to sexual dysfunction, too, especially in men younger than 50 years old. In prediabetes, blood sugar is higher than normal but not high enough to be considered diabetes, although it’s high enough to be considered one of the risk factors for sexual dysfunction.

In addition, men with diabetes often have metabolic syndrome, and there’s a strong link in peer reviewed studies between metabolic syndrome and developing ED. Weight loss and other strategies to prevent metabolic syndrome can also improve erectile dysfunction. 

You should always check with your doctor to make sure the cause of your erectile dysfunction isn’t related to undiagnosed diabetes. Diabetes is an especially common cause of erectile dysfunction in men under 45, who may not realize they have high blood sugar. Your doctor will do a physical exam and have a lab draw blood to find out if you have diabetes.

Sexual and Urologic Problems in Diabetes and ED

Sexual and urologic problems are common in diabetes. Erectile dysfunction in men with diabetes is linked to an increased risk of urinary incontinence. In men with both erectile dysfunction and diabetes, the incidence of lower urinary tract symptoms like incontinence was 31.9% higher than in diabetics who didn’t have erectile dysfunction. 

Why Does Diabetes Cause Erectile Dysfunction?

The high blood sugar that occurs in diabetes interferes with erectile function in a number of ways. Here are the main reasons why diabetes can cause sexual health problems, especially erectile dysfunction. 

Reduced Blood Flow 

High blood sugar related to diabetes and other diabetes complications cause decreased blood flow to the penis. During sexual stimulation, a chemical called nitric oxide is released from nerves in the penis into the blood vessels. This causes blood to flow into the corpora cavernosa, the pillars of spongy tissue lining the penis shaft. The surge in blood flow to the penis triggers an erection. 

Men with diabetes aren’t able to use nitric oxide as easily or aren’t able to make beneficial amounts of nitric oxide compared with non-diabetics. This leads to damaged blood vessels, reduced blood flow to the penis, and a higher risk of erectile dysfunction. Increasing blood flow in men with diabetes can lead to improved sexual function.

Damaged Blood Vessels

Nitric oxide isn’t only important to blood flow – it’s also critical for healthy blood vessels. Nitric oxide protects the lining of the blood vessels and prevents blood vessel damage. 

Partly by causing problems with nitric oxide, the high blood sugar that occurs in diabetes leads to blood vessel damage that can interfere with erectile function. This blood vessel damage occurs in both large and small blood vessels, including the small blood vessels around the nerves of the penis. When nitric oxide levels are higher, there is increasing blood flow, which leads to improved erectile function.  

Nerve Damage

Diabetic nerve damage caused by high blood sugar – otherwise known as diabetic neuropathy – is one of the risk factors for sexual difficulties, especially erectile dysfunction. 

After sexual stimulation, specific nerves release brain chemicals that trigger increased blood flow to the penis, promoting a strong erection. High blood sugar can interfere with the nerves that stimulate erections, leading to difficulty achieving or maintaining an erection firm enough for sexual performance. 

Talk with your doctor about ways to reduce or prevent nerve damage, which may make it less likely you’ll develop ED.  

Low Testosterone

About 25% to 50% of men with type 2 diabetes have low testosterone, which affects sexual health. Body weight can affect the degree to which men with diabetes develop erectile dysfunction. Current perspectives in sexual medicine indicate that obese diabetic men have the lowest free testosterone levels compared with non-diabetic men and diabetic men who are lean or overweight. 

According to the American Diabetes Association, men with type 2 diabetes, especially if they’re overweight, are about twice as likely to have low levels of testosterone compared to men without diabetes. Testosterone is a hormone involved in stimulating sexual interest and healthy erectile function, so low testosterone can lead to sexual dysfunction in men with diabetes.     

High Blood Pressure and Other Coexisting Conditions in Diabetes

Health conditions that often occur with diabetes can make it even more likely a man will develop erectile dysfunction or that the ED will be more severe. Many people who have diabetes are also obese or overweight, which are linked to erectile dysfunction. 

Other conditions common in diabetes that are also linked to sexual dysfunction include high blood pressure and high cholesterol. Heart disease is common in men with diabetes and erectile dysfunction is a red flag that cardiovascular problems may be on the horizon for diabetics. 

Psychological factors are another reason why diabetes is a risk factor for erectile dysfunction. Depression occurs two to three times more often in people with diabetes. Depression is linked to erectile dysfunction, and medications used to treat depression can cause ED. 

Medications Used In Diabetes

Some medications frequently prescribed for diabetics are linked to erectile dysfunction. Metformin is a drug commonly prescribed for people with diabetes. It lowers testosterone levels, other hormones linked to sex drive, and is associated with erectile dysfunction. On the other hand, the class of drugs called sulfonylureas, used to treat type 2 diabetes, are associated with higher testosterone levels and better sexual function. 

Many men with diabetes are also taking high blood pressure medications, which are associated with sexual dysfunction. The worst offenders are thiazide diuretics, loop diuretics, and beta-blockers, which can reduce blood flow to the penis and lead to difficulties in achieving or maintaining a penile erection. 

Treatment Options for Men with Diabetes and Erectile Dysfunction 

Intensive Lifestyle Changes for Diabetes and Sexual Dysfunction

Sexual medicine research shows that some of the best treatment options for diabetes-related erectile dysfunction are lifestyle changes that lead to reduced body weight and better blood sugar control.

A 2014 study found that men with diabetes who adopt a healthier lifestyle are more likely to reduce not only diabetes symptoms but also erectile dysfunction. These lifestyle changes included getting enough moderate physical activity, eating a healthy diet low in saturated fat, and weight loss, which all contribute to healthy sexual function and an improved sex life. 

Men with diabetes who lose weight may have improved erectile function. Science indicates that one of the best types of diets for men with type-2 diabetes and erectile dysfunction is the Mediterranean diet. This type of diet includes:

• Fish

• Whole grains

• Nuts

• Seeds

• Legumes

• Lots of fruits and vegetables

• Olive oil

• A limited amount of eggs, poultry, cheese, and yogurt. 

Red meat, refined grains, and anything with added sugar are eaten only rarely, if at all. 

Men with type-2 diabetes and erectile dysfunction who followed this type of diet had better blood sugar control, experienced weight loss, and were more sexually active than men who didn’t strictly follow this type of diet. Following the Mediterranean diet was also associated with a reduced risk of developing ED and severe erectile dysfunction.  

Other lifestyle changes that can help diabetics reduce high blood sugar and improve erectile function include:

  • Stop smoking

  • Get enough sleep, which is linked to a lower risk of developing type 2 diabetes and improved health in those who already have diabetes.

  • Stress reduction

  • Reduce alcohol intake

ED Prescription Medications

Lifestyle changes are the first step to improve erectile function in men with diabetes. However, if those changes aren’t working, you can turn to prescription medications designed to improve sexual function. 

If you have type-2 diabetes and sexual dysfunction, visit your doctor to officially diagnose ED. Ask about prescription drugs for erectile dysfunction such as sildenafil, tadalafil, or avanafil. These drugs are safe to use together with diabetes medications, although they are contraindicated in men with severe heart disease or who are taking nitrate medications.   

Testosterone Replacement Therapy

Testosterone replacement therapy may improve sexual dysfunctions in diabetes, since men with this disease often have low testosterone levels. One study found that testosterone replacement therapy given to men with type 2 diabetes who had low testosterone levels improved sexual desire at 6 weeks and erectile function at 30 weeks. 

In men with low testosterone who don’t respond to ED prescription drugs, testosterone replacement often improves the response to the erectile dysfunction medications.    

Erectile Dysfunction and Diabetes: Other Treatment Options

Men with diabetes who find that lifestyle changes don’t work have other options besides ED prescription medications. These include:

Penile Injections

Penile injections are another standard therapy for men with erectile dysfunction. They’re safe to use in diabetics, but are often painful, and it’s inconvenient to stop foreplay to inject your penis with a drug. 

Penis Pumps

Penile vacuum devices, otherwise known as penis pumps, are another option for erectile dysfunction. Penis pumps are often effective in helping men get an erection firm enough for sex. They can be used with other erectile dysfunction treatments. 

Li-ESWT

Urologists also use a device known as low-intensity extracorporeal shock wave therapy (Li-ESWT) on men who have erectile dysfunction. This is a safe and effective type of therapy that doctors have used for over a decade. Li-ESWT uses shockwaves (powerful soundwaves) to fix the leading cause of erectile dysfunction, which is poor blood flow.

Li-ESWT helps in two important ways:

  • Safely dissolves plaque in existing vessels to promote improved blood flow.

  • Encourages the growth of new blood vessels to maximize blood flow.

Penile Implants

Penile implants are medical devices that are surgically implanted and are therefore one of the most invasive treatment options for erectile dysfunction. Doctors usually consider penile implants as a last resort for men with erectile dysfunction. Men with diabetes also have a greater chance of developing an infection after getting a penile implant compared to men without diabetes.    

Frequently Asked Questions about Diabetes and Erectile Dysfunction

How common is erectile dysfunction in diabetes?

Diabetes is one of the most common causes of erectile dysfunction, and erectile dysfunction and diabetes often go hand in hand. It’s estimated that 35% to 75% of men with diabetes also have sexual dysfunction. Diabetic men have three times the risk of developing erectile dysfunction compared to men without diabetes.

How can a diabetic overcome erectile dysfunction?

Intensive lifestyle changes are the first step to managing diabetes and improving sexual function in diabetic men. These health tips include eating a Mediterranean diet, increasing physical activity, reducing or eliminating alcohol intake, and stress reduction. It’s also helpful to get enough sleep, lose weight, and stop smoking. If those lifestyle changes don’t work, other options include erectile dysfunction medications, Li-ESWT, penis pumps, penile injections, and penile implants.     

Is erectile dysfunction that’s caused by diabetes reversible?

It is possible to reverse erectile dysfunction in male diabetics. It’s a good idea to work with your doctor or a certified diabetes educator to manage diabetes and treat high blood sugar. Implementing health tips like eating a Mediterranean style diet, increasing physical activity, reducing stress and alcohol intake, losing weight, and getting more sleep will all go a long way in improving sexual dysfunction related to diabetes. 

Does sildenafil work for diabetics?

The prescription drug sildenafil, which is used to treat erectile dysfunction, is safe and effective in most diabetics, although it’s always best to consult with your healthcare provider to diagnose ED and make sure sildenafil is a safe option for you. A review of eight studies that included a total of 1,172 men with diabetes who also had erectile dysfunction found that sildenafil significantly improved overall sexual performance. 

Sildenafil and other similar ED medications such as tadalafil or vardenafil won’t interact with common diabetes prescription medications, and many men with diabetes use these medications to improve sexual performance. However, men with severe heart disease or men who have high blood pressure who also have problems urinating or lower urinary tract problems should not use erectile dysfunction drugs.

Men who are taking nitrate medications, which are used to treat chest pain (angina), should also never use erectile dysfunction drugs, since this could cause a dangerous decline in blood pressure.