Erectile dysfunction, commonly called ED, is the consistent inability to get or maintain an erection firm enough for satisfactory sex. The key word is “consistent.” Most men occasionally have trouble with erections, and that alone isn’t ED. The condition is diagnosed when the problem is recurring and persistent enough to affect your sex life or cause distress.
How Common ED Is by Age
ED is far more common than most people realize. A 2021 national survey published in The Journal of Sexual Medicine found that about 24% of men in the United States meet the diagnostic criteria for ED. The rates climb steadily with age: roughly 13% of men aged 25 to 34, 25% of men aged 45 to 54, 34% of men aged 55 to 64, and nearly half of men over 65. One surprising finding from the same survey is that younger men aren’t immune. About 18% of men aged 18 to 24 met the criteria, a higher rate than the 25 to 44 age groups, possibly reflecting the role of anxiety and psychological factors in younger men.
How Erections Work
Understanding what goes wrong starts with understanding what normally goes right. An erection is essentially a blood flow event. When you become sexually aroused, nerves and blood vessel linings in the penis release a signaling molecule called nitric oxide. Nitric oxide triggers a chain reaction that produces a second chemical messenger (called cGMP), which relaxes the smooth muscle tissue inside the penis. That relaxation opens up the arteries feeding into the spongy tissue of the shaft, flooding it with blood. At the same time, swollen tissue compresses the veins that would normally drain blood away, trapping it inside and producing firmness.
Anything that disrupts this chain, whether it’s nerve damage, reduced blood flow, hormonal shifts, or psychological interference with arousal signals, can cause ED.
Physical Causes
The majority of ED cases in men over 40 have a physical component, and the most common culprit is vascular disease. ED and heart disease share the same underlying problem: damage to the inner lining of blood vessels, called the endothelium. When that lining stops functioning properly, blood flow decreases throughout the body. Because the arteries in the penis are smaller than those feeding the heart, ED often shows up years before any heart symptoms do. For this reason, new-onset ED in a middle-aged man is sometimes treated as an early warning sign of cardiovascular risk.
Several conditions accelerate this vascular damage:
- Diabetes. High blood sugar damages both blood vessels and the nerves that trigger erections, making diabetes one of the strongest risk factors for ED.
- High blood pressure. Chronically elevated pressure wears down artery linings over time.
- High cholesterol. LDL cholesterol promotes plaque buildup inside arteries, narrowing them and restricting blood flow.
- Low testosterone. Reduced testosterone is linked to higher rates of both ED and cardiovascular disease, though it’s rarely the sole cause.
Other physical contributors include obesity, smoking, certain prescription medications (particularly some blood pressure drugs and antidepressants), prostate surgery, spinal cord injuries, and neurological conditions like multiple sclerosis or Parkinson’s disease.
Psychological Causes
ED that stems primarily from psychological or relationship factors is classified as psychogenic ED. It’s especially common in younger men and can be just as disruptive as physically caused ED. Data from the Massachusetts Male Aging Study found that men with depressive symptoms were nearly three times more likely to have ED, and those with a pessimistic outlook were almost four times more likely. Emotional stress carried a similarly strong association, with an odds ratio of 3.56 in a separate national survey.
The most widely recognized psychological trigger is performance anxiety. Once a man has a failed erection, he may begin mentally monitoring his own arousal during sex, a pattern researchers call “spectatoring.” This self-consciousness pulls attention away from pleasure and toward evaluation, which further suppresses the arousal response and creates a self-reinforcing cycle. Relationship conflict, unresolved stress, a history of sexual trauma, and depression or anxiety disorders are other common contributors. In many cases, psychological and physical factors overlap. A man with mild vascular ED may develop performance anxiety that makes the problem significantly worse.
How ED Is Evaluated
Diagnosis typically starts with a conversation about your symptoms, sexual history, and overall health. Doctors often use a short standardized questionnaire called the IIEF-5, which asks five questions about erectile confidence, firmness, maintenance, penetration ability, and satisfaction over the past several weeks. Your score helps classify the severity as mild, moderate, or severe.
Beyond the questionnaire, your doctor will likely check for underlying conditions. This usually means blood tests to evaluate blood sugar levels, cholesterol, and testosterone. A physical exam may also be part of the workup. The goal isn’t just to confirm ED but to identify what’s driving it, since treating the root cause often improves erections on its own.
First-Line Treatment: Oral Medications
For most men, the first treatment offered is an oral medication from a class called PDE5 inhibitors. These drugs work by blocking the enzyme that breaks down cGMP, the chemical messenger responsible for relaxing penile tissue and allowing blood flow. They don’t create arousal on their own; they amplify the natural erection process once arousal begins.
Four PDE5 inhibitors are currently available. Sildenafil (Viagra) is taken about an hour before sex on an empty stomach and lasts four to five hours. Tadalafil (Cialis) can be taken with or without food and lasts up to 36 hours, which is why it’s sometimes called the “weekend pill.” It also comes in a low daily dose for men who prefer not to plan around a pill. Avanafil (Stendra) and vardenafil are the other two options, each with slightly different timing profiles. All four require sexual stimulation to work. High-fat meals and alcohol can slow absorption of some of these medications and reduce their effectiveness.
When Pills Don’t Work
PDE5 inhibitors work well for many men, but they aren’t effective for everyone, particularly those with severe nerve damage or advanced vascular disease. The next option is typically a vacuum erection device, a plastic cylinder placed over the penis that uses a hand pump to create suction. The negative pressure draws blood into the shaft, and a tension ring placed at the base holds it there during sex. It’s non-invasive and works mechanically regardless of the underlying cause.
For men who don’t respond to medications or devices, penile implants are the most definitive solution. These are surgically placed prostheses, either semi-rigid rods or inflatable cylinders that can be pumped up when needed. Implants are typically recommended only after other options have been tried, but satisfaction rates among men who choose them are consistently high.
Lifestyle Changes That Help
Exercise is one of the most effective non-medical interventions for ED. Research tracked by Harvard Health found that men who ran for 90 minutes per week were 20% less likely to develop ED than sedentary men, and those who ran two and a half hours per week were 30% less likely. The benefit comes from improved cardiovascular health, better blood vessel function, and, in many cases, weight loss.
Weight matters independently. Even among men who exercised, those who were overweight or obese still had a greater risk of ED than men at a healthy BMI. Losing excess weight, quitting smoking, and managing blood pressure and blood sugar can all meaningfully improve erectile function, sometimes enough to reduce or eliminate the need for medication. These changes also address the cardiovascular risk that ED may be signaling, making them doubly important.