What Is the Main Cause of Erectile Dysfunction?

The main cause of erectile dysfunction is reduced blood flow to the penis, most often from damaged or narrowed blood vessels. The same process that clogs arteries in the heart, called atherosclerosis, affects the smaller arteries supplying the penis, and because those arteries are narrower, problems there often show up years before heart symptoms do. While psychological factors like stress and anxiety play a role in some cases, the majority of erectile dysfunction has a physical, vascular origin.

How Blood Flow Problems Lead to ED

An erection depends on a rapid increase in blood flow. During arousal, nerves signal the smooth muscle tissue inside the penis to relax. That relaxation allows blood to rush in and fill two sponge-like chambers, creating firmness. The process hinges on a chemical chain reaction: nerve endings and blood vessel walls release a signaling molecule that triggers muscle relaxation in the arterial walls. When those walls are stiff, thickened, or coated with plaque, they can’t dilate enough to let sufficient blood through.

This damage starts at the inner lining of blood vessels, called the endothelium. When that lining stops functioning properly, it reduces blood flow throughout the body. Over time, plaque builds up inside the vessel walls, narrowing them further. The penile arteries are roughly half the diameter of the coronary arteries, so even mild plaque buildup can have a noticeable effect on erections well before it causes chest pain or other cardiac symptoms. That’s why ED is sometimes called an early warning sign of heart disease.

Conditions That Damage Blood Vessels

Several common health conditions accelerate vascular damage and directly raise the risk of ED:

  • Diabetes. Between 35% and 90% of men with diabetes experience erectile dysfunction, depending on age and how well blood sugar is controlled. High blood sugar damages both small blood vessels and the nerves that trigger erections, a double hit that makes diabetes one of the strongest risk factors.
  • High blood pressure. Chronically elevated pressure damages artery walls and speeds up plaque formation. Many blood pressure medications, particularly thiazide diuretics and beta-blockers, can also contribute to ED as a side effect.
  • High cholesterol. Excess cholesterol in the blood fuels the plaque deposits that narrow arteries throughout the body, including those serving the penis.
  • Obesity and metabolic syndrome. Carrying excess body fat, especially around the waist, is associated with insulin resistance, inflammation, and hormonal shifts that all work against healthy erections.

These conditions rarely exist in isolation. A man with high blood pressure, borderline diabetes, and elevated cholesterol faces compounding vascular damage, and each additional condition makes ED more likely and more severe.

The Role of Testosterone

Low testosterone is a contributing factor, though it works differently from vascular causes. Testosterone primarily drives libido, the desire for sex, rather than the physical mechanics of getting an erection. When levels drop, interest in sex fades, and that reduced arousal makes it harder to initiate and maintain erections.

About one in three men evaluated for ED have testosterone levels below 12 nmol/L (roughly 346 ng/dL), the threshold where symptoms typically become noticeable. Testosterone also has downstream effects on vascular health, so low levels can worsen existing blood flow problems. Men with both low testosterone and ED tend to carry more cardiovascular risk factors than those with ED alone.

Medications That Cause or Worsen ED

Prescription drugs are an underappreciated cause. Several widely used medication classes interfere with erections through different mechanisms, including effects on blood flow, nerve signaling, or hormone levels:

  • Blood pressure drugs. Thiazide diuretics are the most common culprits in this category, followed by beta-blockers. Alpha-blockers are less likely to cause problems.
  • Antidepressants and anti-anxiety medications. SSRIs and older antidepressants frequently cause sexual side effects, including difficulty with erections and reduced desire.
  • Opioid painkillers. Long-term use suppresses testosterone production, which lowers libido and impairs erectile function.
  • Prostate medications. Drugs used for enlarged prostate or prostate cancer, including hormonal therapies, commonly affect erections.
  • Antihistamines. Some over-the-counter allergy and heartburn medications can contribute, though the effect is usually mild.

If ED starts or worsens shortly after beginning a new medication, that timing is a strong clue. Switching to an alternative within the same drug class often resolves the issue without sacrificing treatment of the underlying condition.

Smoking and Lifestyle Factors

Smoking is one of the clearest modifiable risk factors. An Italian epidemiological study found that current smokers had 1.7 times the odds of developing ED compared to men who had never smoked. Among men with no history of cardiovascular disease or diabetes, the risk was even higher, with smokers facing 2.4 times the odds. Nicotine constricts blood vessels and damages endothelial lining, the same lining where vascular ED begins.

Quitting helps, but the damage doesn’t reverse overnight. Former smokers still showed 1.6 times the odds of ED compared to never-smokers, suggesting that some vascular damage persists. Sedentary behavior compounds the problem. Regular physical activity improves endothelial function, lowers blood pressure, helps manage weight, and boosts testosterone, all of which directly benefit erectile health. Heavy alcohol use and recreational drug use also impair erections through both neurological and hormonal pathways.

Psychological and Emotional Causes

Not all ED traces back to blood vessels. Depression, anxiety, relationship conflict, and chronic stress can all interfere with arousal. Some men experience erectile difficulties tied to cultural or religious conflicts around sex. Performance anxiety is particularly common and self-reinforcing: one episode of difficulty creates worry about the next encounter, which makes another episode more likely.

A useful distinction is that psychological ED tends to be situational. A man who wakes with normal erections or has no trouble during masturbation but struggles with a partner likely has a psychological component at play. Physical ED, by contrast, tends to be consistent regardless of the situation and develops gradually over months or years rather than appearing suddenly. In practice, the two frequently overlap. A man whose vascular health causes occasional difficulty may then develop performance anxiety that makes the problem worse.

Why Age Matters

ED becomes substantially more common with age, but aging itself isn’t the direct cause. The prevalence of ED in U.S. men over 20 is roughly 18%, but that number climbs steeply with each decade. Among men over 50, estimates range from 32% to over 42%. What changes with age is the accumulation of vascular damage, the progression of chronic diseases like diabetes and hypertension, declining testosterone levels, and increasing use of medications that affect erectile function. A healthy 60-year-old with clean arteries, normal blood pressure, and no diabetes has far better erectile function than a 45-year-old with poorly managed metabolic syndrome.

This is actually encouraging: because the root causes are largely vascular and metabolic, many of the biggest risk factors are things you can influence. Managing blood sugar, keeping blood pressure in a healthy range, staying physically active, maintaining a healthy weight, and not smoking protect erectile function through the same mechanisms that protect the heart.