Causes and Risk Factors of Erectile Dysfunction

Table of Contents
View All
Table of Contents

When looking at the potential causes of erectile dysfunction, it's important to understand that more than one factor is often involved. As the American Urological Association puts it, "erectile function is the result of a complex interplay between vascular, neurologic, hormonal, and psychologic factors."

Keep this in mind as you read through the wide-ranging list of causes and risk factors for ED, which includes medications, health conditions, injury, smoking, and more.

Erectile dysfunction causes and risk factors
Verywell / Joshua Seong

Common Causes

Only a health care provider can confirm the cause of your erectile dysfunction. Often, an underlying disease or condition is to blame (see below). But one or more of the following issues may also be at play.

Age

Research shows that, in general, men experience more sexual problems as the years go by. The 1994 Massachusetts Male Aging Study, for example, found that rates of impotence increase as men age—moving from 5% at age 40 to 15% at 70.

The good news: ED and other sexual problems don't appear to be inevitable. Often the reason an older man begins having these issues is that he is also dealing with a chronic condition that increases the risk of ED, or because he engages in controllable lifestyle habits that put him at higher risk.

In other words, it's entirely possible for a man to sidestep many of the potential causes of impotence by taking care of his physical health and his mental well-being as he gets older.

Medications and Treatments

Certain medications can interfere with nerve impulses or blood flow to the penis. According to a report from the Harvard Medical School, about 25% of men dealing with erectile dysfunction are having problems because of a medication they take. In fact, ED is one of the main reasons some men stop taking medication for conditions such as high blood pressure and depression.

The list of drugs associated with impotence is long, and some medications are more likely to cause ED than others. If a drug you're taking isn't on the list that follows, but you're grappling with impotence, check with your health care provider.

Medications and other treatments that increase the risk of impotence include:

  • Cancer chemotherapies, such as Myleran (busulfan) and Cytoxan (cyclophosphamide)
  • Radiation to the pelvis during cancer treatment, which can cause injuries that lead to dysfunction
  • High blood pressure medications, especially diuretics such as Microzide (hydrochlorothiazide) and beta-blockers such as Inderal XL (propranolol)
  • Medications for psychiatric conditions, including anti-anxiety drugs, such as Paxil (paroxetine); antidepressants, such as Zoloft (sertraline); and anti-schizophrenia drugs, such as Seroquel (quetiapine)
  • Tranquilizers such as Valium (diazepam)
  • Hormonal medications for treating prostate cancer, such as Eulexin (flutamide) and Lupron (leuprolide)
  • Propecia (finasteride), which is used to treat an enlarged prostate as well as certain types of male hair loss
  • Ulcer treatments, including histamine H2-receptor antagonists such as Tagamet (cimetidine)
  • Antihistamines that are used to treat allergies, such as Benadryl (diphenhydramine) and Vistaril (hydroxyzine)
  • Antibiotics for treating fungal infections of the skin, such as Nizoral (ketoconazole)
  • Nonsteroidal anti-inflammatory drugs (NSAIDs), such as Naprosyn (naproxen), when taken frequently

Stress and Anxiety

Sometimes a man will experience anxiety about sexual performance that inhibits his ability to get an erection, possibly because of a bad sexual experience or a previous occurrence of ED. Similarly, if a man and his partner are experiencing trouble in their relationship, the emotional and mental stress can take a toll on sexual function.

Surgery

Any surgery that involves structures in the pelvic area can damage penile nerves, blood vessels, or both, which in turn can affect a man's ability to get an erection or maintain one.

One common procedure associated with ED is surgery to treat prostate cancer, which makes sense given how close the prostate is located to the penis and important nerves.

Another type of surgery that sometimes increases the risk of impotence is bowel resection for treating colorectal cancer, in which a portion of the large intestine (colon) is surgically removed along with the tumor. Certain variations of this procedure are most likely to cause ED:

  • Left hemicolectomy (the removal of the left portion of the colon)
  • Abdominoperineal resection (the removal of the rectum and anus)
  • Proctectomy (the removal of the rectum)

