Skip to main content
Erectile Dysfunction

The Top 11 Causes of Erectile Dysfunction (ED)

Christina Aungst, PharmDFarzon A. Nahvi, MD
Written by Christina Aungst, PharmD | Reviewed by Farzon A. Nahvi, MD
Updated on April 8, 2025
Featuring Joseph Alukal, MDReviewed by Mera Goodman, MD, FAAP | September 30, 2024

Key takeaways:

  • Erectile dysfunction (ED) is a condition where you’re unable to reach or continue an erection during sexual intercourse.

  • ED can be caused by a variety of things including aging and chronic medical conditions like diabetes and high blood pressure.

  • There are many ways to treat ED. Treatment options can include prescription medication, supplements, or procedures to help create or sustain an erection.

Featuring Joseph Alukal, MDReviewed by Mera Goodman, MD, FAAP | September 30, 2024

One of the most frequent questions people have when they experience any form of erectile dysfunction (ED) is: “Why is this happening to me?” And the next question is: “How can I fix it?” 

There are many reasons why ED happens. And the good news is there are treatments that can help with your symptoms.

What is erectile dysfunction?

Erectile dysfunction, commonly referred to as ED, is the inability to reach or maintain an erection needed for satisfying sexual performance. If it has ever happened to you, you’re not alone: Up to 50 million men have ED in the U.S. 

Although ED can affect anyone after puberty, it’s most common in people over 40 years old. And it becomes even more likely each decade after that.

11 erectile dysfunction causes

Here, we’ll go over the top causes of ED. Read on to learn more.

1. Age

Just like with many health conditions, ED becomes more common as you age. If you’re in your 40s, you have a 40% chance of experiencing some form of ED. This risk goes up about 10% with every decade of life.

2. High body fat

Carrying extra weight, especially around the waist, can cause ED. It does this by raising your risk for high cholesterol, high blood pressure, and Type 2 diabetes. Having high body fat also lowers your testosterone level. And this can impact your sex drive and ability to maintain an erection. 

If you think high body fat may be causing your ED, connect with your healthcare team. They can help you understand how body fat may be playing a role in your ED and recommend treatment options. They may suggest changes to your physical activity and diet as well as medications

3. Diabetes

ED is one of the complications that you may have with diabetes. Because diabetes can damage the blood vessels in the body, this can lead to decreased blood flow for erections too. The longer you have diabetes, the more likely you are to experience ED.

GoodRx icon

ED caused by diabetes isn’t always a reversible problem. But by keeping your blood sugar levels in the normal range, you can decrease your risk for ED. 

4. Heart disease, high blood pressure, and high cholesterol

Experts are now understanding more about how ED and heart health are linked. Conditions like high blood pressure and high cholesterol can cause ED. Research has shown that some people with ED are often diagnosed with heart disease less than 5 years later. 

If you’re experiencing ED and have had no other health issues, you may want a healthcare professional to take a look at your heart. You might be able to prevent the development of heart disease by catching the warning signs early.

5. Smoking

Smoking and other tobacco use is connected to many health problems, including ED. The use of tobacco decreases blood flow throughout your entire body. This includes the blood vessels in the penis. If the blood supply is decreased there, it becomes much more difficult for you to achieve and maintain an erection. 

The effects of smoking may be reversible though. If you stop smoking, you’ll likely notice that your erections improve. Quitting smoking can be hard, but it’s never too late to try. Even if you’ve tried quitting before, help is always on hand. 

6. Medication side effects

Medication side effects cause at least 1 in 4 cases of ED. Many different medications can contribute to ED, including: 

This isn’t a complete list. If you’re having difficulty with erections and recently started a new medication, ask your pharmacist or primary care provider if the two could be connected.

7. Mental health conditions and performance anxiety

Your brain plays a big role in your ability to achieve and sustain an erection. If you’re under stress or experiencing difficulties with your mental health, your brain can have trouble releasing the hormones responsible for causing an erection. 

Examples of these stressors include things like:

Often, there are both mental and physical health issues at play with ED. There’s support available to help manage these issues. A healthcare professional can help you figure out the best approach. When it comes to managing ED symptoms, your options can include:

  • Counseling

  • Psychotherapy

  • Treatments for stress, anxiety, and depression

