□
Skip to content

10 Common Causes of Erectile Dysfunction

ED can have many causes, from low testosterone to medications. Learn what may be behind it and what to ask your doctor.

10 Common Causes of Erectile Dysfunction

Erectile dysfunction (ED) occurs when a man has difficulty getting or maintaining an erection that’s firm enough for sexual activity. ED can result from many different, often interconnected issues, and the right treatment may depend on the underlying cause.²

In a nationally representative US survey, about 1 in 5 men aged 40–70 reported ED.*¹

*Based on the 2001–02 National Health and Nutrition Examination Survey (NHANES). ED was self-reported and defined as being “sometimes” or “never” able to get and keep an erection adequate for intercourse.

If you’re experiencing ED, understanding what may be behind it can help you talk with your doctor and choose a treatment option that fits.

1. Low Testosterone

Testosterone is a hormone that plays a role in sex drive and sexual function.² Levels tend to decline naturally with age,³ and low testosterone (low-T) can contribute to ED in some men.²

A doctor can check your testosterone level with a blood test.⁴ Testosterone therapy (for example, gels, pellets, injections, or patches) is generally considered only for men with consistently low levels and symptoms.³,⁵ Research on whether it improves erectile function has been mixed,⁶,⁷ so talk with your doctor about whether it makes sense for you.

2. Chronic Health Conditions

Chronic conditions, including heart disease, high cholesterol, high blood pressure, atherosclerosis, diabetes, and metabolic syndrome, are risk factors for ED.¹,² Parkinson’s disease and multiple sclerosis can also increase the risk.

Working with your doctor to manage a chronic condition and building healthy habits may help lower your risk of ED.¹

3. Obesity

Being overweight or having obesity can contribute to ED.²,⁸ A balanced diet, regular exercise, enough sleep, stress management, and good hydration can all support a healthy weight.

4. Substance Use

Certain substances can raise your risk of ED. Smoking, heavy drinking, and recreational drug use can all affect erectile function.²,⁹ For example, long-term smoking can damage blood vessels, which may reduce blood flow and contribute to health problems associated with ED.⁹,¹⁰

If you’re experiencing a substance use disorder, talk with a healthcare professional about support.

5. Sleeping Problems

Too little sleep or poor-quality sleep can affect erectile function.¹¹ Try setting a regular bedtime, sleeping in a cool, dark room, and avoiding alcohol, smoking, and caffeine in the evening. Aim for at least seven hours of sleep each night.¹²

If you have sleep apnea or insomnia, ask your doctor about treatment options.¹³

6. Some Medications

Some medications, both prescription and over-the-counter, can affect erectile function.¹⁴,¹⁵ Examples include some antidepressants, some blood pressure medications, some antihistamines, and some medications that treat chronic pain or prostate problems.¹⁴

If you’re experiencing ED, ask your doctor whether any of your medications could be contributing.² Don’t stop taking a prescribed medication without talking to your doctor first.

7. Stress and Mental Health

Chronic stress, depression, and anxiety can all contribute to ED.² Stress-reduction strategies such as yoga, meditation, regular exercise, massage, and time outdoors may help.

If stress, depression, or anxiety is affecting your daily life, counseling and other behavioral health support may also help. Talk with a healthcare professional about what’s right for you.

8. Relationship Problems

Poor communication and stress with your partner can affect libido and erectile function. Couples therapy may help you and your partner work through challenges that could be contributing to ED.

9. Injuries

Peyronie’s disease, which involves scar tissue in the penis,¹⁶ and injuries to the spinal cord or pelvic area can make it harder to have an erection firm enough for sexual activity.¹⁷,¹⁸ Damage to the nerves or blood vessels involved in erections can also contribute to ED.¹⁷

10. Medical Treatments

Certain medical treatments can affect sexual function in men. Examples include prostate surgery and radiation to the pelvic area.¹⁹ If you believe a recent medical treatment is contributing to your ED, talk with your doctor about your options.

Closing

Remember: ED has a number of treatment options,⁴ including pills, injections, vacuum erection devices, surgery, and Eddie®, an external, reusable, noninvasive, non-pharmacological treatment. Eddie is an FDA Class II medical device designed to maintain penile rigidity in men with ED. Talk to your doctor about what’s right for you.