In some cases of ED caused by bowel surgery, the problem results from loss of skin sensation. In others, the sacral reflex (the motor response that controls both the anal sphincter and muscles of the pelvic floor) are affected. What's more, the trauma of going through major surgery can cause stress that directly interferes with sexual function. 

Injury

An injury to the nerves, arteries, or veins of the pelvis has the potential to cause sexual problems. Men with spinal cord injuries have increased rates of erectile and ejaculatory problems, for example.

However, spinal cord injury does not necessarily prohibit sexual function. Some people with complete spinal cord injuries still experience arousal and orgasm from non-genital stimulation. While sexual desire can still be present, it can often be impacted by the trauma of the injury.

Diseases and Conditions

Erectile dysfunction rarely occurs in isolation. It is often a result of another health concern.

Diabetes and Heart Disease

ED is common among men with both type 1 diabetes and type 2 diabetes.

A 2017 study in Diabetes Medicine found that more than half of men with diabetes develop ED. The reason: the elevated blood glucose levels caused by diabetes damage blood vessels and nerves throughout the body, including those in the penis.

The longer a man has had diabetes, the more likely it is that he'll develop ED, especially if his blood glucose levels have not been well controlled. Complications of accompanying conditions such as high blood pressure and high cholesterol can also play a role in impotence. A man with diabetes who also smokes increases his risk of developing ED.

Heart disease and diabetes are often linked together, because coronary artery damage is a complication of diabetes as well. Coronary artery disease can also affect sexual function on its own, but erectile dysfunction is nine times as likely in men who suffer from both coronary artery disease and diabetes than in men who have diabetes alone.

Erectile dysfunction is so prevalent in both coronary artery disease and diabetes that it could be considered a risk factor, or an early marker, for both. A man with new ED without evident risk factors for it should have a baseline heart work-up.

Hypertension

Given that an erection depends on adequate blood flow to the penis, it's easy to see how any condition or medical problem affecting the heart and other structures in the cardiovascular system might have an impact on erectile function. This is particularly true for high blood pressure (hypertension).

Although scientists don't understand exactly how this condition can lead to ED, one theory is that high arterial pressure in the small vessels of the penis may cause microscopic tears to the vessel walls. In the process of repairing these tears, the arteries become thicker and less able to supply needed blood to the spongy erectile tissues of the penis.

Other potential factors in hypertension that may play a role in ED:

  • Reduced hormone production. Elevated pressure in the circulatory system affects the production of certain hormones, including those that regulate sexual drive and erection response. There is also some evidence that men with high blood pressure have lower sperm counts and testosterone levels than men with normal blood pressure, which in turn may lower the hormonal response to sexual stimulation. 
  • Low levels of nitric oxide. Some studies have shown that, over time, men with long-term hypertension may produce less nitric oxide, an agent that makes blood vessels relax, or dilate. Erectile dysfunction may result when there's not enough nitric oxide to sufficiently relax blood vessels and allow blood to fill the penis.
  • Venous leaks. In order to maintain an erection, blood has to be supplied to and remain in the penis. Some research suggests that men with high blood pressure may have trouble maintaining an erection because the increased pressure forces blood out of the erectile tissues of the penis and into the veins. In this theory, the “push” on the small closing valves of the veins is stronger than the veins’ ability to resist, meaning the veins can't “close” tightly enough to stop blood from passing out of the penis.

​Psychological Conditions

A number of psychological concerns are associated with sexual function problems in men. Depression, anxiety, post-traumatic stress disorder, and even issues with anger have all been related to problems with desire, erectile function, and ejaculation. 

Other Concerns

There are a number of other conditions and diseases that can impact sexual function in men, leading to problems such as ED. Among these are: 

  • Low testosterone. Testosterone declines by 1% per year in men after age 30. A normal testosterone level helps to support normal erectile function. Men with ED and low testosterone should be aware that ED medication (such as sildenafil or tadalafil) may be more effective if combined with testosterone therapy.
  • Urinary and kidney problems. Men with urinary symptoms have been shown to have a higher rate of erectile problems as men without them. This includes problems such as overactive bladder as well as lower urinary tract symptoms.
  • Chronic neurological diseases. Increased rates of ED and other types of sexual dysfunction have been seen in men with Parkinson's disease, epilepsy, stroke, and multiple sclerosis. These conditions may interfere with nerve signals between the brain and the penis.
  • Obstructive sleep apnea (OSA). According to the National Sleep Foundation, a 2011 study by researchers at Mt. Sinai Medical Center in New York City found that men with erectile dysfunction were more than twice as likely to have OSA than men without ED.

