Impotence, more commonly called erectile dysfunction (ED), results from disruptions to blood flow, nerve signaling, hormones, or psychological state, and often a combination of several factors at once. It affects an estimated 20 to 30% of men between ages 40 and 70, rising above 50% after age 70. While occasional difficulty with erections is normal, persistent problems almost always point to an identifiable and treatable cause.
How Erections Work at a Basic Level
An erection depends on a precise chain of events. During arousal, nerves in the penis release a chemical signal called nitric oxide. This triggers a cascade that produces a second messenger molecule (cGMP), which relaxes the smooth muscle inside the penis. That relaxation opens up the blood vessels, lets blood rush in, and compresses the veins that would normally drain it back out. The result is a firm erection.
Any break in this chain, whether the blood vessels can’t dilate, the nerves can’t send the signal, or the smooth muscle can’t relax, leads to difficulty getting or maintaining an erection. Research in animals that lack the enzyme activated by cGMP shows complete inability to achieve erections, confirming this pathway is essential and can’t be easily compensated by other signaling routes in the body.
Blood Vessel and Heart Disease
Vascular problems are the single most common physical cause of ED. The penile arteries are smaller than coronary arteries, so they tend to show the effects of cardiovascular disease earlier. In fact, ED often appears years before a heart attack or stroke, which is why doctors sometimes treat it as an early warning sign of broader cardiovascular trouble.
The underlying problem is usually endothelial dysfunction, a condition where the lining of blood vessels loses its ability to dilate properly. When cholesterol builds up in vessel walls and forms plaques, the arteries narrow and blood flow slows. During sexual stimulation, the penile blood vessels simply can’t open wide enough to fill the erectile tissue. High blood pressure accelerates this process by damaging artery walls and promoting further plaque buildup. Men with uncontrolled hypertension, high cholesterol, or a history of heart disease face significantly higher risk.
Diabetes and High Blood Sugar
Diabetes is one of the strongest risk factors for ED. Prolonged high blood sugar damages both the small blood vessels that supply the penis and the nerves that trigger the erection reflex. This double hit, vascular and neurological, makes ED in diabetic men particularly stubborn to treat. Keeping blood sugar well controlled can help protect these nerves and vessels, slowing or preventing the onset of erectile problems.
Nerve Damage and Neurological Conditions
Because erections start with a nerve signal, anything that disrupts the pathway between the brain, spinal cord, and penis can cause ED. Pelvic surgeries, especially prostate removal, carry a well-known risk of damaging the nerves that run alongside the prostate gland. Spinal cord injuries can partially or completely block erection signals depending on where the damage occurs.
Neurological diseases also play a role. In multiple sclerosis, for example, lesions in the brain and spinal cord can cause numbness in the genitals and difficulty initiating or maintaining an erection. Parkinson’s disease, epilepsy, and stroke can all interfere with the nerve signaling needed for normal erectile function.
Low Testosterone and Hormonal Causes
Testosterone below 300 nanograms per deciliter (ng/dL) is considered low in adult men. While testosterone’s primary role in erections is fueling sex drive rather than directly controlling blood flow, low levels can reduce arousal enough to make erections unreliable. Low testosterone also contributes to fatigue, depressed mood, and loss of muscle mass, all of which can compound sexual difficulties.
Other hormonal disruptions matter too. Abnormally high prolactin levels, sometimes caused by a small pituitary gland tumor, can suppress testosterone production and tank libido. Thyroid disorders, both overactive and underactive, can also affect erectile function.
Stress, Anxiety, and the Psychological Cycle
Psychological causes account for a significant share of ED, particularly in younger men. The mechanism is straightforward: stress activates the sympathetic nervous system, the same “fight or flight” response that quickens your heart rate and sharpens your focus during a threat. This response actively suppresses functions the body considers nonessential in a crisis, including erections.
When stress becomes chronic, the body ramps up cortisol production. Cortisol raises blood pressure, blood sugar, and suppresses the immune system. It also inhibits testosterone, reducing sex drive and potentially contributing to the blood flow changes behind ED. Depression works through a similar pathway, dampening arousal signals in the brain.
Performance anxiety creates a particularly vicious cycle. One episode of difficulty leads to worry about the next encounter, which triggers the same stress response that caused the problem in the first place. Over time, the anxiety itself becomes the primary driver, even in men with no underlying physical issue. This cycle can be hard to break without recognizing it for what it is.
Medications That Can Cause ED
A surprising number of common medications list erectile dysfunction as a side effect. If your ED started around the time you began a new prescription, the medication is worth investigating as a potential cause.
- Blood pressure drugs: Thiazide diuretics (water pills) are the most common culprits among blood pressure medications, followed by beta blockers. Alpha blockers tend to cause fewer problems.
- Antidepressants and anti-anxiety medications: SSRIs like fluoxetine and sertraline are well known for sexual side effects. Older antidepressants, benzodiazepines, and antipsychotic medications carry similar risks.
- Opioid painkillers: Codeine, morphine, oxycodone, fentanyl, and methadone all suppress testosterone production and can cause ED with regular use.
- Antihistamines: Common over-the-counter options like diphenhydramine (Benadryl) and older heartburn medications like cimetidine and ranitidine can contribute.
- Chemotherapy and hormonal treatments: Anti-androgen drugs used for prostate cancer directly block testosterone activity.
- Parkinson’s medications: Several drugs used to manage Parkinson’s disease are associated with erectile difficulties.
Never stop a prescribed medication on your own because of sexual side effects. In many cases, switching to an alternative in the same class resolves the problem without sacrificing the treatment you need.
Smoking, Obesity, and Lifestyle Factors
Smoking damages blood vessel linings and accelerates atherosclerosis, directly impairing the blood flow erections depend on. The good news is that quitting helps. About one in four ex-smokers sees improvement in erectile function within a year of stopping, and after ten years of not smoking, the risk of ED drops to roughly the same level as someone who never smoked.
Obesity contributes through multiple channels: it promotes inflammation, worsens insulin resistance, lowers testosterone, and raises the risk of high blood pressure and diabetes. Heavy alcohol use, while sometimes thought of as a psychological disinhibitor, actually depresses the central nervous system and impairs the nerve signaling required for erections. Sedentary lifestyle independently raises ED risk by reducing cardiovascular fitness.
How Doctors Identify the Cause
Diagnosis starts with a detailed medical and sexual history. Standardized questionnaires like the International Index of Erectile Function help quantify the severity and identify which aspects of sexual function are affected. A physical exam checks for signs of low testosterone, penile abnormalities, prostate enlargement, and cardiovascular or neurological issues.
Blood work typically includes a morning testosterone level (testosterone peaks in the early morning), blood sugar, cholesterol, and sometimes prolactin. These tests catch the most common metabolic and hormonal contributors.
If the cause isn’t clear from the initial workup, penile Doppler ultrasound can distinguish between blood flow problems and other causes by measuring how well the penile arteries dilate. This test is the primary tool for differentiating vascular ED from neurological or psychological origins. More invasive imaging is reserved for the small number of men being considered for vascular surgery.
One practical clue doctors look for: men who still get erections during sleep or in the morning likely have intact vascular and nerve function, pointing toward a psychological cause. Men who never get firm erections under any circumstances are more likely dealing with a physical problem.