Erectile dysfunction affects an estimated 30 million men in the United States and roughly 150 million worldwide. Despite those numbers, most men wait years before seeking treatment — partly due to embarrassment, partly because they assume it is a normal part of aging, and partly because they do not realize ED can be an early warning sign for cardiovascular disease, diabetes, and other serious conditions.
This guide covers what actually causes ED, the full range of treatment options, and when it is time to stop Googling and talk to a doctor.
Quick Answer
ED is almost always treatable. The cause is physical in about 80% of cases, psychological in about 10 to 20%, and often a combination of both. Treatment ranges from lifestyle changes and oral medications (which work for about 70% of men) to more advanced options like injections, devices, and surgery. The most important first step is getting evaluated — because ED is sometimes the first sign of a health problem that matters far more than your sex life.
What Is Erectile Dysfunction?
ED is the consistent inability to achieve or maintain an erection firm enough for satisfactory sexual intercourse. Occasional difficulty is normal and not considered ED. The clinical threshold is generally persistent problems for three months or more.
It is worth distinguishing from:
- Low libido: Reduced desire for sex (a hormonal or psychological issue, not necessarily ED)
- Premature ejaculation: A separate condition involving timing of orgasm
- Performance anxiety: Situational difficulty that may or may not cross into clinical ED
Physical Causes of ED
The majority of ED cases have a physical component. An erection requires healthy blood vessels, nerves, hormones, and smooth muscle coordination. Disruption at any point in that chain can cause problems.
Cardiovascular Disease
This is the big one. The penile arteries are smaller than coronary arteries, which means they clog earlier. ED can precede a heart attack or stroke by 3 to 5 years. Studies show that men with ED have a 44% higher risk of cardiovascular events. If you develop ED in your 40s or 50s with no obvious cause, get your heart checked.
Diabetes
Men with diabetes are 2 to 3 times more likely to develop ED. Both Type 1 and Type 2 diabetes damage blood vessels and nerves over time. Poorly controlled blood sugar accelerates the damage. About 50% of men with diabetes will experience ED within 10 years of diagnosis.
High Blood Pressure
Hypertension damages blood vessel walls and reduces blood flow. Making it worse: many antihypertensive medications (especially beta-blockers and thiazide diuretics) can themselves cause or worsen ED.
Obesity
Excess weight contributes to ED through multiple pathways: increased inflammation, insulin resistance, reduced testosterone, and cardiovascular damage. Men with a BMI over 30 are about 3 times more likely to have ED than men at a healthy weight.
Hormonal Imbalances
Low testosterone directly reduces libido and can contribute to ED, though it is less commonly the sole cause than many men assume. Thyroid disorders, elevated prolactin, and other hormonal issues can also play a role.
Neurological Conditions
Multiple sclerosis, Parkinson's disease, spinal cord injuries, and stroke can all damage the nerve pathways required for erections.
Medications That Cause ED
This is an underappreciated cause. Medications that commonly contribute to ED include:
- Antidepressants: SSRIs (fluoxetine, sertraline, paroxetine) and SNRIs are notorious for sexual side effects
- Blood pressure medications: Beta-blockers (metoprolol, atenolol), thiazide diuretics
- Anti-androgens: Finasteride, dutasteride, spironolactone
- Opioids: Chronic opioid use reduces testosterone and causes ED
- Benzodiazepines: Alprazolam, diazepam
- Antipsychotics: Particularly older typical antipsychotics
If ED started after beginning a new medication, that correlation is worth discussing with your prescriber.
Psychological Causes of ED
Psychological ED is more common in younger men (under 40) and is characterized by situational patterns — for example, difficulty with a partner but normal morning erections or erections during masturbation.
Performance Anxiety
The most common psychological cause. Once a man experiences a single episode of difficulty, the fear of recurrence creates a self-fulfilling cycle. Anxiety triggers adrenaline release, which constricts blood vessels — the exact opposite of what an erection requires.
Depression
Depression both causes ED directly (through neurochemical changes) and indirectly (through medication side effects and reduced libido). It is often a bidirectional relationship — ED worsens depression, which worsens ED.
Relationship Issues
Unresolved conflict, communication breakdown, lack of emotional intimacy, and partner-related stress can all manifest as ED. This is not a weakness — it is normal human neurology.
Stress and Fatigue
Chronic stress elevates cortisol, which suppresses testosterone and impairs vascular function. Sleep deprivation has similar effects. Men who consistently sleep fewer than 6 hours per night have significantly higher rates of ED.
Treatment Options: The Ladder Approach
ED treatment typically follows a step-wise approach, starting with the least invasive options:
Step 1: Lifestyle Modifications
Before reaching for medication, these changes can meaningfully improve erectile function:
- Exercise: 150+ minutes of moderate aerobic exercise per week improves vascular function and ED. Some studies show exercise alone can improve ED as much as medication in mild cases.
- Weight loss: Losing 5 to 10% of body weight can significantly improve ED in overweight men.
- Quit smoking: Smoking damages blood vessels. Quitting can improve ED within months.
- Reduce alcohol: Moderate drinking (1 to 2 drinks) may not be harmful, but chronic heavy use causes ED.
- Sleep optimization: 7 to 9 hours per night. Address sleep apnea if present — it is independently linked to ED.
- Stress management: Therapy, meditation, or simply addressing workload and relationship strain.
Step 2: Oral Medications (PDE5 Inhibitors)
The first-line medical treatment for most men. PDE5 inhibitors are effective in approximately 70% of men regardless of the underlying cause.
- Sildenafil (Viagra): 25–100mg, taken 30–60 minutes before sex. Duration: 4–6 hours.
- Tadalafil (Cialis): 5–20mg, taken 30 minutes before sex or 2.5–5mg daily. Duration: up to 36 hours.
- Vardenafil (Levitra): 5–20mg, taken 30–60 minutes before sex. Duration: 4–6 hours.
- Avanafil (Stendra): 50–200mg, taken 15–30 minutes before sex. Fastest onset of the group.
Important contraindication: PDE5 inhibitors must NEVER be combined with nitrates (nitroglycerin, isosorbide) — the combination can cause dangerous, potentially fatal drops in blood pressure.
Step 3: Other Medical Therapies
- Testosterone replacement: If blood tests confirm low testosterone, TRT can improve libido and may improve erections — though it rarely fixes ED by itself if vascular disease is the primary cause.
- Penile injections (Trimix, alprostadil): Self-administered injections directly into the penis. Sounds terrible, works extremely well — effective in 80 to 90% of men, including those who fail oral medications.
- Urethral suppositories (MUSE): Alprostadil inserted into the urethra. Less effective than injections but avoids needles.
- Vacuum erection devices: External pump that creates negative pressure to draw blood into the penis, maintained with a constriction ring. Non-invasive and drug-free.
Step 4: Surgical Options
- Penile implants: The definitive surgical solution for men who fail all other treatments. Modern inflatable implants have satisfaction rates above 90% for both patients and partners. It is the nuclear option, but it works.
- Vascular surgery: Rarely performed, used only in specific cases of arterial blockage in younger men.
When to See a Doctor
See a doctor if:
- ED has been persistent for more than 3 months
- ED developed suddenly (may indicate vascular event or medication side effect)
- You are under 40 with no obvious psychological cause
- ED is accompanied by other symptoms: chest pain, shortness of breath, frequent urination, or numbness
- You have risk factors for cardiovascular disease (smoking, diabetes, hypertension, family history)
- ED is causing significant psychological distress or relationship problems
- You are considering starting ED medication for the first time
Do not skip the evaluation. A proper workup should include blood pressure, fasting glucose, lipid panel, testosterone level, and thyroid function. ED diagnosed in your 40s could add years to your life if it leads to early detection of heart disease or diabetes.
Bottom Line
ED is common, treatable, and more important than most men realize. It is not just a quality-of-life issue — it is often a vascular health warning sign. The treatment ladder starts with lifestyle changes and oral medications, which are effective for the majority of men. For the rest, there are proven escalation options. The worst approach is ignoring it and hoping it resolves on its own, because the underlying causes rarely do.
Sources
- Feldman HA, et al. Impotence and its medical and psychosocial correlates: results of the Massachusetts Male Aging Study. J Urol. 1994.
- Thompson IM, et al. Erectile dysfunction and subsequent cardiovascular disease. JAMA. 2005.
- American Urological Association. Erectile Dysfunction Guidelines. 2018 (updated 2025).
- Bacon CG, et al. Sexual function in men older than 50 years of age: results from the Health Professionals Follow-up Study. Ann Intern Med. 2003.
- FDA prescribing information for sildenafil, tadalafil, vardenafil, and avanafil.