Erectile Dysfunction

(Impotence; ED)

Full Review: Oct 2026 ByMasaya Jimbo, MD, PhD, Thomas Jefferson University Hospital | Peer reviewed byLeonard G. Gomella, MD, Sidney Kimmel Medical College at Thomas Jefferson University
Last updated: Oct 2026
v1153705
View Patient Education

Erectile dysfunction is the inability to attain or sustain an erection satisfactory for sexual intercourse. Most erectile dysfunction is related to vascular, neurologic, psychological, and hormonal disorders; use of a medication can also be a cause. Evaluation typically includes screening for underlying disorders and measuring testosterone levels. Treatment options include oral phosphodiesterase inhibitors, intracavernosal injections, vacuum erection devices, and surgical implants.

(See also Overview of Male Sexual Function and Dysfunction.)

Erectile dysfunction (ED) is the inability to achieve or maintain an erection sufficient for sexual activity. The prevalence of ED increases with age, affecting 25 to 33% of men between 45 and 64 years old, and half or more of men > 65 years old (1). ED significantly impairs patients’ mental health and relationships (2).

General references

  1. 1. Mark KO, Arenella K, Girard A, et al: Erectile dysfunction prevalence in the United States: Report from the 2021 National Survey of Sexual Wellbeing. J Sex Medicine. 2024;21(4):296-303. doi: 10.1093/jsxmed/qdae008

  2. 2. American Psychiatric Association. Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition, Text Revision (DSM-5-TR),  Washington: American Psychiatric Association, 2022.

Etiology of Erectile Dysfunction

There are 2 types of erectile dysfunction (ED):

  • Primary ED: The man has never been able to attain or sustain an erection

  • Secondary ED: Acquired later in life by a man who previously was able to attain erections

Primary ED is rare and is due to psychological factors or clinically obvious anatomic, vascular, or congenital abnormalities.

Secondary ED is more common, and often has a combination of organic and psychological causes (1). Many men with secondary ED develop reactive psychological difficulties that compound the problem (2).

Psychological factors must be considered in every case of ED. Psychological causes of primary ED include guilt, fear of intimacy, depression, or anxiety. In secondary ED, causes may relate to performance anxiety, stress, or depression. Psychogenic ED may be situational, involving a particular place, time, or partner.

The major organic causes of ED are physiological (organic) (see table ):

  • Vascular disorders

  • Neurologic disorders

  • Endocrine disorders

The most common vascular cause is atherosclerosis of cavernous arteries of the penis, often associated with smoking, endothelial dysfunction, and diabetes (3). Atherosclerosis and aging decrease the capacity for dilation of arterial blood vessels and smooth muscle relaxation, limiting the amount of blood that can enter the penis (see Overview of Male Sexual Function and Dysfunction: Erection). Endothelial dysfunction is a disease of the endothelial lining of the small arterioles that reduces the ability to vasodilate when needed to increase blood flow. Endothelial dysfunction appears to be mediated by reduced levels of nitric oxide and can result from smoking, diabetes, and/or low testosterone levels (4, 5, 6). Veno-occlusive dysfunction permits venous leakage, which results in inability to maintain erection (7).

Priapism, usually associated with trazodone use, cocaine use disorder, sickle cell disease, and intracavernosal injections used for erectile dysfunction may cause penile fibrosis and lead to ED by causing fibrosis of the corpora cavernosa and thus impairment of the penile blood flow necessary for erection (7).

Neurologic causes include stroke, partial complex seizures, multiple sclerosis, peripheral and autonomic neuropathies, and spinal cord injuries. Diabetic neuropathy and surgical injury are particularly common causes (7).

Complications of pelvic surgery (eg, radical prostatectomy [even with nerve-sparing techniques], radical cystectomy, rectal cancer surgery) are other common causes (7). Occasionally, transurethral resection of the prostate is a cause. Other causes include hormonal disorders (primary or secondary hypogonadism), medications, pelvic radiation, and structural disorders of the penis (eg, Peyronie disease). Prolonged perineal pressure (as occurs during bicycle riding [8]) or pelvic or perineal trauma can cause ED.

Endocrine causes include testosterone deficiency (hypogonadism) and hyperprolactinemia.

Table
Table

Numerous medications are possible culprits (see table ). Alcohol can cause temporary ED.

