Erectile Dysfunction: Causes, Treatments, and What Works
Health & Wellness

Erectile Dysfunction: Causes, Treatments, and What Works

An evidence-based look at erectile dysfunction — from underlying causes and risk factors to FDA-approved treatments, lifestyle changes, and emerging therapies backed by major medical institutions.

What Is Erectile Dysfunction?

Erectile dysfunction (ED) is the persistent difficulty achieving or maintaining an erection firm enough for sexual activity. It affects an estimated 30 million men in the United States alone, and more than half of men between ages 40 and 70 experience some form of ED, according to the Mayo Clinic. While occasional trouble with erections is normal, ongoing issues lasting three months or more warrant a conversation with a healthcare professional.

ED is not an inevitable part of aging. Many men maintain good erectile function well into their later years through healthy lifestyle habits. The condition is highly treatable across all age groups, and a wide range of options exists — from oral medications to devices, injections, and surgical implants.

Critically, ED can also be a marker of broader health problems. The Harvard Special Health Report on Erectile Dysfunction notes that in up to one-third of men who see a doctor for ED, the condition is the first indication of underlying cardiovascular disease.

How an Erection Works

Understanding ED starts with understanding the erectile process. Sexual arousal triggers a complex cascade involving the brain, hormones, nerves, muscles, and blood vessels. The brain sends signals through the spinal cord to nerves in the penis. These nerves release nitric oxide, which relaxes smooth muscle in the penile arteries, allowing blood to rush into the corpora cavernosa — two sponge-like chambers that run the length of the penis. As these chambers fill with blood, pressure traps the blood, producing an erection.

A disruption at any point in this sequence can cause ED. The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) emphasizes that ED can result from physical problems (vascular, neurological, or hormonal), psychological factors (stress, anxiety, depression), or most commonly, a combination of both.

Physical Causes of ED

Physical factors account for the majority of ED cases, particularly in older men. The most common physical causes include:

  • Cardiovascular disease: Atherosclerosis (plaque buildup in arteries) reduces blood flow to the penis. Because penile arteries are smaller than coronary arteries, ED often appears years before heart symptoms.
  • Diabetes: High blood sugar damages nerves and blood vessels over time. Men with diabetes are two to three times more likely to develop ED.
  • High blood pressure and high cholesterol: Both conditions damage the endothelial lining of blood vessels, impairing nitric oxide production and blood flow.
  • Obesity: Excess weight contributes to inflammation, insulin resistance, and hormonal changes that impair erectile function.
  • Low testosterone: While not the most common cause, low testosterone can reduce libido and contribute to ED. The Mayo Clinic notes that testosterone replacement may help when low levels are confirmed.
  • Neurological conditions: Parkinson's disease, multiple sclerosis, and spinal cord injuries can disrupt nerve signals needed for erections.
  • Medications: Antidepressants, antihistamines, blood pressure drugs (especially thiazide diuretics and beta-blockers), and prostate medications can cause or worsen ED.
  • Peyronie's disease: Scar tissue in the penis causes curvature and pain that can interfere with erectile function.
  • Prostate cancer treatments: Surgery and radiation for prostate cancer commonly affect erectile nerves and blood supply.
  • Smoking and alcohol: Tobacco use doubles the risk of ED. Heavy alcohol consumption impairs nerve function and reduces testosterone.

Psychological Causes of ED

The brain is the most important sexual organ. Psychological factors can cause ED independently or compound physical causes. Common psychological contributors include:

  • Performance anxiety: Worrying about erectile performance creates a feedback loop where fear of failure causes failure.
  • Depression: Depression dampens arousal and libido through neurotransmitter imbalances. Many antidepressants also worsen ED.
  • Stress: Chronic stress elevates cortisol, which suppresses testosterone and diverts blood flow away from non-essential functions.
  • Relationship issues: Unresolved conflict, poor communication, or loss of intimacy with a partner can inhibit sexual response.

Dr. Michael O'Leary, a urologist at Harvard-affiliated Brigham and Women's Hospital, emphasizes that psychological ED is not "all in your head" — it is a genuine physiological response to emotional states. Sex therapy, cognitive behavioral therapy, and couples counseling can be highly effective, often in combination with medical treatments.

