What actually causes erectile dysfunction
ED is a symptom with a long list of possible causes — vascular, hormonal, neurological, pharmacological, and psychological. Knowing which one you're dealing with changes what treatment makes sense.
Written by J. Porter, MPH
Medically reviewed by A. Vance, MD
Published
Last reviewed
Erectile dysfunction is defined as a consistent inability to get or keep an erection firm enough for satisfying sex. The word most people skip over is consistent — occasional difficulty is normal and near-universal, and does not by itself indicate a medical problem.
When it is persistent, ED is best understood as a symptom rather than a diagnosis. An erection requires intact blood vessels, working nerves, adequate hormones, and a nervous system that isn't in fight-or-flight mode. A failure anywhere in that chain produces the same outward result, which is why treating every case identically is a mistake.
Vascular causes
The most common category. An erection is fundamentally a blood-flow event, and the arteries supplying the penis are small — roughly 1–2 mm across, against 3–4 mm for the coronary arteries.
That size difference has an important consequence: the same atherosclerotic process narrows the smaller vessels first. Erectile dysfunction frequently precedes symptomatic heart disease by several years. It is often the first noticeable sign of a systemic vascular problem.
- High blood pressure
- High cholesterol and atherosclerosis
- Type 2 diabetes — damages both vessels and nerves
- Smoking, which directly impairs endothelial function
- Obesity and metabolic syndrome
Neurological causes
An erection begins as a nerve signal. Anything that interrupts the pathway between brain and pelvis can prevent it, regardless of how healthy the blood vessels are.
- Prostate surgery — the nerves controlling erection run immediately alongside the prostate
- Diabetic neuropathy — one reason diabetes is such a strong risk factor
- Spinal cord injury
- Multiple sclerosis, Parkinson's disease, and stroke
- Pelvic radiation or trauma
This distinction matters practically: PDE5 inhibitors amplify the body's own arousal signal, so when the signal itself is absent they may not work. That is precisely the situation where alprostadil — which dilates blood vessels directly — becomes useful.
Hormonal causes
Low testosterone is a real cause but a less common one than its marketing presence suggests. It more typically presents as low desire rather than mechanical failure — if you want sex and can't, low testosterone is less likely than if you've lost interest entirely.
If desire has faded alongside the erections, it is worth measuring properly — two morning blood tests, not a questionnaire. Our testosterone therapy review covers how the diagnosis should be made, and why replacing testosterone does not fix erectile dysfunction in men whose levels are already normal.
Thyroid disorders in both directions, and elevated prolactin, can also contribute. These are straightforward to check with blood work.
Medications
A frequently overlooked cause, and one of the most fixable. If your ED began within a few months of starting a new prescription, that timing is worth raising with your prescriber.
| Drug class | Examples | Notes |
|---|---|---|
| SSRIs and SNRIs | Sertraline, fluoxetine, venlafaxine | Sexual side effects are common and often dose-related |
| Beta blockers | Metoprolol, atenolol | Older agents more than newer ones |
| Thiazide diuretics | Hydrochlorothiazide | A well-documented contributor |
| Antiandrogens | Used in prostate cancer treatment | Effect is expected and substantial |
| Antipsychotics | Various | Often via raised prolactin |
| Heavy alcohol use | — | Both acute and chronic effects |
Psychological causes
Anxiety, depression, relationship conflict, and stress are genuine causes, not a diagnosis of exclusion. Performance anxiety in particular creates a self-reinforcing loop: one difficult episode raises anxiety, which raises sympathetic nervous system activity, which physically opposes the vasodilation an erection requires.
A useful discriminator: do you still get morning erections, or erections during masturbation? If the machinery works in some contexts but not others, the cause is more likely to be situational or psychological than structural. If erections have disappeared across all contexts and did so gradually, an organic cause is more likely.
What this means for treatment
PDE5 inhibitors work well for most causes, which is why they are first-line. But they treat the symptom. The reason to identify the cause is that several of them — untreated diabetes, unmanaged blood pressure, a substitutable medication, an anxiety disorder — are things you would want addressed on their own terms.
Ready to compare the options? Start with our medication comparison.
Common questions
Is ED a normal part of aging?
It becomes more common with age, but it isn't inevitable and it isn't something to simply accept. Age-associated ED usually reflects accumulated vascular and metabolic changes, many of which are treatable.
Can ED go away on its own?
Yes, when the cause is temporary — situational stress, a short course of medication, a period of heavy drinking. Persistent ED over several months is worth evaluating.
Does masturbation or porn cause ED?
There's no good evidence that masturbation causes erectile dysfunction. Some people report that heavy pornography use shifts what they respond to, which is a different mechanism than physical dysfunction, and worth discussing with a clinician or therapist rather than self-diagnosing.
Sources
- 1.Erectile Dysfunction: AUA Guideline — American Urological Association