Etiology references

  1. 1. Shamloul R, Ghanem H. Erectile dysfunction. Lancet. 2013;381(9861):153-165. doi:10.1016/S0140-6736(12)60520-0

  2. 2. Allen MS, Wood AM, Sheffield D: The psychology of erectile dysfunction. Current Directions Psychol Sci. 2023;32(5). doi: 10.1177/09637214231192269

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

  4. 4. Babcock MC, DuBose LE, Witten TL, et al. Oxidative Stress and Inflammation Are Associated With Age-Related Endothelial Dysfunction in Men With Low Testosterone. J Clin Endocrinol Metab. 2022;107(2):e500-e514. doi:10.1210/clinem/dgab715

  5. 5. Blick C, Ritchie RW, Sullivan ME. Is Erectile Dysfunction an Example of Abnormal Endothelial Function?. Curr Vasc Pharmacol. 2016;14(2):163-167. doi:10.2174/1570161114666151202205950

  6. 6. Guay AT. Relation of endothelial cell function to erectile dysfunction: implications for treatment. Am J Cardiol. 2005;96(12B):52M-56M. doi:10.1016/j.amjcard.2005.10.006

  7. 7. Shamloul R, Ghanem H. Erectile dysfunction. Lancet. 2013;381(9861):153-165. doi:10.1016/S0140-6736(12)60520-0

  8. 8. Sommer F, Goldstein I, Korda JB. Bicycle riding and erectile dysfunction: a review. J Sex Med. 2010;7(7):2346-2358. doi:10.1111/j.1743-6109.2009.01664.x

Diagnosis of Erectile Dysfunction

  • History and physical examination

  • Screening for depression

  • Testosterone level

  • Sometimes screening for cardiovascular disease

  • Other testing based on suspected cause

Evaluation should include history of medication use (which includes prescription medications and herbal products), alcohol use, pelvic surgery and trauma, smoking, diabetes, hypertension, and atherosclerosis, as well as symptoms of vascular, hormonal, neurologic, and psychological disorders (1). Satisfaction with sexual relationships should be explored, including evaluation of partner interaction and partner sexual dysfunction (eg, vulvovaginal atrophy, dyspareunia, depression).

It is vital to screen for depression, which may not always be apparent. The Beck Depression Scale or, in older men, the Yesavage Geriatric Depression Scale (see table ) is easy to administer and may be useful.

Examination is focused on the genitals and extragenital signs of hormonal, neurologic, and vascular disorders. Genitals are examined for anomalies, signs of hypogonadism (eg, testicular atrophy), and fibrous bands or plaques (Peyronie disease). Poor rectal tone, decreased perineal sensation, or abnormal bulbocavernosus reflexes may indicate neurologic dysfunction. Diminished peripheral pulses suggest vascular dysfunction.

A psychological cause should be suspected in young healthy men with abrupt onset of erectile dysfunction (ED), particularly if onset is associated with a specific emotional event or if the dysfunction occurs only in certain settings (eg, partnered activity). A history of ED with spontaneous improvement also suggests a psychological origin (psychogenic ED). Men with primarily psychogenic ED usually have normal nocturnal erections and erections upon awakening, whereas men with primarily organic ED often do not.

Of note, vasculogenic ED can often be the first sign of cardiovascular disease. As such, men with new-onset vasculogenic ED should be referred to a cardiologist for evaluation of previously undiagnosed cardiovascular disease.

Table
Table

Testing

Laboratory assessment should include measurement of morning testosterone level; if the level is low or low-normal, prolactin and luteinizing hormone (LH) should be measured. Evaluation for occult diabetes, dyslipidemias, hyperprolactinemia, thyroid disease, and Cushing syndrome should be performed based on clinical suspicion.

Duplex ultrasound after intracavernous injection of a vasodilatory medication such as a mixture of prostaglandin E1, papaverine, and phentolamine is most often used to evaluate penile vasculature (1). Normal values include a peak systolic flow velocity > 25 cm/sec, end diastolic velocity < 5 cm/sec, and a resistive index > 0.8. Resistive index is the difference between peak systolic velocity and end-diastolic velocity divided by peak systolic velocity.

Rarely, in selected patients for whom penile revascularization surgery is being considered after pelvic trauma, pelvic arteriography, dynamic infusion cavernosography, and cavernosometry may be performed.

Several sleep-entrained erectile episodes occur nightly in healthy men with normal penile blood flow. These erectile events, measured by nocturnal penile tumescence monitors, may help differentiate between organic and psychogenic etiology of erectile dysfunction.

Diagnosis reference

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

Treatment of Erectile Dysfunction

  • Treatment of underlying causes

  • Medications, usually oral phosphodiesterase inhibitors (see table )

  • Vacuum erection device (VEDs) or self-administered intracavernosal injections (ICI)

  • If other treatments fail, surgical implantation of penile prosthesis

  • Sex therapy as indicated

Underlying organic disorders (eg, diabetes, prolactin-secreting pituitary adenoma, hypogonadism, Peyronie disease) require appropriate treatment (1). Medications that are temporally related to onset of erectile dysfunction (ED) should be stopped or replaced. Depression may require treatment. For all patients, reassurance and education (including of the patient’s partner whenever possible) are important. Clinicians should use this encounter to discuss behavior modification (eg, dietary changes and weight loss).