ED as an Early Warning Sign

One of the most important facts about ED is that it frequently precedes cardiovascular events. Because the arteries supplying the penis are about 1–2 mm in diameter — much smaller than coronary arteries — they are among the first to show signs of endothelial dysfunction and plaque buildup.

The Mayo Clinic reports that men under age 50 with ED and no obvious cause (such as injury) should be screened for heart disease before starting ED treatment. The Princeton IV Consensus Guidelines recommend that all men with ED undergo cardiovascular risk assessment, as ED confers a 1.5- to 2-fold increased risk of future cardiovascular events.

Oral PDE5 Inhibitors

Phosphodiesterase type 5 (PDE5) inhibitors are the first-line medical treatment for ED. These oral medications work by enhancing the effects of nitric oxide, which relaxes penile smooth muscle and increases blood flow during sexual stimulation. They do not automatically produce an erection — sexual arousal is still required.

Medication Onset Duration Dosage Range Food Considerations
Sildenafil (Viagra) 30–60 min 4–5 hours 25–100 mg Less effective with high-fat meals
Tadalafil (Cialis) 30–60 min Up to 36 hours 5–20 mg (as needed) or 2.5–5 mg (daily) Not affected by food
Vardenafil (Levitra) 30–60 min 4–5 hours 5–20 mg Less effective with high-fat meals
Avanafil (Stendra) 15–30 min 4–6 hours 50–200 mg Can be taken with or without food

PDE5 inhibitors are effective in approximately 70% of men overall, though success rates vary by underlying cause. Men who have nerve or artery damage from diabetes, prostate surgery, or advanced cardiovascular disease may respond less well. The NIDDK advises trying at least two different PDE5 inhibitors before considering a medication ineffective, as up to 50% of initial non-responders will respond to a different drug.

Important contraindications: PDE5 inhibitors must never be taken with nitrates (used for chest pain) or alpha-blockers in some cases, as the combination can cause dangerous hypotension. Men with recent heart attack, stroke, severe liver disease, or certain eye conditions should not use these medications.

Common side effects include headache, facial flushing, nasal congestion, indigestion, and back pain (most common with tadalafil). Priapism (erection lasting more than 4 hours) is rare but requires emergency treatment. Sudden vision or hearing loss, while extremely rare, warrants immediate medical attention.

Other Medical Treatments

When oral medications are ineffective or contraindicated, several other treatment options are available:

  • Alprostadil self-injection: A fine needle delivers medication directly into the corpora cavernosa. Erections occur within 5–20 minutes and last 30–60 minutes. Success rates are approximately 70%. Side effects include mild pain, bruising, and risk of priapism. Combination formulations (BiMix, TriMix) may be more effective than alprostadil alone, according to StatPearls via NIH.
  • Intraurethral alprostadil (MUSE): A tiny pellet is inserted into the urethra with a disposable applicator. The drug is absorbed by surrounding tissues and produces an erection within 10 minutes lasting 30–60 minutes. Some men find the application uncomfortable.
  • Testosterone replacement therapy: For men with confirmed low testosterone and low libido, testosterone therapy (gel, patch, injection, or oral) may improve sexual desire and erectile response, often in combination with PDE5 inhibitors.
  • Vacuum erection devices: A plastic tube is placed over the penis, and a pump creates negative pressure to draw blood into the shaft. A tension ring at the base maintains the erection. Efficacy rates are high (70–80%), though patient satisfaction is moderate due to the mechanical nature of the device. The Harvard Health review notes that vacuum pumps are noninvasive and can be used as often as desired.

Lifestyle Changes That Work