References

¹ Selvin E, Burnett AL, Platz EA. Prevalence and risk factors for erectile dysfunction in the US. Am J Med. 2007;120(2):151-157. doi:10.1016/j.amjmed.2006.06.010 (full text read via a reproduction; journal PDF not opened)

² Anawalt BD, editor. Hormones and erectile dysfunction: what you need to know. Endocrine Society patient resource.

³ Mulhall JP, et al. Evaluation and management of testosterone deficiency: AUA guideline. J Urol. 2018;200(2):423-432. doi:10.1016/j.juro.2018.03.115

⁴ Burnett AL, Nehra A, Breau RH, et al. Erectile dysfunction: AUA guideline. J Urol. 2018;200(3):633-641. doi:10.1016/j.juro.2018.05.004

⁵ Bhasin S, Cunningham GR, Hayes FJ, et al. Testosterone therapy in adult men with androgen deficiency syndromes: an Endocrine Society clinical practice guideline. J Clin Endocrinol Metab. 2006;91(6):1995-2010. doi:10.1210/jc.2005-2847 (superseded; the current version is Bhasin S, et al. J Clin Endocrinol Metab. 2018; doi:10.1210/jc.2018-00229, as cited by Mayo Clinic)

⁶ Pencina KM, Travison TG, Cunningham GR, et al. Effect of testosterone replacement therapy on sexual function and hypogonadal symptoms in men with hypogonadism. J Clin Endocrinol Metab. 2024;109(2):569-580. doi:10.1210/clinem/dgad484 (abstract confirmed in a PubMed record, PMID 37589949)

⁷ Cunningham GR, et al. Testosterone treatment and sexual function in older men with low testosterone levels. J Clin Endocrinol Metab. 2016;101(8):3096-3104. doi:10.1210/jc.2016-1645. Endocrine Society press release (paper not opened)

⁸ Cleveland Clinic Center for Continuing Education. Erectile dysfunction (prevalence, testosterone and weight-loss summary). Published June 2018.

⁹ Verze P, Margreiter M, Esposito K, Montorsi P, Mulhall J. The link between cigarette smoking and erectile dysfunction: a systematic review. Eur Urol Focus. 2015;1(1):39-46. doi:10.1016/j.euf.2015.01.003

¹⁰ McVary KT, Carrier S, Wessells H. Smoking and erectile dysfunction: evidence based analysis. J Urol. 2001;166(5):1624-1632. PMID 11586190

¹¹ Dilixiati D, Kadier K, Laihaiti D, Lu JD, Rezhake R, et al. The relationship between sleep disorders, quality, and duration and sexual dysfunction: a systematic review and meta-analysis. J Sex Med. 2023. doi:10.1093/jsxmed/qdad054. PMID 37186140

¹² Watson NF, Badr MS, Belenky G, et al. Recommended amount of sleep for a healthy adult: a joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. J Clin Sleep Med. 2015;11(6):591-592. doi:10.5664/jcsm.4758

¹³ The association between obstructive sleep apnoea and erectile dysfunction: a systematic review and meta-analysis. Int J Impot Res. 2026. Abstract via UroToday.

¹⁴ Some commonly used medications that can cause erectile dysfunction. Merck Manual Consumer Version.

¹⁵ Czyzewski et al. The impact of commonly used medications on erectile dysfunction: which drugs deserve particular attention? Cureus. 2025.

¹⁶ Nehra A, Alterowitz R, Culkin DJ, et al. Peyronie’s disease: AUA guideline. J Urol. 2015;194(3):745-753. doi:10.1016/j.juro.2015.05.098

¹⁷ Hasan O, Atif M, Baloch N, Jalbani I, Umer M. Sexual dysfunction in men after high energy pelvic fractures: narrative review of targeted literature. J Pak Med Assoc. 2020;70:S65-S69.

¹⁸ Gomes CM, Miranda EP, de Bessa J Jr, et al. Erectile function predicts sexual satisfaction in men with spinal cord injury. Sex Med. 2017;5:e148-e155.

¹⁹ Chung E, Gillman M. Prostate cancer survivorship: a review of erectile dysfunction and penile rehabilitation after prostate cancer therapy. Med J Aust. 2014;200(10):582-585. doi:10.5694/mja13.11028