Erectile dysfunction can happen at any age, but it becomes significantly more common after 40. Between 5% and 10% of men under 40 experience some degree of ED, while roughly half of all men have moderate to complete ED by age 70. The causes shift with age too: younger men are more likely dealing with psychological factors, while older men face the cumulative effects of vascular aging and chronic health conditions.
How ED Prevalence Changes by Decade
The Massachusetts Male Aging Study, one of the largest and most cited investigations on the topic, found that 52% of men between ages 40 and 70 had some degree of erectile dysfunction. Complete ED tripled from 5% at age 40 to 15% at age 70. When you include all severity levels, the probability of any degree of impairment was 39% at age 40 and 67% at age 70.
Data from the Baltimore Longitudinal Study of Aging paints a similar picture across a wider age range: 8% of men at age 55 or younger, 25% at 65, 55% at 75, and 75% at 80. The pattern is consistent across studies. ED isn’t a switch that flips at a certain birthday. It’s a gradual increase in risk that accelerates after middle age.
ED in Your 20s and 30s
While less common, ED in younger men is far from rare. That 5% to 10% prevalence in men under 40 translates to millions of people. The causes at this age tend to be different from those in older men, and they’re often more reversible.
Psychological and emotional factors are the most common drivers of ED in younger men. Depression, anxiety, relationship stress, and performance anxiety all play a role. Having trouble even once can create a cycle where worry about the next time becomes the actual problem. Unrealistic expectations shaped by online pornography also contribute, creating a gap between what younger men expect from their bodies and what’s normal.
Lifestyle choices matter heavily in this age group. Smoking is a significant and dose-dependent risk factor: the more you smoke, the greater the risk. Men who use marijuana are roughly twice as likely to experience ED. Heavy alcohol use, physical inactivity, and poor diet all increase the odds as well. The good news is that these are modifiable. Addressing them often resolves the problem without any other intervention.
What Changes in Your Body After 40
Erections depend on healthy blood flow. When you’re aroused, the lining of your blood vessels releases a signaling molecule that relaxes the smooth muscle in the penis, allowing blood to rush in. With age, this signaling system becomes less efficient. Research shows that the blood vessel lining’s ability to trigger relaxation drops substantially in older tissue, even though the underlying muscle can still respond normally when stimulated directly. The problem isn’t that the machinery is broken. It’s that the signal telling it to activate gets weaker.
Testosterone also plays a role, though it’s rarely the sole cause. Levels begin declining around 1% per year starting in the late 30s. Over decades, that adds up. Lower testosterone can reduce desire, which in turn makes arousal harder, but many men with below-average testosterone have no erectile problems, and many men with ED have perfectly normal levels. It’s one piece of a larger puzzle.
The more important age-related factors are vascular. High blood pressure, high cholesterol, diabetes, and obesity all damage blood vessels over time, and the small arteries supplying the penis are among the first affected. This is why ED often shows up years before a heart attack or stroke. The same process is happening throughout the cardiovascular system, but the narrower penile arteries reveal the damage earlier.
ED as an Early Warning for Heart Disease
This connection is important enough to deserve its own attention. A meta-analysis published by the American Heart Association found that ED typically precedes clinically apparent cardiovascular disease by two to five years. That’s a meaningful window. If you develop ED in your 40s or 50s without an obvious psychological or lifestyle explanation, it may be an early signal that your blood vessels are in trouble more broadly.
This doesn’t mean ED always indicates heart disease. But it does mean that new-onset ED, particularly in middle-aged men, is worth taking seriously beyond the sexual health implications. A checkup that includes blood pressure, cholesterol, and blood sugar can help determine whether vascular risk factors are involved.
What Determines Your Individual Risk
Age is the strongest single predictor, but it’s not destiny. Plenty of men in their 70s have satisfactory erections, and some men in their 30s don’t. The difference usually comes down to a combination of factors.
- Cardiovascular health: Anything that damages blood vessels, including diabetes, hypertension, high cholesterol, and smoking, accelerates the timeline.
- Weight and activity level: Obesity increases ED risk significantly, partly through its effects on blood vessels and partly through hormonal changes. Regular exercise is one of the most effective preventive measures.
- Mental health: Depression and anxiety contribute to ED at every age, not just in younger men. Stress, sleep deprivation, and relationship difficulties compound the effect.
- Medications: Several common classes of drugs, including some prescribed for blood pressure, depression, and prostate conditions, can cause or worsen ED as a side effect.
A clinical diagnosis of ED isn’t based on a single bad night. It’s defined as a consistent or recurrent inability to get or maintain an erection sufficient for sexual satisfaction. Occasional difficulty is normal at any age, especially during periods of stress, fatigue, or heavy drinking. The distinction is pattern versus episode.
Why the Age Question Matters
Understanding the age dimension of ED is useful for two reasons. First, it normalizes the experience. If you’re a 25-year-old who thinks this only happens to older men, knowing that up to one in ten men your age deal with the same thing can reduce the shame and anxiety that often make the problem worse. Second, if you’re over 40 and noticing changes, understanding that this is a vascular issue rather than an inevitable decline reframes it as something medical and treatable rather than something to accept.
The trajectory isn’t locked in. Men who manage their weight, stay physically active, avoid smoking, moderate alcohol, and address conditions like high blood pressure and diabetes can significantly slow or prevent the vascular changes that drive age-related ED. The earlier those habits take hold, the more they matter.

