Most guides to ED causes are either too superficial ("stress can do it") or too medicalized to be useful to someone trying to figure out what's happening. This is the version I would hand to a patient: six root-cause categories, how they interact, which tests actually matter, and the single most important thing to know — that new-onset ED in a man over 40 can be an early warning of heart disease, not just a sexual complaint. Mapped to the AUA guideline, NIDDK, and Mayo Clinic Proceedings evidence.
TL;DR
Six categories of causes: vascular, neurological, hormonal, psychological, medication-related, lifestyle — most men have more than one
Most common overall (age 40+): vascular — atherosclerosis of small penile arteries, same process as heart disease
"Canary in the coal mine": new-onset ED often precedes a major cardiac event by 2–5 years
PDE5 inhibitors work well for vascular and neurological ED; hormonal and psychological causes need targeted treatment
Lifestyle changes are underrated: weight loss, exercise, smoking cessation measurably improve ED
How an erection works — and why it can fail
An erection is a vascular event that depends on intact nerves, hormones, psychology, and blood vessels all working in sequence. Sexual stimulation triggers nerves in the pelvis to release nitric oxide in the penile arteries. Nitric oxide relaxes smooth muscle, the corpora cavernosa fill with blood, and an erection results. To maintain it, venous outflow is compressed; for the erection to end, smooth muscle recontracts. Any link in this chain can fail — which is why "ED" is a single name for what is actually many different clinical problems.
Atherosclerosis — the buildup of plaque inside arteries — progresses everywhere in the body at roughly the same rate. Because the arteries that fill the penis are narrower (about 1–2mm) than the coronary arteries (3–4mm), they tend to show symptomatic narrowing earlier. For many men, ED is the first vascular symptom they notice — often years before chest pain, shortness of breath, or a stroke.
A widely cited analysis published in Mayo Clinic Proceedings found that new-onset ED in men with cardiovascular risk factors preceded a major cardiac event (heart attack, stroke, cardiovascular death) by approximately 2–5 years on average. That's the "canary in the coal mine" framing: the penis flags a vascular problem before the heart does.
Dyslipidemia — high LDL, low HDL, high triglycerides
Diabetes — both microvascular and macrovascular damage, and neuropathic overlap
Smoking — rapidly impairs endothelial function; among the most potent single risk factors
Obesity and metabolic syndrome
Sedentary lifestyle
The AHA/Princeton Consensus III formally recommends treating new-onset ED in a man over 40 as a prompt for cardiovascular risk screening, not just as a sexual complaint.
2. Neurological
Nerves carry the initial signal from the central nervous system to the penis and also trigger local nitric oxide release. Disorders that damage those nerves can cause ED even when the blood supply is intact. Common neurological causes:
Diabetic neuropathy — one of the most common specific neurological causes; overlaps with the vascular diabetic picture
Spinal cord injury or compression — depending on level, may preserve reflexogenic but not psychogenic erections
Multiple sclerosis — ED is common, sometimes an early symptom
Pelvic surgery — radical prostatectomy for prostate cancer damages the neurovascular bundles along the prostate; nerve-sparing techniques help but ED is still common
Pelvic radiation — radiation for prostate or rectal cancer can damage both nerves and vessels
Parkinson's disease, stroke — central nervous system contributions
Peripheral neuropathy — from diabetes, alcohol use, B12 deficiency, chemotherapy
Neurological ED often responds to PDE5 inhibitors (they act downstream of most nerve damage) but men with complete spinal cord injury or radical prostatectomy may need second-line therapies (penile injections, vacuum devices, or implants).
3. Hormonal
Hormonal causes get disproportionate attention in direct-to-consumer marketing, but in formal urology they account for a smaller share of ED than vascular or psychological causes. They matter most when libido is also reduced.
Low testosterone (hypogonadism): Primary (testicular) or secondary (pituitary/hypothalamic). The AUA recommends checking a morning total testosterone for men with ED, especially those with low libido, fatigue, reduced body hair, or reduced morning erections. Clinical deficiency is typically defined as <300 ng/dL on two morning measurements.
Thyroid disease: Both hyperthyroidism and hypothyroidism can contribute to ED; correction usually improves it.
Hyperprolactinemia: Elevated prolactin (from a pituitary adenoma, medications like risperidone, or rarely hypothyroidism) suppresses testosterone and can cause ED with low libido.
Adrenal insufficiency: Rare.
Obesity and metabolic syndrome: Shifts sex hormone-binding globulin and converts testosterone to estradiol in adipose tissue, effectively lowering bioavailable testosterone.
If testosterone is low and replacement is considered, there are important caveats — not every low level benefits from replacement, and replacement has its own risks (polycythemia, suppression of fertility, potential cardiovascular considerations). Endocrinology or urology consult is reasonable when replacement is being considered.
4. Psychological
Psychological causes are more prominent in younger men but play a role at every age, and often coexist with physical causes in a "performance anxiety cycle" — one failed erection breeds anticipatory anxiety that makes the next one harder.
Performance anxiety — the single most common psychological driver, especially at sexual transitions (new partner, post-illness, post-divorce)
Depression and anxiety disorders — both direct effects and via the medications used to treat them
Relationship conflict — harder to quantify but clinically common
Porn-induced erectile dysfunction (PIED) — a clinical pattern recognized more recently: younger healthy men with difficulty achieving erections with partners but not while using pornography. Evidence base is still developing but the pattern is well-characterized in practice.
Diagnostic clue: psychological ED often preserves morning erections and erections with masturbation. Disease-based ED usually affects all settings equally.
5. Medication-related
Many common medications list ED as a side effect. The clinically important ones:
SSRIs and SNRIs (fluoxetine, sertraline, paroxetine, venlafaxine, duloxetine) — sexual side effects including ED and delayed ejaculation are common; paroxetine is worst; bupropion has the gentlest profile.
Beta-blockers — older ones (atenolol, metoprolol, propranolol) are more likely to cause ED; carvedilol and nebivolol have less effect.
Thiazide diuretics (hydrochlorothiazide, chlorthalidone) — among the blood pressure meds most likely to cause ED.
Opioids — both acute and chronic use suppress testosterone and contribute to ED.
Antiandrogens — for prostate cancer or BPH (5-alpha-reductase inhibitors like finasteride or dutasteride); ED is an acknowledged but less common side effect at BPH doses; more common at prostate cancer doses.
Older antihistamines (diphenhydramine in high doses) — anticholinergic effects can impair erections.
H2 blockers — cimetidine has weak antiandrogen activity; famotidine is a cleaner substitute.
Recreational drugs — chronic heavy cannabis, stimulants (cocaine, methamphetamine), and alcohol all impair erections over time.
If ED started within weeks or months of starting a new medication, that's a strong clue. Don't stop medications on your own — talk to your prescriber about alternatives. Many classes (especially beta-blockers, SSRIs, and blood pressure medications) have options with better sexual side-effect profiles.
6. Lifestyle and behavior
The landmark JAMA trial of structured lifestyle intervention in obese men with ED found substantial improvement in erectile function with weight loss and exercise alone, no medication required. The biological mechanism: reduced inflammation, improved endothelial function, improved testosterone, better metabolic profile.
Smoking — probably the single most reversible ED risk factor; benefits begin within weeks of quitting.
Excess alcohol — chronic heavy drinking impairs both acute and chronic erectile function.
Physical inactivity — the AHA recommends 150+ minutes weekly of moderate-intensity cardiovascular exercise; men who meet this target have noticeably lower ED rates.
Sleep apnea — strongly associated with ED via sympathetic activation, hypoxia, and testosterone suppression; treating it often improves erections.
Chronic poor sleep — independent contributor even without sleep apnea.
Recreational drugs — as above.
Is age itself a cause?
Technically no — but prevalence rises with age because the diseases that cause ED accumulate with age. Roughly 40% of men at age 40 report some ED, rising to about 70% at age 70 (the Massachusetts Male Aging Study and replications). Many older men without vascular risk factors and on few medications maintain good erectile function into their 70s and 80s. The practical implication: don't accept ED as "just getting older" — look for and treat the underlying cause.
How ED is worked up
For most men, the workup is straightforward and doesn't require specialist referral:
History — onset, pattern (sudden or gradual, situational or consistent), morning erections, prior medications and surgeries, psychological factors, relationship context, cardiovascular risk factors.
Labs — fasting glucose or A1C, lipid panel, morning total testosterone. Sometimes TSH, prolactin, CBC.
Medication review — looking for the offenders listed above.
Cardiovascular risk assessment — especially for men 40+ with new-onset ED, per the AUA ED guideline.
Advanced testing (penile Doppler ultrasound, nocturnal penile tumescence) is reserved for men with equivocal cases, planning for surgical intervention, or medico-legal situations.
How treatment follows the cause
Vascular and neurological ED — PDE5 inhibitors (sildenafil, tadalafil) are first-line; they work in roughly 70–80% of these cases. Lifestyle changes amplify benefit.
Hormonal ED — testosterone replacement if clearly deficient; treat thyroid or prolactin if those are drivers.
Psychological ED — therapy (sex therapy, CBT), address relationship issues, sometimes short-term PDE5 inhibitor to break the anxiety cycle.
Medication-induced ED — swap the offender if possible (e.g., bupropion instead of paroxetine, carvedilol instead of atenolol).
Lifestyle ED — structured interventions; often the highest-yield single move is smoking cessation or weight loss.
PDE5 non-responders — second line: penile injections (alprostadil), intraurethral suppositories, vacuum devices. Third line: penile implants, surgical revascularization in specific cases.
When to see a urologist directly: recent pelvic surgery (prostatectomy), suspected Peyronie's disease or significant penile curvature, persistent low testosterone, failure to respond to two different PDE5 inhibitors at maximum dose, or interest in second-line treatments.
When telehealth fits — and when it doesn't
Telehealth is appropriate for uncomplicated ED: men with probable vascular or psychological causes, stable cardiovascular status (can climb two flights of stairs without chest pain), no red flags on history, no recent pelvic surgery, and no untreated major hormonal issues. For those men, a licensed nurse practitioner can take a complete history, screen for contraindications, and prescribe first-line PDE5 inhibitors appropriately.
Telehealth is not appropriate for: men with unstable cardiac disease, recent MI or stroke, men on nitrates, men with suspected Peyronie's disease, or men who have already failed first-line treatment. Those cases need in-person evaluation.
How Bidwell fits in
Our $45 ED telehealth visit includes a structured history (covering all six cause categories above), cardiovascular screening questions, medication review, and contraindication check (nitrates, unstable heart disease, recent pelvic surgery). If first-line treatment is appropriate — sildenafil or tadalafil — we prescribe to the pharmacy of your choice. If the picture suggests you need labs, a urologist, or in-person cardiology evaluation first, we say so. No insurance needed; medication costs are separate and often $1–5/pill via discount cards.
Frequently asked questions
Can stress alone cause ED?
Yes — acute high-stress periods, burnout, major life changes, and poor sleep can all trigger situational ED even in otherwise healthy men. It's usually reversible as the stressor resolves. If stress-related ED persists for more than a few months, look for coexisting physical causes.
Can ED go away on its own?
Psychological and medication-induced ED often resolves when the underlying factor resolves. Vascular and neurological ED generally doesn't reverse spontaneously — it requires addressing the underlying disease. Either way, persistent ED deserves a workup rather than wait-and-see.
Does masturbation cause ED?
No — normal masturbation does not cause ED. Excessive and specific patterns (particularly with pornography) may contribute to the PIED pattern in a subset of men, but ordinary masturbation is not a cause.
Is ED reversible?
Often yes, with the right approach. Vascular ED improves with cardiovascular risk factor treatment plus PDE5 inhibitors. Lifestyle ED responds to lifestyle change. Medication ED often resolves with a switch. Hormonal ED can be normalized. Even complex ED often responds partially. The key is identifying which drivers are at play.
Is erectile dysfunction a normal part of aging?
No — while prevalence rises with age, ED is not inevitable or untreatable. Most age-associated ED is actually disease-associated ED that happens to cluster with age. Many older men maintain normal function.
Start an ED visit — $45 flat
Licensed NP · Prescription to your pharmacy · 12 states
Clinically reviewed by Bidwell Cranage, APRN, FNP-C, AANP board-certified Family Nurse Practitioner, licensed in 12 states. Last reviewed: April 20, 2026. Educational content only, not medical advice. For chest pain, sudden severe symptoms, or suspected stroke, call 911.