8. Prostate inflammation and prostate cancer

Prostate issues can lead to ED. The prostate is responsible for creating one of the components of semen. Long-term inflammation of the prostate or prostate cancer can cause painful ejaculation and difficulty achieving an erection. 

Benign prostatic hyperplasia (BPH), or an enlarged prostate, doesn’t cause ED. But the medicines used to treat it can. Be sure to talk with a healthcare professional if you have known prostate issues and are experiencing ED.

9. Sexually transmitted infections

Sexually transmitted infections (STIs) can lead to ED. Certain STIs can cause infections in the prostate gland, which can lead to symptoms of ED. These infections include:

Most of the time, if you treat both the prostate infection and take steps to manage STIs, any issues with ED will resolve as well. If a prostate infection is left untreated, though, it can cause permanent damage. So it’s best to see a healthcare professional about it sooner rather than later.

10. Low testosterone

About 40% of men over 45 years old have lower-than-normal levels of testosterone, also known as “low T.” In addition to ED, low T can cause many different types of men’s health conditions including: 

  • Hair loss

  • Insomnia

  • Low libido (sex drive)

  • Depressed mood

The lower the level of testosterone, the more symptoms you may experience. This is very easy to identify with a simple blood test. And it can be managed with medications. Once testosterone levels are brought back to normal, most people will notice their ED symptoms get better or go away altogether.

11. Nerve problems

Conditions that affect your nerves or blood vessels can interfere with the communication between your penis and brain. These include:

ED is often permanent when the cause is neurological.

Quiz: Is it erectile dysfunction?

Medication treatments for erectile dysfunction

Phosphodiesterase-5 (PDE5) inhibitors are safe and effective medications used to treat many causes of ED. Common options include: 

Good to know: While these medications are in the same medication class, they work slightly differently. So it may take some time to find the best option for you. Connect with your healthcare team to find the right approach for you. 

Other remedies to treat erectile dysfunction

There’s a big market for “male-enhancement” products that claim to improve your sex life and erections. Despite the eye-catching claims, the FDA doesn’t regulate nonprescription treatments. That’s why the FDA issued a warning about many of them.

Depending on what’s causing your ED, some options are available. These can be alternatives to medication, or used alongside it. These options include:

  • A vacuum erection device

  • A penile prosthetic implant

  • Repair of damaged penile blood vessels (revascularization surgery)

  • Therapy (sex therapy, counseling)

There are also some lifestyle habits that may prevent your ED from worsening and support your ED treatment. Here are some natural remedies for managing ED:

Frequently asked questions

ED isn’t a common symptom of a urinary tract infection (UTI). While symptoms vary from person to person, UTIs often lead to:

  • Dysuria (pain when peeing)

  • Cloudy or bloody urine

  • A feeling like you need to pee suddenly and more often

  • Pain or discomfort in your lower abdomen

The bottom line

ED is a common condition. And there are many causes of ED, so you’ll want to connect with your primary care provider to help you figure out the cause of your ED symptoms. 

One of the hardest parts of getting treatment for ED is starting the conversation. But getting advice for your ED symptoms can help give you back that piece of your life again. Together, you can find the treatment plan that works best for you.

why trust our exports reliability shield

Why trust our experts?

Christina Aungst, PharmD, is a pharmacy editor for GoodRx. She began writing for GoodRx Health in 2019, transitioning from freelance writer to editor in 2021.
Alex Eastman, PhD, RN, is a California-based registered nurse and staff medical editor at GoodRx, where he focuses on clinical updates and Latino health.
Farzon Nahvi, MD, is an emergency medicine physician and author of “Code Gray: Death, Life, and Uncertainty in the ER.” He works at Concord Hospital in Concord, New Hampshire, and teaches at the Geisel School of Medicine at Dartmouth.

References

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Was this page helpful?

Newsletter Subscription

Get the facts on men's health.

Stay informed, and get prescription saving tips and more from GoodRx Health.

By providing your email, you consent to receive marketing communications from GoodRx, which may include content and/or data related to men's health, women's health, reproductive care, or sexual health. You agree to the GoodRx Terms of Use and acknowledge the Privacy Policy. You can unsubscribe at any time.

Latest articles