Erectile Dysfunction (ED): Causes, Diagnosis, and Treatment Options

Erectile Dysfunction (ED): Causes, Diagnosis, and Treatment Options

Erectile dysfunction is common: an estimated 30 million American men experience some degree of difficulty getting or keeping an erection, and the proportion climbs steeply with age. Erectile dysfunction is not simply a sexual problem; it can be the first visible symptom of cardiovascular, metabolic, or hormonal disease that has been developing quietly for years. The Massachusetts Male Aging Study (MMAS) found that some form of ED affects roughly 52% of men between 40 and 70, with severity rising after age 60. Most cases are treatable — but many men never bring it up with a clinician, which is exactly the wrong instinct, because that conversation can catch a serious underlying condition early. This guide is educational and is not a substitute for personalized medical advice; any diagnosis or treatment should come from a licensed clinician who knows your history.

What Erectile Dysfunction Actually Is

Clinicians generally define ED as the consistent inability to achieve or maintain an erection sufficient for satisfactory sexual activity. Occasional difficulty is nearly universal and is not, by itself, a disease. The usual threshold for diagnosis is symptom persistence over roughly three months, severe enough to cause personal distress.

A penile erection involves a tightly choreographed sequence: nerve signals release nitric oxide in the corpora cavernosa, smooth muscle relaxes, arterial blood inflow increases, and venous outflow is compressed by the swelling tissue. A breakdown anywhere in that chain — vascular, neurologic, hormonal, or psychological — can produce the same end result. That is why ED is sometimes described as a “canary in the coal mine” for systemic vascular disease: the small penile arteries can narrow before the larger coronary arteries do, so ED can surface before a heart problem announces itself. The American Urological Association (AUA) Guideline on Erectile Dysfunction emphasizes that a new diagnosis of ED should prompt consideration of cardiovascular risk. MedlinePlus, the NIH’s consumer health service, likewise frames ED as a possible sign of health problems that should be discussed with a doctor rather than ignored.

Stay ahead in healthcareThe latest happenings in the medical field — free, about monthly, no spam.

Why Erections Fail: The Major Causes

Vascular disease is generally the single largest contributor in men over 50. Atherosclerosis, hypertension, diabetes, and abnormal cholesterol all impair endothelial function, reducing nitric oxide availability and arterial inflow. According to the NIDDK, men with diabetes are substantially more likely to develop ED — commonly cited as roughly three times the risk — and often earlier than men without diabetes.

Because ED can be an early warning of heart disease, evaluation matters even when the symptom seems purely sexual. New-onset ED in a man who is otherwise well can be the first clue that cardiovascular risk factors need attention, which is one reason clinicians take it seriously rather than treating it as a standalone nuisance.

Neurologic causes include pelvic surgery (especially radical prostatectomy), spinal cord injury, multiple sclerosis, Parkinson disease, and diabetic neuropathy. Hormonal contributions are smaller than commonly believed but real — symptomatic low testosterone, elevated prolactin, and thyroid disorders can reduce libido and erectile quality. Medications matter too: some antihypertensives (particularly thiazide diuretics and non-selective beta-blockers), SSRIs, finasteride, and opioids are well-documented contributors. Psychological causes — performance anxiety, depression, relationship strain — frequently coexist with physical causes rather than replacing them, so “it’s just in my head” is rarely the whole story.

Symptoms and Patterns

The presentation is rarely all-or-nothing. Men typically describe a gradient: erections that are softer than they used to be, take longer to develop, lose rigidity during intercourse, or fail without warning. Sudden-onset ED in a younger man who still has firm morning erections may point toward a psychological component. Gradual progression with absent nocturnal erections points more toward an organic cause. These patterns are clues, not diagnoses — only a clinician can sort them out in context.

The Sexual Health Inventory for Men (SHIM), a five-item questionnaire scored from 1 to 25, is a commonly used screening tool. Lower scores suggest greater degrees of ED. Many primary care offices and telehealth providers use the SHIM at intake, but a questionnaire is a starting point for a conversation, not a substitute for evaluation.

How ED Is Diagnosed

Diagnosis is mostly clinical. A focused history covers onset, situational versus generalized symptoms, libido, ejaculatory function, partner factors, medications, and cardiovascular risk. The physical exam looks for signs of hypogonadism, peripheral vascular disease, neuropathy, and penile abnormalities such as Peyronie’s plaques.

Recommended labs commonly include a morning total testosterone, fasting glucose or HbA1c, a lipid panel, and TSH, chosen based on the individual. Specialty testing — nocturnal penile tumescence monitoring, penile duplex ultrasound, dynamic infusion cavernosometry — is generally reserved for atypical presentations, treatment failure, or pre-surgical planning. The Mayo Clinic notes that most men do not need invasive testing before starting first-line therapy.

Treatment Options That Actually Work

For most men without contraindications, first-line therapy is a PDE5 inhibitor: sildenafil, tadalafil, vardenafil, or avanafil. These medications amplify the nitric oxide signal and, across studies, help a majority of users — often cited in the range of roughly 60 to 70% — though results vary by underlying cause. Generics have made the class affordable; sildenafil and tadalafil are frequently available at low cost through pharmacy discount programs. A direct comparison of the four agents is covered in our ED medications guide.

