Erectile dysfunction (ED) has multiple causes, and most of them are physical rather than purely psychological. The most common underlying factor is reduced blood flow to the penis, but nerve damage, hormonal shifts, medications, surgeries, and lifestyle habits all play significant roles. In many cases, more than one cause is at work simultaneously.
ED becomes more common with age, but age alone doesn’t explain it. Among men with no other health conditions, prevalence rises from about 10% at age 40 to 79% by age 80. When conditions like high blood pressure, obesity, and diabetes are present, those numbers climb sharply: a 50-year-old with all three has roughly double the risk of a healthy man the same age.
Blood Vessel Damage and Poor Circulation
The single most common physical cause of ED is damage to the inner lining of blood vessels, a condition called endothelial dysfunction. When this lining stops working properly, it reduces blood flow throughout the body. Over time, it also leads to plaque buildup inside artery walls, the same process behind heart disease.
This matters for erections because the arteries supplying the penis are significantly smaller than those feeding the heart. Plaque that hasn’t yet narrowed the coronary arteries enough to cause chest pain can already be choking off penile blood flow. That’s why ED often shows up years before any heart symptoms do. For many men, new-onset ED is the earliest warning sign of cardiovascular disease.
High blood pressure, high cholesterol, and obesity all accelerate this blood vessel damage. Each one independently raises ED risk, and their effects compound when they occur together.
Diabetes and High Blood Sugar
Diabetes is one of the strongest risk factors for ED. Chronically elevated blood sugar damages both nerves and blood vessels over time, creating a double hit: the blood supply to the penis is reduced, and the nerves responsible for triggering an erection lose sensitivity and signaling ability. Men with diabetes develop ED at higher rates and at younger ages than men without it. The longer blood sugar remains poorly controlled, the greater the likelihood of erectile problems.
Nerve and Neurological Conditions
An erection starts with a signal from the brain, traveling down the spinal cord and through peripheral nerves to the penis. Anything that disrupts this signaling pathway can cause ED. Multiple sclerosis is a well-known example: the disease creates lesions in the brain and spinal cord that can directly impair genital sensation and make it difficult to initiate or maintain an erection. Parkinson’s disease, spinal cord injuries, and strokes can have similar effects.
Even without a diagnosed neurological condition, nerve damage from diabetes (described above), heavy alcohol use, or pelvic surgery can interrupt the signals needed for erection.
Low Testosterone
Testosterone plays a role in sex drive and erectile function, though its relationship to ED is more nuanced than many people assume. Low testosterone alone doesn’t always cause ED, but it frequently contributes, especially when combined with other factors. The American Urological Association defines low testosterone as a total level below 300 ng/dL, though other medical organizations use thresholds ranging from 230 to 350 ng/dL.
Testosterone levels naturally decline with age, typically dropping about 1% per year after age 30. Symptoms of low testosterone extend beyond erections and often include fatigue, reduced muscle mass, mood changes, and decreased interest in sex. If your doctor suspects a hormonal component, a simple blood test can check your levels.
Medications That Cause ED
A surprisingly long list of common medications can interfere with erections. If ED appeared or worsened after starting a new prescription, the medication itself may be the cause.
The most frequent culprits include:
- Blood pressure drugs: Thiazide diuretics (water pills) are the most common cause of ED in this category. Beta-blockers are the next most likely. Alpha blockers tend to cause fewer problems.
- Antidepressants and anti-anxiety medications: SSRIs and older antidepressants commonly affect sexual function. Benzodiazepines used for anxiety can also contribute.
- Antihistamines: Both allergy medications and certain heartburn drugs (H2 blockers) can cause ED.
- Opioid painkillers: Chronic opioid use suppresses testosterone and frequently leads to erectile problems.
- Prostate medications: Drugs used for enlarged prostate or hair loss that block certain hormones can affect erectile function.
- Chemotherapy and hormonal treatments: Cancer treatments, particularly those that suppress male hormones, commonly cause ED.
If you suspect a medication is involved, don’t stop taking it on your own. Your doctor can often switch you to an alternative that’s less likely to cause sexual side effects.
Surgery and Pelvic Injury
Radical prostatectomy, the surgery to remove the prostate for cancer treatment, is one of the most well-documented surgical causes of ED. Even when surgeons use nerve-sparing techniques, early recovery of natural erectile function is uncommon. Within one year, about 40 to 50% of men return to their pre-surgery function. By two years, that figure reaches 30 to 60%, with most men eventually regaining the ability to have intercourse, sometimes with the help of oral medications.
Other pelvic surgeries, including bladder surgery and rectal surgery, can also damage the nerves and blood vessels involved in erections. Radiation therapy to the pelvic area carries similar risks.
Smoking and Substance Use
Smoking damages blood vessels and reduces the availability of nitric oxide, a molecule the body needs to relax penile blood vessels and allow blood flow during an erection. The more you smoke and the longer you’ve smoked, the greater the damage.
The encouraging news is that quitting helps. Some men notice improvements in erectile function within a few weeks of stopping. After three to six months without cigarettes, many men see significant recovery, especially if the damage hasn’t progressed too far.
Heavy alcohol use also contributes to ED through nerve damage, hormonal disruption, and liver effects that alter how the body processes hormones. Recreational drugs, including cocaine and amphetamines, can cause both short-term and long-term erectile problems.
Psychological and Emotional Factors
While most ED has a physical component, psychological factors can be the primary cause or can make a physical problem worse. Performance anxiety is one of the most common: one episode of difficulty can create a cycle of worry that makes the next attempt harder. Depression reduces sex drive and can make erections more difficult, and the antidepressants used to treat it often compound the problem.
Stress, relationship conflict, and unresolved emotional issues all affect sexual function. Psychological causes are more likely when ED comes on suddenly rather than gradually, when it occurs with one partner but not another, or when nighttime and morning erections remain normal. In practice, physical and psychological causes frequently overlap, with each reinforcing the other.