For further therapy, an oral phosphodiesterase (PDE) inhibitor is typically tried first because it is easy to use and has a good safety profile. If therapy with a PDE inhibitor is ineffective and/or poorly tolerated due to side effects, other treatments, including vacuum erection devices and intracavernosal injections, may be used.

In cases of documented testosterone deficiency or hyperprolactinemia, testosterone replacement therapy via transdermal patch or gel, nasal spray, implant, or medical/surgical treatment of hyperprolactinemia, is warranted. However, normalization of serum testosteronemay have minimal effect on erectile function (especially with more severe ED) (2, 3), probably because most affected men also have neurovascular causes of ED.

For cases of mild erectile dysfunction, low-intensity shockwave therapy (Li-SWT) is an emerging technique with a growing body of evidence behind it. Theoretically, it works by limiting fibrosis and stimulating angiogenesis in the corporal bodies. However, the evidence quality is still relatively poor, and the American Urological Association still considers it to be investigational.

For men with psychogenic ED, sex therapy should be the mainstay of treatment.

Medications for erectile dysfunction

First-line treatment of ED is usually an oral phosphodiesterase (PDE) inhibitor (1). Other medications used include intracavernosal injections of a combination of papaverine and phentolamine or a combination of prostaglandin E1, papaverine, and phentolamine. However, because almost all patients prefer oral therapy, oral medications are used unless they are contraindicated or not tolerated.

Oral PDE inhibitors selectively inhibit cyclic guanosine monophosphate (cGMP)–specific phosphodiesterase type 5 (PDE5), the predominant phosphodiesterase isomer in the penis. These medications include sildenafil, vardenafil, avanafil, and tadalafil (see table ). By preventing the hydrolysis of cGMP, the medications promote the cGMP-dependent smooth muscle relaxation that is essential for normal erection. Although vardenafil and tadalafil are more selective for the penile vasculature than sildenafil, clinical responses and adverse effects of these medications are similar. In comparative clinical trials, these medications show comparable efficacy, with an approximately 70% rate of improved erection versus 35% with placebo (4, 5).

In patients with testosterone deficiency, effectiveness of PDE therapy may be improved with concomitant testosterone replacement (1).

Table
Table

All PDE5 inhibitors cause direct coronary vasodilation and potentiate the hypotensive effects of other nitrates, including those used to treat coronary artery disease. The concomitant use of nitrates and PDE5 inhibitors can be dangerous and is contraindicated. Patients who only occasionally use nitrates (eg, for rare bouts of angina) should discuss the risks, selection, and proper timing of possible PDE5 inhibitor use with a cardiologist.

Adverse effects of PDE5 inhibitors include flushing, visual abnormalities, hearing loss, dyspepsia and headache. Sildenafil and vardenafil may cause abnormal color perception (blue haze). Tadalafil use has been linked with myalgias. Rarely, nonarteritic ischemic optic neuropathy (NAION) and other ocular complications have been associated with PDE5 inhibitor use (6), but a causal relationship has not been established. All PDE5 inhibitors should be administered cautiously and at lower initial dosages to patients receiving alpha-blockers (eg, prazosin, terazosin, doxazosin, tamsulosin) because of the risk of hypotension. Patients taking an alpha-blocker should wait at least 4 hours before using a PDE5 inhibitor. Rarely, PDE5 inhibitors cause priapism.

Alprostadil (prostaglandin E1), self-administered via intracavernosal injection, can produce erections with a mean duration of 30 to 60 minutes. Intracavernosal alprostadil may be compounded with papaverine and phentolamine for increased efficacy when necessary. Excessive dosing may cause priapism in 1 to 4% of patients (7) and genital or pelvic pain in approximately 10%. Office teaching and monitoring by the physician helps achieve optimal and safe use, including minimizing the risk of priapism, which is a urologic emergency that requires prompt intervention to reduce the risk of irreversible corporal fibrosis and complete ED.

Mechanical devices and procedures

Men who can develop but not sustain an erection (eg, due to veno-occlusive dysfunction) may use a constriction ring to help maintain erection; an elastic ring is placed around the base of the erect penis, preventing early loss of erection. Men who cannot achieve erection can first use a vacuum erection device that draws blood into the penis via suction, after which an elastic ring is placed at the base of the penis to maintain the erection (1). Bruising of the penis, coldness of the tip of the penis, and lack of spontaneity are some drawbacks to this modality. These devices can also be combined with PDE5 inhibitor therapy if needed.

