What Causes Erectile Problems: Physical and Mental

Erectile problems stem from a disruption in one or more of the systems your body uses to produce an erection: blood flow, nerve signaling, hormones, or mental arousal. About 24% of men in the United States meet diagnostic criteria for erectile dysfunction, with rates climbing steadily after age 45. While the causes range from blood vessel damage to stress, most cases involve a combination of physical and psychological factors working together.

How Erections Work in the First Place

Understanding what goes wrong starts with understanding what’s supposed to happen. An erection begins in the brain, where sexual stimulation (visual, physical, or mental) triggers nerve signals that travel down the spinal cord to the penis. These nerves release a signaling molecule called nitric oxide into the spongy tissue of the penis. Nitric oxide is the key player: it triggers a chemical chain reaction that relaxes the smooth muscle lining the blood vessels and internal chambers of the penis, allowing them to expand and fill with blood.

As these chambers engorge, they press against the outer lining of the penis and compress the veins that normally drain blood away. That compression traps blood inside, creating rigidity. Anything that interferes with brain signaling, nerve transmission, nitric oxide production, blood vessel flexibility, or venous trapping can cause erectile problems.

Blood Vessel Damage Is the Most Common Physical Cause

The same process that leads to heart disease is the leading physical cause of erectile problems. It starts with damage to the endothelium, the thin inner lining of your blood vessels. A healthy endothelium produces nitric oxide and keeps vessels flexible. When it’s damaged by high blood pressure, high cholesterol, high blood sugar, or smoking, nitric oxide production drops and vessels stiffen.

Over time, this damage leads to plaque buildup inside artery walls, a condition called atherosclerosis. Plaque narrows the arteries and restricts blood flow. Here’s what makes this especially relevant to erections: the arteries supplying the penis are significantly smaller than the ones supplying the heart. That means reduced blood flow shows up in the penis before it shows up as chest pain or other cardiac symptoms. Erectile problems can appear years before a heart attack or stroke, which is why doctors increasingly treat new erectile dysfunction as an early warning sign of cardiovascular disease.

Conditions that damage blood vessels, including diabetes, high blood pressure, and high cholesterol, are all strongly linked to erectile problems for this reason. Diabetes is particularly damaging because chronic high blood sugar harms both blood vessels and nerves simultaneously, disrupting blood flow, vessel function, muscle integrity, and the nerve signals needed to trigger an erection.

Nerve Damage and Neurological Conditions

Because erections depend on nerve signals traveling from the brain and spinal cord to the penis, anything that disrupts those pathways can cause problems. Diabetes is one of the most common culprits. Persistently high blood sugar damages the small nerve fibers that carry erection signals, a form of diabetic neuropathy that directly impairs the release of nitric oxide in penile tissue.

Spinal cord injuries, multiple sclerosis, and Parkinson’s disease can all interrupt nerve signaling at different points along the chain. Pelvic surgery is another significant cause. Radical prostatectomy (surgery to remove the prostate for cancer) carries a well-known risk of erectile dysfunction because the nerves that control erections run directly alongside the prostate. Even with nerve-sparing surgical techniques, recovery of erectile function can be slow and incomplete. Nerve stretching during the procedure, heat damage from surgical tools, and post-surgical inflammation all contribute to delayed recovery. The likelihood of regaining function varies widely depending on the extent of nerve preservation achieved during surgery.

Hormonal Imbalances

Testosterone plays a clear role in erections. Men with significantly low testosterone experience reduced frequency, firmness, and quality of erections. However, the relationship isn’t straightforward. Your body appears to need a minimum threshold of testosterone for erections to work normally, but having levels above that threshold doesn’t improve function further. This means mild drops in testosterone may not cause problems, while substantial deficiencies almost certainly will.

Several conditions can drive testosterone low enough to affect erections. Obesity decreases levels of free testosterone, the form your body actually uses. Chronic alcohol use and liver disease can shift the hormonal balance toward estrogen, suppressing free testosterone. Thyroid disorders also play a role: an overactive thyroid increases levels of a protein that binds testosterone and pulls it out of circulation, while an underactive thyroid creates a more complex hormonal disruption. Conditions affecting the pituitary gland, including certain tumors that raise prolactin levels, can suppress testosterone production as well. Even repeated blood transfusions for certain blood disorders can lead to iron overload in the testes, interfering with their ability to produce testosterone.