Lifestyle Factors

Among the many potential causes of erectile dysfunction are quite a few that can be eliminated altogether.

Recreational Drugs

Over time, illegal and recreational drugs can cause serious damage to blood vessels, resulting in sometimes permanent erectile dysfunction. These include:

  • Alcohol
  • Nicotine from smoking and smokeless tobacco
  • Amphetamines, such as Dexedrine (dextroamphetamine)
  • Barbiturates, such as phenobarbital
  • Cocaine
  • Marijuana
  • Methadone
  • Opiates, such as heroin and OxyContin

Bicycle Riding

When biking, a significant amount of a man's weight rests on the perineum—the area of the body where the nerves and blood vessels of the penis pass—potentially causing injury to these structures. However, although riding has been associated with related erectile dysfunction, this form of exercise is more likely to be healthy than harmful for most men.

For one thing, most studies that have found a link between bicycle riding and ED have focused on men who spend long hours astride a bike, such as policemen who spend as many as 24 hours a week riding, and those who do long bike tours as amateurs or professionals.

According to the Massachusetts Male Aging Study (MMAS), a survey of more than 1,700 men between the ages of 40 and 70, "at least three hours of cycling per week were more likely to cause artery blockage and long-term damage." That's more riding than the average person tends to clock, but the results are something to think about if you ride for longer.

It's worth noting that the MMSA also revealed that men who biked for three or fewer hours per week had a lower risk of developing ED, indicating bike riding as a form of moderate exercise might help prevent erectile dysfunction. 

Your bike seat may matter as well. There are saddles that have a hole or groove down the middle where the perineum would otherwise rest, but a significant part of this area still lies under the weight of the body when using them. Research has found that "no-nose" seats, which have a wider rear for the sitting bones to rest on, may help prevent damage, perineal numbness, and problems with erectile function.

Frequently Asked Questions

  • What is the main cause of erectile dysfunction?

    There are two mechanisms involved in an erection: the reflex erection stimulated by touch and the psychogenic erection stimulated by emotions. Both are facilitated by an intact nervous system, a fully functioning pituitary gland (which produces testosterone), and ample blood circulation to the penis. A breakdown in any part of this system can lead to a loss of erectile function.

  • What conditions are associated with erectile dysfunction?

    Causes or contributors to erectile dysfunction (ED) include:

    • Aging
    • Diabetes
    • Certain medications
    • Penile trauma
    • Spinal cord injury
    • Neurogenic causes (such as diabetic neuropathy)
    • Penile micro-trauma or scarring (such as Peyronie’s disease)
    • Cardiovascular disease (including hypertension)
    • Psychological causes (including stress and depression)
    • Surgery (including radical prostate and bladder surgery)
    • Low testosterone
    • Smoking
  • What drugs can cause erectile dysfunction?

    There are a number of drugs that can either cause or contribute to ED by interfering with the nerves, hormones, or blood flow involved in an erection. Some of the more common include:

  • Who is most at risk of erectile dysfunction?

    Age is a key risk factor: ED is four times more common in men over 60 than those over 40. Diabetic men are also at increased risk, with anywhere from 30% to 95% experiencing some degree of ED. Similarly, smokers are 1.5 times more likely to develop ED due to the progressive narrowing (stenosis) of the arteries.

  • Is the cause of my erectile dysfunction psychological?

    Psychological factors are involved in up to 30% of all cases of ED. It’s often a catch-22 situation in which stress, anxiety, or depression not only interfere with the ability to achieve an erection, but the failure to achieve an erection leads to stress, anxiety, or depression. In cases like these, therapy may be needed.

  • Can porn cause erectile dysfunction?

    Some researchers have theorized that a porn addiction can fuel unrealistic expectations about sex, which then triggers performance anxiety in real-life situations. The theory remains highly controversial. A 2015 review of studies in the Journal of Sexual Medicine could find little evidence of an association between porn use and male sexual performance problems.