Critical safety point: PDE5 inhibitors are prescriber-directed and are not risk-free. They must never be combined with nitrates in any form — nitroglycerin, isosorbide, or recreational “poppers” (amyl/butyl nitrite) — because the combination can cause a sudden, dangerous drop in blood pressure. They also require caution with certain alpha-blockers and in men with significant heart disease, unstable angina, recent heart attack or stroke, very low or poorly controlled blood pressure, or certain eye conditions. This is precisely why these drugs require a clinician’s evaluation rather than self-selection: the right choice, dose, and timing depend on your other medications and your cardiovascular status. Do not self-dose, do not borrow someone else’s prescription, and do not buy ED pills from unverified online sellers or “pharmacies” that skip a prescription — counterfeit tablets are widespread and may contain the wrong dose, contaminants, or undeclared active drugs.

Second-line options include intraurethral alprostadil (MUSE), intracavernosal injection therapy (alprostadil, or combinations such as bimix and trimix), and vacuum erection devices. Injection therapy has one of the highest success rates of any non-surgical option but requires training and carries small risks of prolonged erection (priapism) and, over time, scarring. Third-line therapy, after medical options fail, is a penile implant, which offers durable mechanical erections with high satisfaction rates in published series. Low-intensity shockwave therapy is increasingly marketed but is still considered investigational under current AUA guidance, so approach the marketing claims with caution.

Lifestyle interventions are not a side note. Weight loss, smoking cessation, regular aerobic exercise, and better blood-sugar and blood-pressure control can measurably improve erectile function in some men, particularly those with metabolic syndrome — and they address the cardiovascular risk that ED may be flagging in the first place. Treating coexisting sexual concerns and involving a partner in counseling can improve outcomes regardless of the medical pathway chosen.

When to See a Doctor

Persistent erectile difficulty lasting more than two to three months warrants a clinical evaluation, even if the symptoms are mild. New-onset ED in a man under 50 is particularly worth evaluating because it has been associated with increased cardiovascular risk in the following years. You should also seek evaluation if ED appears suddenly after starting a new medication, after pelvic surgery, or alongside symptoms such as fatigue, low mood, or reduced libido that could point to a hormonal cause. A short visit can rule out serious underlying disease and start effective treatment.

When to seek emergency care: Call 911 or go to the nearest emergency room if you experience chest pain, severe shortness of breath, or fainting after taking a PDE5 inhibitor, or if an erection lasts longer than four hours (priapism), which is a medical emergency. For more on emergency erectile complications, see our priapism guide. Information on related cardiovascular and metabolic conditions is on our medical conditions hub.

Frequently Asked Questions

Is erectile dysfunction reversible?

Sometimes. ED driven by medication side effects, untreated sleep apnea, hormonal imbalance, or modifiable cardiovascular risk often improves substantially when the underlying cause is addressed. Long-standing vascular ED is more often managed than fully reversed, but most men respond well to treatment. A clinician can tell you what is realistic in your case.

How young is too young to have ED?

ED in men under 40 is less common but not rare — estimates often suggest that a meaningful minority of men in their 20s and 30s report symptoms. Younger men with persistent ED are worth evaluating for cardiovascular risk factors, hormonal causes, and psychological contributors rather than assuming the issue is “just stress.”

Do supplements like L-arginine, ginseng, or DHEA work?

The evidence is limited and inconsistent, and quality control across the supplement industry is uneven. The FDA has repeatedly warned about over-the-counter “male enhancement” products found to contain undeclared PDE5 inhibitors, which can interact dangerously with nitrates. Most urologists recommend evaluated, prescription therapy over unverified supplements.

Will Medicare or insurance cover ED treatment?

Coverage varies. Many commercial plans and Medicare Part D cover generic sildenafil and tadalafil, sometimes with prior authorization or quantity limits. Penile implants are often covered when medically necessary. Newer or off-label therapies — shockwave, “P-shot,” peptides — are usually paid out of pocket. Confirm specifics with your plan.

Can I just buy ED pills online without seeing a doctor?

You should not. Legitimate telehealth services still require a clinician’s evaluation before prescribing, precisely because PDE5 inhibitors interact with nitrates and heart medications. Sites that ship these drugs with no medical review are a red flag, and counterfeit tablets are a documented danger. See a clinician first.

The Bottom Line

Erectile dysfunction is common, usually treatable, and often a window into broader health. The diagnostic workup is typically simple, first-line oral therapy is affordable, and effective options exist at every step for men who do not respond to pills. But the medications carry real interactions — never combine them with nitrates, and never self-dose — so the single most valuable step is also the hardest: bringing it up with a clinician. A short visit with a primary care physician or urologist can rule out serious underlying disease and start treatment that, for the majority of men, restores function within weeks rather than years.

Medical disclaimer: This article is for general educational purposes only and is not medical advice, diagnosis, or treatment. Erectile dysfunction can be an early sign of heart disease, so it deserves a real evaluation. PDE5 inhibitors (sildenafil, tadalafil, and similar) are prescription medications that must never be combined with nitrates and require caution with certain blood-pressure drugs and heart conditions — they should be prescribed and dosed only by a licensed clinician. Do not self-dose or buy ED pills from unverified online sources. If an erection lasts more than four hours, or you have chest pain or fainting after taking one of these drugs, seek emergency care. Always consult a qualified healthcare professional about your situation.

Sources

  • American Urological Association (AUA) — Erectile Dysfunction Guideline (auanet.org)
  • Mayo Clinic — Erectile dysfunction: diagnosis and treatment (mayoclinic.org)
  • MedlinePlus / U.S. National Library of Medicine — Erectile Dysfunction (medlineplus.gov)
  • NIDDK, National Institutes of Health — Erectile Dysfunction (niddk.nih.gov)
  • Urology Care Foundation — Erectile Dysfunction (urologyhealth.org)