Skip to main content
Erectile Dysfunction

The Top 11 Causes of Erectile Dysfunction (ED)

Christina Aungst, PharmDKaren Hovav, MD, FAAP
Written by Christina Aungst, PharmD | Reviewed by Karen Hovav, MD, FAAP
Updated on February 19, 2026
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.

  • The causes of ED can be physical, psychological, or related to lifestyle habits. And more than one factor is often involved. 

  • ED can be an early sign of an underlying medical problem — such as diabetes, heart disease, or low testosterone. So it’s important to seek care if you start to have symptoms of ED. 

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

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

ED can be caused by physical health conditions, psychological factors, or lifestyle habits. These categories often overlap and influence one another. While the causes don’t always fit neatly into a single box, thinking about them this way can make it easier to understand what may be contributing to your symptoms.

The good news is that most causes are treatable. And identifying the underlying cause is the first step toward getting the right treatment and seeing improvement.

What is erectile dysfunction?

Erectile dysfunction, commonly referred to as ED, is when you have difficulty getting an erection or maintaining enough of an erection for a satisfying sexual experience. ED exists on a spectrum — from complete inability to have an erection to trouble keeping an erection firm enough for satisfying sex. 

If it has ever happened to you, you’re not alone: Up to 50 million men have ED in the U.S. 

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.

Physical causes of erectile dysfunction

ED can be the first sign of a medical issue. That’s why it’s important to let your healthcare team know if you start to experience ED. Common physical reasons for ED are explained below. 

1. Diabetes

Diabetes is a common cause of ED. Men with diabetes are about three times as likely as men without diabetes to develop ED. That’s because diabetes can damage the blood vessels in the body, which may lead to decreased blood flow for erections. The longer you have diabetes, the more likely you are to experience ED.

When a person with diabetes develops ED, it may be a sign that other long-term complications of diabetes are developing. The changes in blood flow that lead to ED can also lead to problems with your: 

So it’s important to share with your healthcare team if you’re having new symptoms of ED. 

2. High body fat

Carrying extra weight, especially around the waist, increases the chances of having ED. Men with a higher body mass index (BMI) are more likely to experience moderate-to-severe ED. Researchers believe excess body fat can disrupt hormone levels and blood flow, both of which are important for erections.

If high body fat may be causing your ED, you may be able to reverse your symptoms by focusing on weight-management strategies like exercise, diet changes, and medications

3. Heart disease

Experts are now understanding more about how ED and heart health are linked. 

The American Heart Association notes that ED may even be the first sign of heart disease. That’s because heart disease is often caused by a buildup of atherosclerosis in the arteries, which leads to poor blood flow. Atherosclerosis can also reduce blood flow in other areas, including the penis. Research has shown that people with ED are often diagnosed with heart disease within 5 years.

Conditions like high blood pressure and high cholesterol are also linked to ED because they increase the chances of developing atherosclerosis and heart disease. So evaluation of new ED often includes an evaluation of your heart health.

4. 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.

5. Prostate inflammation or 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, can also cause ED. The larger the prostate, the higher the chances are of developing ED. 

6. Low testosterone

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

The lower the level of testosterone, the more symptoms you may experience. This can be diagnosed 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.

7. 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.

Psychological causes of erectile dysfunction

ED is also influenced by mental health factors. Psychological causes can occur on their own or alongside underlying medical conditions.

8. Stress

Your brain plays a big role in your ability to achieve and sustain an erection. Stress, anxiety, or relationship difficulties can interfere with the signals between your brain and body that make erections possible. In one small study, an 8 week stress-management program improved ED symptoms as much as medication did. 

There’s support available to help manage these issues. When it comes to managing ED symptoms, your options can include:

9. Mental health conditions

While stress can contribute to ED, ongoing mental health conditions can also play a significant role. Depression, anxiety, and other disorders can affect sexual desire, arousal, and performance. In some cases, the medications used to treat these conditions may also contribute to ED.

Examples include:

Lifestyle factors that may cause erectile dysfunction

10. 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. 

11. Alcohol

Alcohol can also make it harder to get or maintain an erection. While a small amount may lower inhibitions, larger amounts can interfere with arousal and the brain-body signals needed for an erection.

Over time, heavy or frequent drinking can increase the risk of ED. In general, the more alcohol someone consumes, the higher their risk of developing ED.

In one study of people with alcohol use disorder and ED, a month of not drinking led to big improvements in symptoms. If you drink regularly and experience ED, cutting back may help.

Does porn cause erectile dysfunction?

Some people worry about “porn-induced ED,” which means ED that might be linked to pornography use. So does porn cause ED? For most people, the answer is no. Research shows that regular pornography use usually doesn’t cause erection problems.

However, problematic or compulsive porn use can be linked to ED. Problematic use means:

  • Feeling like you can’t control your viewing

  • Continuing even when it causes problems

  • Feeling upset about your habits 

This kind of use may lead to: 

  • Lower sexual satisfaction

  • Trouble becoming aroused with a partner

  • Performance anxiety

  • Higher chances of depression or anxiety 

All of these things can make ED worse.

If you think porn use may be affecting your erections, a healthcare professional can help you look at possible causes and discuss ways to improve symptoms.

Quiz: Is it erectile dysfunction?

Medication treatments for erectile dysfunction

Phosphodiesterase-5 (PDE5) inhibitors are safe and effective medications used to treat many ED causes. 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. 

Natural remedies to treat erectile dysfunction

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

Alternative remedies to treat erectile dysfunction

There’s a big market for “sexual-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 supplements for ED, noting that they may be contaminated with dangerous hidden ingredients. 

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 or counseling)

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

No single food directly causes ED. But foods with lots of salt and saturated fat — like fried foods and red meats — can increase your risk for health conditions that can cause or worsen ED. Eating these foods frequently can lead to heart disease, high cholesterol, and increased body fat, all of which can cause ED.

ED affects up to 50 million men in the U.S. And as you get older, ED is more common. At age 40, about 40% of men are affected. And by age 70, 70% report having ED. 

Yes, e-cigarettes may lead to ED. In one study, men who used e-cigarettes were more than twice as likely to report ED as men who’d never vaped. 

Yes. Stress can interfere with the brain-body signals needed to get or maintain an erection. Stress is usually a temporary and reversible cause of ED. However, chronic stress can lead to low sex drive, relationships issues, and performance anxiety that further worsen ED.

The bottom line

Erectile dysfunction (ED) is a common condition. And there are many ED causes, 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.
Karen Hovav, MD, FAAP, has more than 15 years of experience as an attending pediatrician. She has worked in a large academic center in an urban city, a small community hospital, a private practice, and an urgent care clinic.

References

Arackal, B. S., et al. (2007). Prevalence of sexual dysfunction in male subjects with alcohol dependence. Indian Journal of Psychiatry.

Bacon, C. G., et al. (2003). Sexual function in men older than 50 years of age: Results from the health professionals follow-up study. Annals of Internal Medicine.

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?

Latest articles