Low-intensity extracorporeal shock wave therapy (Li-SWT), which theoretically limits fibrosis in the corporal bodies, is under study as a treatment for erectile dysfunction (8).

Surgery for erectile dysfunction

Many nonsurgical ED treatments are available; however, these can be ineffective or impractical for men with moderate to severe ED. For these men, penile prosthesis surgery can be an effective option, achieving the highest patient and partner satisfaction rate of all ED treatments (9). Prostheses include semi-rigid silicone rods or saline-filled multicomponent inflatable devices. Implantation of both models carry the same risks (eg, those associated with use of general anesthesia, the possibility of postsurgical infection, and erosion or malfunction of the prosthesis). In the hands of experienced surgeons, the long-term rate of infection in primary penile prosthesis cases is well below 5%, even with involvement of trainees in the surgeries (10).

The advantages of surgical prosthesis implantation are obvious: erections are produced immediately and spontaneously, erections last until the patient deflates his device, and sexual activity may occur as frequently as the couple wishes. However, the primary disadvantages of penile prosthesis surgery (the need for invasive surgery, its irreversible nature, the potential for mechanical failure necessitating replacement surgery, potential postoperative complications such as infection and erosion of the device) should be carefully considered before such surgery is undertaken (1).

Treatment references

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

  2. 2. Lee H, Hwang EC, Oh CK, et al. Testosterone replacement in men with sexual dysfunction. Cochrane Database Syst Rev. 2024;1(1):CD013071. Published 2024 Jan 15. doi:10.1002/14651858.CD013071.pub2

  3. 3. Corona G, Rastrelli G, Morgentaler A, Sforza A, Mannucci E, Maggi M. Meta-analysis of Results of Testosterone Therapy on Sexual Function Based on International Index of Erectile Function Scores. Eur Urol. 2017;72(6):1000-1011. doi:10.1016/j.eururo.2017.03.032

  4. 4. Tsertsvadze A, Fink HA, Yazdi F, et al. Oral phosphodiesterase-5 inhibitors and hormonal treatments for erectile dysfunction: A systematic review and meta-analysis. Ann Intern Med. 2009;151(9):650-661. doi: 10.7326/0003-4819-151-9-200911030-00150

  5. 5. Salonia A, Bettocchi C, Burnett A, et al. A comparative evaluation of on-demand phosphodiesterase-5 inhibitor efficacy in erectile dysfunction treatment: a systematic review and network meta-analysis of double-blind, placebo-controlled, randomized trials. J Sex Med. 2026;23(7):qdag176. doi:10.1093/jsxmed/qdag176

  6. 6. Etminan M, Sodhi M, Mikelberg FS, Maberley D. Risk of Ocular Adverse Events Associated With Use of Phosphodiesterase 5 Inhibitors in Men in the US. JAMA Ophthalmol. 2022;140(5):480-484. doi:10.1001/jamaophthalmol.2022.0663

  7. 7. Lima AS, Villela BC, Pustilnik HN, et al. Comparison of adverse effects of combined and isolated substances in Intracavernosal injection: a systematic review and meta-analysis. J Sex Med. 2025;22(9):1579-1591. doi:10.1093/jsxmed/qdaf172

  8. 8. Chung E, Cartmill R. Evaluation of long-term clinical outcomes and patient satisfaction rate following low intensity shock wave therapy in men with erectile dysfunction: A minimum 5-year follow-up on a prospective open-label single-arm clinical study. Sex Med. 2021;9(4):100384. doi: 10.1016/j.esxm.2021.100384.

  9. 9. Bettocchi C, Palumbo F, Spilotros M, et al, Patient and partner satisfaction after AMS inflatable penile prosthesis implant. J Sex Med. 2010;7(1 Pt 1):304-309. doi: 10.1111/j.1743-6109.2009.01499.x

  10. 10. McAbee KE, Pearlman AM, Terlecki RP. Infection following penile prosthesis placement at an academic training center remains low despite involvement of surgeons-in-training. Investig Clin Urol. 2018;59(5):342-347. doi: 10.4111/icu.2018.59.5.342

Key Points

  • Vascular, neurologic, psychological, and hormonal disorders and sometimes medication use can compromise achievement of satisfactory erections.

  • Evaluate all men with ED for hormonal, neurologic, and vascular disorders and depression.

  • Measure testosterone levels and consider other testing based on clinical findings.

  • Treat underlying disorders and use an oral PDE5 inhibitor if necessary.

  • If oral PDE5 inhibitors are not effective or tolerated, other treatment options for ED include vacuum erection devices, intracavernosal injections, and penile prosthesis surgery.

Drug Information for the Topic

quizzes_lightbulb_red
Test your KnowledgeTake a Quiz!
iOS ANDROID
iOS ANDROID
iOS ANDROID