Lifestyle modifications are the foundation of ED management and should be pursued regardless of other treatments. A 2026 meta-analysis published in The Journal of Sexual Medicine found that diet and exercise interventions produced a statistically significant improvement in erectile function (mean difference of 2.35 points on the International Index of Erectile Function).

  • Exercise: Aerobic exercise 30–60 minutes, 3–5 times per week improves endothelial function and blood flow. A study in The Journal of Sexual Health (December 2023) found that the worse a man's ED, the more exercise helped.
  • Weight loss: A 5–10% reduction in body weight has been shown to significantly improve erectile function. Men with a 42-inch waist are 50% more likely to have ED than those with a 32-inch waist, per Harvard Health.
  • Heart-healthy diet: The Mediterranean diet — rich in vegetables, fruits, legumes, whole grains, nuts, seeds, and fatty fish — is consistently associated with lower ED risk. Flavonoid-rich fruits (berries, cherries, apples, citrus) appear particularly beneficial.
  • Smoking cessation: Smoking doubles the risk of ED. Quitting can reverse damage, especially in younger men. Nicotine replacement therapy and prescription aids can help.
  • Alcohol moderation: Limiting alcohol to moderate levels (1–2 drinks per day maximum) improves erectile function. Binge drinking acutely impairs erections and chronically reduces testosterone.
  • Stress reduction: Mindfulness, meditation, therapy, and adequate sleep (7–9 hours) reduce cortisol and support healthy testosterone levels.
  • Pelvic floor exercises (Kegels): Strengthening the pelvic floor muscles can improve erectile rigidity and help prevent venous leak. A typical routine is 30–40 reps spread throughout the day.

Surgical Options

For men who do not respond to or cannot use medications and devices, penile implants offer a permanent solution with high satisfaction rates. The Mayo Clinic reports patient and partner satisfaction exceeding 95% in experienced centers.

  • Inflatable penile prosthesis (IPP): A three-piece device with cylinders placed in the penis, a pump in the scrotum, and a fluid reservoir in the abdomen. Squeezing the pump transfers fluid into the cylinders, producing an erection. A release valve returns fluid to the reservoir. This is the most popular implant type and provides the most natural on-demand erection.
  • Semirigid (malleable) rods: Two bendable rods are implanted in the penis. They keep the penis firm but can be bent upward for sex and downward for concealment. Simpler to use than inflatable devices but provide less girth and cannot be flaccid.
  • Penile artery bypass surgery: Rarely performed and restricted to young, healthy nonsmokers with traumatic arterial injury. Long-term results are limited, and venous leak surgery is no longer recommended as standard care.

Emerging and Experimental Therapies

Several novel treatments are under investigation, though current evidence supports their use only in research settings:

  • Low-intensity extracorporeal shockwave therapy (Li-SWT): Uses acoustic waves to stimulate blood vessel growth. Some studies show short-term benefit, especially in diabetic ED, but long-term data remain insufficient for routine clinical use.
  • Platelet-rich plasma (PRP) injections: Involves injecting concentrated platelets from the patient's own blood into the penis. Small trials show mixed results; a 2025 meta-analysis in The Aging Male concluded that PRP alone or with Li-SWT requires further study before recommendation.
  • Stem cell therapy: Preclinical and early-phase trials are exploring the regenerative potential of mesenchymal stem cells for ED, particularly after prostate surgery. No approved products exist yet.
  • Topical gels: Alprostadil cream is available in some countries as a less-invasive alternative to injections, though efficacy is lower than injectable forms.

Patients should exercise extreme caution with unregulated "herbal Viagra" products. The FDA has issued repeated warnings about such supplements, which may contain undisclosed active ingredients (including actual PDE5 inhibitors) in dangerous or unpredictable dosages.

When to See a Doctor

Occasional erectile difficulties are normal and often resolve on their own. However, the Harvard Health A–Z guide recommends speaking with a healthcare professional if ED persists for three months or more, or if it occurs suddenly after trauma, surgery, or starting a new medication.

Men should also see a doctor if ED is accompanied by reduced libido, testicular changes, breast enlargement, or other signs of hormonal imbalance. Because ED can be an early marker of cardiovascular disease, diabetes, and metabolic syndrome, a comprehensive evaluation may include blood pressure measurement, blood tests (glucose, cholesterol, testosterone, thyroid function), and a physical exam.

The good news: Almost every man with ED can be successfully treated with currently available therapies. The key is starting the conversation and working with a healthcare team to identify the underlying cause and appropriate treatment.

This article is for informational purposes only and does not constitute medical advice. Always consult a qualified healthcare professional for guidance specific to your situation.