An erection is a vascular event
To understand what goes wrong, it helps to understand what has to go right. An erection is fundamentally about blood flow. Sexual arousal triggers the release of nitric oxide in the penis, which relaxes the smooth muscle in the arteries. Blood rushes in, the spongy tissue fills, and the swelling compresses the veins that would normally drain it — trapping blood and producing rigidity.
That sequence requires four systems in working order: healthy blood vessels to deliver flow, intact nerves to carry the signal, adequate hormones to drive desire and tissue health, and a mental state of arousal rather than anxiety. ED happens when one or more of these breaks down.
Vascular causes: the most common driver
The leading physical cause of ED, especially after 40, is reduced blood flow. Atherosclerosis — the buildup of plaque that narrows and stiffens arteries — is the usual mechanism. The arteries supplying the penis are narrow (around 1–2 mm), so they often show the effects of vascular disease before the larger coronary arteries of the heart do.
This is the single most important thing to understand about ED: it can be the body’s early-warning system. Studies have found that ED frequently precedes a cardiac event by three to five years. Conditions that damage blood vessels — high blood pressure, high cholesterol, diabetes, smoking, and obesity — are also the leading risk factors for ED. Treating the erection without asking why it happened can mean missing a treatable cardiovascular problem.
Erectile dysfunction is often the first visible sign that the cardiovascular system needs attention — the penis can be a barometer for the heart.
Neurological causes: when the signal fails
Even with healthy arteries, an erection requires the nerve signal to reach them. Conditions that damage nerves can interrupt that pathway. Diabetes is the most common — over time, high blood sugar damages both the small blood vessels and the nerves (diabetic neuropathy), a double hit that makes ED particularly common in men with diabetes.
Other neurological causes include multiple sclerosis, Parkinson’s disease, spinal cord injury, stroke, and nerve damage from pelvic surgery — especially prostate surgery, where the nerves controlling erections run close to the prostate and can be affected even when the procedure goes well.
Hormonal causes: testosterone and beyond
Low testosterone is often blamed for ED, but the relationship is more nuanced than the supplement aisle suggests. Testosterone’s main role is in desire rather than the mechanical erection itself. A man with genuinely low testosterone may experience reduced libido that indirectly affects erections, while many men with ED have perfectly normal testosterone and a purely vascular or psychological cause.
Other hormonal contributors include thyroid disorders and elevated prolactin. Because hormones are only one piece, a thorough evaluation checks them rather than assuming testosterone is the answer. If low testosterone is confirmed and symptomatic, it can be addressed — our guide to clinician-supervised TRT covers what that process looks like.
Medications and lifestyle factors
A surprising number of common medications list ED as a side effect. The frequent offenders include:
- Blood-pressure drugs — particularly beta-blockers and thiazide diuretics.
- Antidepressants — especially SSRIs, which commonly affect sexual function.
- Antihistamines and some prostate medications.
Lifestyle matters too. Smoking damages blood vessels directly. Heavy alcohol use impairs both the nervous system and hormones. Excess weight, a sedentary routine, poor sleep, and chronic stress all push in the wrong direction. The encouraging flip side: these same factors are modifiable, and improving them often improves erectile function alongside overall health.
Psychological causes
The brain is where arousal begins, and psychological factors can override an otherwise healthy body. Performance anxiety is the classic example — and it feeds on itself, because a single difficult experience can create worry that makes the next one harder. Stress, depression, relationship conflict, and even the pressure created by ED itself can all contribute.
A practical clue helps distinguish psychological from physical causes: men whose ED is primarily psychological usually still have spontaneous erections during sleep or upon waking. A consistent absence of those nighttime erections points more toward a physical cause. In reality, the two often blend — a minor physical issue creates anxiety, and the anxiety amplifies the problem.
When to get evaluated
Occasional difficulty is normal and not cause for alarm — fatigue, alcohol, and stress can all produce a one-off. But ED that is persistent, that is getting worse, or that appears alongside other symptoms deserves a clinical evaluation. Because ED can be the visible edge of cardiovascular disease, diabetes, or a hormonal problem, the goal is not just to restore erections but to understand why they changed.
A good evaluation reviews your health history, medications, and risk factors, and may include lab work to check hormones, blood sugar, and lipids. Effective treatments exist for nearly every cause — from PDE5 inhibitors like sildenafil and tadalafil to addressing the underlying condition. PepScribe’s sexual health pathway starts with a licensed clinician reviewing the whole picture.
Frequently asked questions
What is the most common cause of erectile dysfunction?
In men over 40, the most common cause is vascular — reduced blood flow due to atherosclerosis (narrowing of the arteries). The same process that affects the heart affects the small arteries of the penis, often earlier because those vessels are narrower. In younger men, psychological factors such as anxiety are more frequently the primary driver.
Is erectile dysfunction physical or psychological?
It can be either, and is often both. Physical causes (vascular, hormonal, neurological, medication-related) and psychological causes (performance anxiety, stress, depression, relationship issues) frequently coexist. A useful clue: men whose ED is primarily psychological often still have spontaneous nighttime or early-morning erections, whereas a consistent absence of those points toward a physical cause.
Can erectile dysfunction be a sign of a serious health problem?
Yes. Because ED often reflects impaired blood flow, it can be an early warning sign of cardiovascular disease — sometimes appearing years before a heart attack or stroke. ED is also linked to diabetes, high blood pressure, and high cholesterol. This is why a new onset of ED is worth a medical evaluation rather than just treating the symptom.
Does low testosterone cause erectile dysfunction?
Low testosterone can contribute to ED, but it is less commonly the sole cause than many men assume. Testosterone primarily affects libido (desire). Some men with low testosterone have reduced desire that indirectly affects erections, while others have normal testosterone and a purely vascular or psychological cause. This is why a proper evaluation checks hormones rather than assuming.
Can medications cause erectile dysfunction?
Yes. Common culprits include certain blood-pressure medications (especially beta-blockers and thiazide diuretics), antidepressants (particularly SSRIs), antihistamines, and some medications for prostate enlargement. If ED began after starting a new medication, that timing is an important clue to share with your clinician — sometimes an alternative is available.
Is erectile dysfunction a normal part of aging?
ED becomes more common with age, but it is not an inevitable or untreatable part of getting older. Aging is associated with the conditions that cause ED — vascular disease, diabetes, low testosterone — rather than directly causing it. Many men in their 60s, 70s, and beyond maintain healthy erectile function. When ED appears, it is a treatable medical issue, not a verdict.