What Is the Main Cause of Erectile Dysfunction?

The main cause of erectile dysfunction is poor blood flow to the penis, most often from damaged or narrowed blood vessels. Vascular problems underlie the majority of ED cases, especially in men over 40. The combined prevalence of moderate to complete ED rises from about 22% at age 40 to 49% by age 70, and blood vessel health is the single biggest factor driving those numbers. But ED is rarely caused by one thing alone. It typically results from a combination of vascular, hormonal, neurological, psychological, and lifestyle factors that overlap and reinforce each other.

How Blood Vessel Damage Causes ED

An erection depends on a rapid increase in blood flow to the spongy tissue inside the penis. That process starts when the inner lining of blood vessels (the endothelium) releases a signaling molecule called nitric oxide, which relaxes smooth muscle and opens arteries wide. When the endothelium is damaged, it produces less nitric oxide, and the arteries can’t dilate enough to trap blood and maintain firmness.

This is the same process behind heart disease. Conditions like high blood pressure, high cholesterol, and atherosclerosis (plaque buildup in arteries) damage blood vessel linings throughout the body. Because the arteries supplying the penis are smaller than those feeding the heart, they tend to show damage earlier. That’s why ED often appears years before a heart attack or stroke, and why doctors sometimes treat new ED as an early warning sign of cardiovascular disease.

Diabetes and ED

Diabetes is one of the strongest individual risk factors. The prevalence of ED is three times higher in men with diabetes compared to the general population: roughly 28% versus 9.6%. Among diabetic men, the rate climbs steeply with age, from about 15% at age 30 to 55% by age 60.

Diabetes causes ED through multiple pathways at once. Chronically elevated blood sugar damages both blood vessels and nerves, particularly the small vessels and nerve fibers that control erections. It also accelerates atherosclerosis and increases oxidative stress, which further reduces the availability of nitric oxide. The combination of vascular and nerve damage makes diabetes-related ED harder to treat and more likely to worsen over time if blood sugar remains poorly controlled.

The Role of Psychological Factors

Not all ED starts with a physical problem. Performance anxiety is considered a major cause of psychogenic erectile dysfunction, particularly in younger men. Fear of failure creates a feedback loop: one episode of difficulty leads to anxiety about the next attempt, which makes the problem more likely to recur. Relationship conflict and lack of adequate stimulation are also common immediate triggers.

Depression has an especially strong link. In the Massachusetts Male Aging Study, men who reported depressive symptoms were nearly three times as likely to experience ED. Those with pessimistic attitudes had even higher odds, at nearly four times the risk. A separate national survey found that self-reported emotional stress carried a similar risk increase. Psychogenic ED frequently coexists with low sexual desire and with clinical anxiety or depression, which means treating the erection problem alone often isn’t enough.

In practice, the line between “physical” and “psychological” ED blurs quickly. A man whose blood flow has slightly declined may function fine until stress or anxiety tips the balance. Once that happens, the psychological component can sustain the problem long after the original physical trigger would have resolved on its own.

Low Testosterone

Testosterone plays a supporting role in erectile function rather than a starring one. The American Urological Association uses a total testosterone level below 300 ng/dL as the diagnostic cutoff for low testosterone. Below that threshold, men are more likely to experience reduced desire, difficulty achieving erections, and lower energy. But a diagnosis requires both low levels on a blood test and actual symptoms. Many men with testosterone on the lower end of normal have no erectile problems at all.

Low testosterone becomes more common with age and is also associated with obesity, type 2 diabetes, and chronic illness. When it does contribute to ED, it typically shows up as reduced libido first, with erection difficulties following. Testosterone replacement can improve desire and erection quality in men who are genuinely deficient, but it doesn’t help much when testosterone levels are already in the normal range.

Nerve Damage and Neurological Conditions

Erections require an intact signaling pathway from the brain through the spinal cord to the penis. When nerves along that pathway are damaged, signals can’t get through properly. Pelvic surgery (especially prostate removal), radiation therapy, and spinal cord injuries are common causes. Neurological conditions like multiple sclerosis, stroke, and spinal stenosis can also disrupt the nerve signals needed to initiate or maintain an erection.

Nerve-related ED tends to be more predictable than vascular ED. Men who’ve had prostate surgery, for example, usually know exactly when the problem started. Recovery depends on how much nerve tissue was preserved during the procedure, and it can take months to years for function to return, if it does.

Medications That Cause ED

Several widely prescribed drug classes list ED as a side effect. Among blood pressure medications, water pills (thiazides) are the most common culprits, followed by beta-blockers. Many antidepressants, including common SSRIs, can impair erections and reduce desire. Antihistamines, opioid painkillers, Parkinson’s disease medications, and hormonal treatments used in prostate cancer also carry significant risk.

If you started a new medication around the time ED began, the timing alone is worth mentioning to your prescriber. In many cases, switching to a different drug in the same class can resolve the problem without sacrificing treatment for the underlying condition.

Smoking, Obesity, and Other Lifestyle Risks

Current smokers have about 1.7 times the odds of developing ED compared to men who have never smoked. Smoking damages blood vessel linings directly, reduces nitric oxide production, and accelerates atherosclerosis. The effect is dose-dependent: heavier smokers face higher risk, and quitting gradually improves vascular function over time.

Excess weight, particularly abdominal fat, drives ED through multiple mechanisms. It increases inflammation, promotes insulin resistance, lowers testosterone, and raises blood pressure and cholesterol. Physical inactivity compounds these effects. Sedentary men have significantly higher rates of ED than those who exercise regularly, even after accounting for age and other health conditions.

Alcohol also plays a role. Moderate drinking has a relatively neutral effect, but heavy or chronic alcohol use damages nerves, suppresses testosterone production, and impairs liver function in ways that disrupt hormone balance. Recreational drugs, including cannabis and cocaine, can also interfere with erections through various pathways.

Why Multiple Factors Usually Overlap

Most men with ED don’t have a single clean cause. A 55-year-old with mildly elevated blood pressure, 20 extra pounds, some work-related stress, and an antidepressant prescription may find that no single factor would cause ED on its own, but together they cross a threshold. This is why treatment often works best when it addresses several contributing factors at once: improving cardiovascular fitness, adjusting medications, managing stress, and sometimes adding a targeted medication for erections.

The age-related statistics reflect this layering effect. At 40, about 39% of men experience some degree of erectile difficulty. By 70, that rises to 67%. The increase isn’t because aging itself destroys erectile function. It’s because the conditions that impair blood flow, nerve signaling, and hormonal balance accumulate over decades. Men who maintain cardiovascular health, healthy weight, and regular physical activity retain erectile function significantly longer than those who don’t.