Was this page helpful?
19 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Scranton RE, Goldstein I, Stecher VJ. Erectile dysfunction diagnosis and treatment as a means to improve medication adherence and optimize comorbidity management. J Sex Med. 2013;10(2):551-61. doi:10.1111/j.1743-6109.2012.02998.x


  2. Zippe C, Nandipati K, Agarwal A, Raina R. Sexual dysfunction after pelvic surgery. Int J Impot Res. 2006;18(1):1-18. doi:10.1038/sj.ijir.3901353


  3. Hess MJ, Hough S. Impact of spinal cord injury on sexuality: broad-based clinical practice intervention and practical application. J Spinal Cord Med. 2012;35(4):211-8. doi:10.1179/2045772312Y.0000000025


  4. Maiorino MI, Bellastella G, Esposito K. Diabetes and sexual dysfunction: current perspectives. Diabetes Metab Syndr Obes. 2014;7:95-105. doi:10.2147/DMSO.S36455


  5. American Urological Association. Erectile Dysfunction: AUA Guideline.

  6. Blood Pressure : Erectile dysfunction (impotence) and high blood pressure. Bloodpressureuk.org. Published 2019.


  7. Guo D, Li S, Behr B, Eisenberg ML. Hypertension and Male Fertility. World J Mens Health. 2017;35(2):59-64. doi:10.5534/wjmh.2017.35.2.59


  8. Nunes KP, Labazi H, Webb RC. New insights into hypertension-associated erectile dysfunction. Curr Opin Nephrol Hypertens. 2012;21(2):163-70. doi:10.1097/MNH.0b013e32835021bd


  9. Clavijo RI, Miner MM, Rajfer J. Erectile Dysfunction and Essential Hypertension: The Same Aging-related Disorder?. Rev Urol. 2014;16(4):167-71.


  10. Letica-crepulja M, Stevanović A, Protuđer M, Popović B, Salopek-Žiha D, Vondraček S. Predictors of Sexual Dysfunction in Veterans with Post-Traumatic Stress Disorder. J Clin Med. 2019;8(4)


  11. Correction to Lancet Diabetes Endocrinol 2019; published online March 1. DOI:10.1016/ S2213-8587(19)30066-X. Lancet Diabetes Endocrinol. 2019;7(5):e5. doi:10.1016/j.jsxm.2017.03.129


  12. Shridharani AN, Brant WO. The treatment of erectile dysfunction in patients with neurogenic disease. Transl Androl Urol. 2016;5(1):88-101. doi:10.3978/j.issn.2223-4683.2016.01.07


  13. Medications & Erectile Dysfunction | Cleveland Clinic. Cleveland Clinic. Published 2019.


  14. Erectile Dysfunction and Bicycling » Sexual Medicine » BUMC. Bumc.bu.edu. Published 2019.


  15. Yafi FA, Jenkins L, Albersen M, et al. Erectile dysfunction. Nat Rev Dis Primers. 2016;2(1):16003. doi:10.1038/nrdp.2016.3

  16. Kupelian V, Hall SA, McKinlay JB. Common prescription medication use and erectile dysfunction: results from the BACH survey: association of prescription medication use with ED. BJU Int. 2013;112(8):1178-87. doi:10.1111/bju.12231

  17. DeLay KJ, Haney N, Hellstrom WJ. Modifying risk factors in the management of erectile dysfunction: a review. World J Mens Health. 2016;34(2):89. doi:10.5534/wjmh.2016.34.2.89

  18. Nguyen HMT, Gabrielson AT, Hellstrom WJG. Erectile dysfunction in young men—a review of the prevalence and risk factors. Sex Med Rev. 2017;5(4):508-20. doi:10.1016/j.sxmr.2017.05.004

  19. Landripet I, Štulhofer A. Is pornography use associated with sexual difficulties and dysfunctions among younger heterosexual men? J Sex Med. 2015;12(5):1136-9. doi:10.1111/jsm.12853