Medications That Interfere

Several common prescription drugs list erectile problems as a side effect. Among blood pressure medications, thiazide diuretics, loop diuretics, and beta-blockers can all reduce blood flow to the penis. Other classes of blood pressure drugs, including ACE inhibitors and angiotensin-receptor blockers, rarely cause this issue, which is why switching medications is sometimes all it takes to resolve the problem.

Antidepressants, particularly SSRIs, are well known for dampening sexual function, including the ability to get and maintain erections. Some anti-seizure medications, opioid painkillers, and drugs used for prostate enlargement can also contribute. If erectile problems started shortly after beginning a new medication, that timing is worth noting.

Psychological and Emotional Causes

Erections start in the brain, so mental state matters enormously. Performance anxiety is one of the most common psychological triggers, especially in younger men. The mechanism is physiological: anxiety activates the sympathetic nervous system (your fight-or-flight response), which directly opposes the parasympathetic signals needed to relax penile blood vessels and allow blood inflow. In practical terms, being anxious shifts your body into a state that is chemically incompatible with getting an erection.

This often creates a self-reinforcing cycle. One episode of difficulty leads to worry about the next encounter, which increases sympathetic tone, which makes another episode more likely. Relationship conflict, depression, stress, and unresolved trauma can all feed into this pattern. Interestingly, a small amount of anxiety may actually support the normal arousal process, since some features of anxiety (elevated heart rate, heightened alertness) overlap with sexual arousal. The problem arises when anxiety becomes dominant enough to distract from erotic stimulation and override the arousal response.

Purely psychological erectile dysfunction is more common in men under 40 and often shows a telling pattern: erections work fine during sleep or masturbation but fail during partnered sex. When physical causes are involved, erections tend to be diminished across all situations.

Lifestyle Factors With Strong Links

Body weight is one of the strongest modifiable predictors of erectile problems. In research comparing men across weight categories, those with normal BMI mostly experienced mild dysfunction, while overweight and obese men had significantly higher rates of moderate and severe dysfunction. Each unit increase in BMI raised the odds of severe erectile dysfunction by about 21%. Excess body fat contributes through multiple pathways at once: it lowers free testosterone, promotes inflammation, damages blood vessels, and increases the risk of diabetes and high blood pressure.

Smoking is similarly damaging. Smokers are significantly more likely to experience severe erectile dysfunction compared to nonsmokers. Nicotine constricts blood vessels and accelerates endothelial damage, directly undermining the blood flow mechanism erections depend on. The damage is cumulative but partially reversible: men who quit smoking generally see improvements in vascular function over time.

Physical inactivity ties into the same web. Sedentary habits promote weight gain, worsen cardiovascular health, and reduce the body’s ability to produce nitric oxide. Regular aerobic exercise has the opposite effect, improving endothelial function and blood flow throughout the body, including to the penis.

Age and the Overlap of Causes

Age is the single strongest predictor of erectile problems, but aging itself isn’t the direct cause. Rather, the conditions that impair erections accumulate over time. Among men aged 18 to 24, about 18% meet criteria for erectile dysfunction. That number drops slightly in the 25 to 44 range (around 13%), then climbs to 25% by ages 45 to 54, 34% by ages 55 to 64, 48% by ages 65 to 74, and 52% after age 75.

The slight elevation in the youngest age group likely reflects the outsized role of psychological factors like performance anxiety in men with less sexual experience. The steady climb after 45 tracks closely with the rising prevalence of cardiovascular disease, diabetes, obesity, and medication use. Most men over 50 with erectile problems have multiple contributing factors operating simultaneously, which is why treatment often works best when it addresses several causes at once rather than focusing on just one.

One striking finding from national survey data: the majority of men who meet diagnostic criteria for erectile dysfunction have never sought medical care for it. Given that erectile problems can signal serious underlying conditions like cardiovascular disease or undiagnosed diabetes, this represents both a missed opportunity for treatment and a missed opportunity for early detection of other health risks.