What Is Erectile Dysfunction: Causes, Symptoms & Treatment

Erectile dysfunction (ED) is the inability to achieve or maintain an erection firm enough for satisfactory sexual intercourse. It’s one of the most common sexual health concerns in men, with rates climbing steadily from the late 20s through the 60s. While occasional difficulty with erections is normal, ED is generally considered a clinical issue when it persists for six months or longer.

How an Erection Works

An erection is fundamentally a blood flow event controlled by your nervous system. When you become sexually aroused, nerve fibers in the penis release a signaling molecule called nitric oxide. This molecule triggers a chain reaction that relaxes the smooth muscle lining the blood vessels inside the penis, allowing them to widen and fill with blood. Blood flow increases several-fold, expanding the spongy tissue (the corpora cavernosa) that runs the length of the shaft.

As this tissue swells, it compresses the veins that normally drain blood away from the penis. That compression traps the blood inside, creating rigidity. The entire process depends on a delicate balance: the nervous system sends the right signals, the blood vessels respond by relaxing, and the veins get squeezed shut. A problem at any point in this chain can lead to ED.

Common Physical Causes

Most cases of ED have a physical component, and the causes generally fall into three categories: vascular, neurological, and hormonal.

Vascular ED is the most common type. It involves problems with the blood vessels that supply the penis or the valves that keep blood trapped during an erection. Conditions like atherosclerosis (hardened arteries), high blood pressure, high cholesterol, and diabetes all damage blood vessels over time and reduce blood flow. This is why ED sometimes shows up years before a heart attack or stroke. It can be an early warning sign that your cardiovascular system is under stress.

Neurological ED happens when nerve signals between the brain and penis are disrupted. Spinal cord injuries, stroke, multiple sclerosis, and diabetes-related nerve damage can all interfere with those signals. Pelvic surgeries, particularly for prostate, colon, or bladder cancer, can damage the nerves directly. Radiation therapy to the pelvic area carries similar risks.

Hormonal ED is less common but real. Low testosterone is the primary hormonal culprit, though thyroid problems can also play a role. Testosterone doesn’t directly trigger erections, but it influences sex drive and supports the signaling pathways that make erections possible.

The Role of Anxiety and Mental Health

Psychological factors can cause ED on their own or make physically-driven ED worse. The core mechanism is straightforward: anxiety activates your body’s fight-or-flight system, which increases sympathetic nerve activity. That response constricts blood vessels rather than relaxing them, directly opposing the process an erection requires. It also pulls your attention away from arousal cues, making it harder to stay mentally engaged.

Performance anxiety is the most well-known psychological trigger, but it’s far from the only one. Post-traumatic stress disorder, social anxiety disorder, panic disorder, obsessive-compulsive disorder, and generalized free-floating anxiety have all been linked to ED. What makes psychological ED particularly frustrating is its tendency to create a self-reinforcing cycle. One episode of difficulty leads to worry about the next time, which increases the chance it happens again. That cycle can spill over into the relationship itself, creating communication problems that further erode sexual confidence.

Interestingly, a small amount of anxiety actually plays a role in normal sexual arousal. The early stages of sexual excitement share features with a mild anxiety response, like increased heart rate and sweating. It’s when anxiety becomes excessive or chronic that it starts working against you.

Who Gets ED, and When

ED becomes more common with age, but it’s not exclusively a condition of older men. Based on U.S. claims data, about 0.4% of men aged 18 to 29 receive an ED diagnosis or treatment. That rate climbs through each decade, peaking at 11.5% in men aged 60 to 69. After 70, the rates of diagnosis actually decline, likely because fewer men seek treatment rather than because the condition becomes less common.

These numbers almost certainly undercount the true prevalence. Many men never bring it up with a doctor. Surveys that ask men directly about their symptoms consistently produce higher estimates than medical records do.

How ED Is Evaluated

Doctors typically assess ED with a combination of medical history, a physical exam, and a standardized questionnaire. The most widely used screening tool is a five-question survey that asks about erection confidence, firmness, maintenance, and satisfaction over the past six months. Scores range from 5 to 25: a score of 22 to 25 indicates no ED, 17 to 21 is mild, 12 to 16 is mild to moderate, 8 to 11 is moderate, and 5 to 7 is severe.

Blood tests may be ordered to check for diabetes, cholesterol problems, or low testosterone. In some cases, an ultrasound of the penile blood vessels can help determine whether the issue is primarily vascular.

How Medications Work

The first-line medications for ED all work by blocking an enzyme that breaks down the signaling molecule responsible for keeping penile blood vessels relaxed. By slowing the breakdown of that molecule, these drugs allow blood to flow more easily into the penis and stay there longer. They don’t create an erection on their own. Sexual arousal is still required to start the process; the medication simply amplifies and sustains the body’s natural response.

These medications are typically taken about an hour before sexual activity. Response rates are generally high, but they work less reliably in men with severe nerve damage or advanced vascular disease. They’re also not safe for everyone, particularly men taking certain heart medications.

For men who don’t respond to oral medications, other options exist, including injections directly into the penis, vacuum erection devices, and surgical implants. Each carries its own tradeoffs in terms of effectiveness, convenience, and side effects.

Lifestyle Changes That Make a Difference

Exercise is one of the most effective non-drug interventions for ED. A meta-analysis found that moderate physical activity was associated with a 37% lower risk of ED, and vigorous activity with a 58% lower risk. The benefits show up quickly in clinical trials. In one study of middle-aged men with vascular ED, 150 minutes of aerobic exercise per week for three months produced significant improvements in erection quality. In another trial, men who combined ED medication with at least three hours per week of aerobic exercise saw their erections fully restored at nearly double the rate of men taking the medication alone: 78% versus 39%.

Diet matters too. A two-year trial put men with metabolic syndrome and ED on a Mediterranean-style diet emphasizing fruits, vegetables, nuts, whole grains, and olive oil. By the end of the study, 37% of the men in the diet group had recovered normal erectile function, compared to just 7% in the control group.

Weight loss ties these together. In a randomized trial of 110 obese men with ED, those assigned to an intensive weight loss program involving dietary counseling and exercise saw significant improvement in erection scores over two years compared to a control group. They also showed measurable improvements in blood vessel health, which helps explain the mechanism. Excess body fat promotes inflammation, damages the lining of blood vessels, and lowers testosterone, all of which contribute to ED. Reversing those factors can meaningfully restore function.