Article / Erectile Dysfunction Causes and Why Men Struggle With Erections

Erectile Dysfunction Causes and Why Men Struggle With Erections

Erectile Dysfunction Causes and Why Men Struggle With Erections

Erectile dysfunction

September 10th, 2026 10 Min Read

Share

Erectile dysfunction (ED) is one of the most common sexual health concerns among men, yet it remains surrounded by silence, embarrassment, and misinformation. Many men assume that trouble in the bedroom is simply “part of getting older” or a sign of low masculinity. In reality, the causes of erectile dysfunction are almost always physical, hormonal, psychological, or a combination of all three — and understanding them is the first step toward fixing the problem.

This guide walks through what erectile dysfunction actually is, the full range of erectile dysfunction causes in men, how ED can sometimes signal a more serious underlying condition, and what treatment options are available today.

This article is for educational purposes and is not a substitute for personalized medical advice. If you are experiencing persistent erectile difficulties, talk to a doctor or urologist.


What Is Erectile Dysfunction?

Erectile dysfunction is the persistent inability to get or keep an erection firm enough for satisfactory sexual activity. The key word here is persistent. Nearly every man experiences an occasional off night — stress at work, too much alcohol, exhaustion, or simply being distracted can all cause a one-time issue with getting hard. That’s normal and not a cause for concern.

ED becomes a clinical concern when the problem happens frequently — generally defined as occurring in more than 50% of sexual attempts over a period of several weeks or months. At that point, it’s worth looking at what’s driving it, because ED is rarely just “in your head,” and it’s rarely just about sex. It’s often a window into overall physical and mental health.

Erections depend on a precise sequence of events: the brain sends a signal, nerves relay it to the penis, blood vessels dilate and fill the erectile tissue (the corpora cavernosa) with blood, and a valve mechanism traps that blood in place to maintain firmness. A problem anywhere along this chain — in the brain, nerves, blood vessels, hormones, or the psychological state of the person — can result in erectile dysfunction. This is why doctors describe ED as a “vascular, neurological, hormonal, and psychological” condition all at once.

Key takeaway ED is rarely “just in your head.” It’s often an early signal of cardiovascular, hormonal, or metabolic issues worth checking.

Common Causes of Erectile Dysfunction

There is rarely a single cause of erectile dysfunction. In most men — especially those over 40 — ED results from a mix of physical and psychological contributors that feed into each other. For example, a man with mild circulation problems from high blood pressure may have occasional trouble achieving an erection, then develop performance anxiety about it, which makes the problem worse. Understanding each contributing category makes it much easier to identify what’s going on and how to address it.

Broadly, erectile dysfunction causes in men fall into five categories:

  1. Physical (vascular, neurological, structural)
  2. Hormonal
  3. Psychological
  4. Medication-related
  5. Lifestyle-related

Let’s look at each in detail.

Physical Causes of ED

Physical causes are the most common source of erectile dysfunction, particularly in men over 50. Anything that interferes with blood flow, nerve signaling, or the physical structure of the penis can result in ED.

Cardiovascular disease and poor blood flow

An erection is fundamentally a blood flow event. The penile arteries are smaller than the coronary arteries that supply the heart, which means reduced circulation often shows up as ED before it shows up as chest pain or a heart attack. Atherosclerosis (hardening and narrowing of the arteries from plaque buildup) restricts the blood flow needed to achieve and sustain an erection. This is why doctors sometimes call ED an early warning sign of cardiovascular disease.

High blood pressure (hypertension)

Chronically elevated blood pressure damages the lining of blood vessels over time, reducing their ability to relax and expand — a process necessary for an erection to occur. Ironically, some blood pressure medications (discussed below) can also contribute to ED, creating a frustrating cycle for many men managing hypertension.

Diabetes

Diabetes is one of the leading medical causes of erectile dysfunction. High blood sugar damages both blood vessels and the nerves that control the erectile response (a condition called diabetic neuropathy). Men with diabetes are two to three times more likely to experience ED, and it often appears 10 to 15 years earlier than in men without diabetes.

Obesity and metabolic syndrome

Excess body fat, particularly around the abdomen, is linked to lower testosterone levels, elevated blood sugar, and reduced blood vessel function — all of which contribute to difficulty achieving an erection.

Neurological conditions

Conditions that affect the nervous system can disrupt the signal from the brain to the penis, including:

  • Multiple sclerosis
  • Parkinson’s disease
  • Spinal cord injury or spinal surgery
  • Stroke
  • Nerve damage from pelvic surgery (such as prostate cancer treatment)

Low testosterone and other structural issues

Peyronie’s disease (scar tissue that causes curvature of the penis), prior penile injury, and pelvic radiation treatment can also physically interfere with normal erectile function.

Sleep disorders

Sleep apnea, in particular, has a well-documented association with ED. Repeated drops in oxygen during sleep affect testosterone production and cardiovascular health, both of which play a role in erectile function.

Hormonal Causes of ED

Hormones regulate sexual desire and the physical mechanics of arousal, so imbalances can directly affect erectile function.

Low testosterone (hypogonadism)

Testosterone drives libido and plays a supporting role in the biochemical pathway that triggers an erection. Low testosterone doesn’t always cause ED on its own, but it frequently lowers sexual desire, which can indirectly make it harder to become aroused enough to get an erection in the first place. Testosterone naturally declines with age — usually around 1% per year after age 30 — but a sharper drop can result from conditions affecting the testes, pituitary gland, or hypothalamus.

Thyroid disorders

Both an underactive thyroid (hypothyroidism) and an overactive thyroid (hyperthyroidism) can disrupt the hormonal balance needed for normal sexual function, sometimes causing ED as one of several symptoms.

Elevated prolactin

A less common but important cause, high prolactin levels (often from a pituitary gland tumor called a prolactinoma) can suppress testosterone and directly interfere with erectile function.

Psychological Causes of ED

Psychological factors are especially common in younger men with ED, though they play a role at every age. Because arousal starts in the brain, mental and emotional states have a direct physiological effect on erectile response.

Performance anxiety

Worrying about sexual performance — especially after one disappointing experience — can create a self-fulfilling cycle. The anxiety itself triggers a stress response (a surge of adrenaline) that constricts blood vessels, working directly against the blood flow needed for an erection.

Stress

Chronic stress from work, finances, or life circumstances keeps the body in a “fight or flight” state, which is biologically incompatible with the “rest and relax” state needed for arousal.

Depression

Depression affects libido and the brain’s ability to process sexual stimuli. Additionally, some antidepressant medications used to treat depression are themselves a known cause of ED, which can complicate diagnosis.

Relationship problems

Unresolved conflict, poor communication, or a loss of emotional intimacy with a partner can reduce psychological arousal even when physical health is otherwise normal.

Body image and self-esteem issues

Insecurity about physical appearance, weight, or masculinity can create mental distraction during intimacy that interferes with the ability to become or stay aroused.

Notably, ED with a psychological cause often has a distinctive pattern: a man can still get erections during masturbation or wakes up with normal morning erections, but struggles specifically during partnered sex. That pattern is a useful clue for doctors trying to distinguish psychological from physical causes.

Medications and ED

Many commonly prescribed medications list erectile dysfunction as a side effect. If ED started or worsened shortly after beginning a new prescription, the medication is worth discussing with a doctor — never stop a prescribed medication on your own.

Medications associated with ED include:

  • Blood pressure medications, especially beta-blockers and diuretics (thiazides)
  • Antidepressants, particularly SSRIs (such as sertraline, fluoxetine, and paroxetine)
  • Antihistamines and certain cold medications
  • Anti-androgens, sometimes used for prostate conditions or prostate cancer
  • Opioid pain medications, which can suppress testosterone with long-term use
  • Certain anti-seizure medications
  • Chemotherapy drugs
  • Recreational drugs, including marijuana, cocaine, and amphetamines
  • Excessive alcohol use, which acts as a central nervous system depressant

A doctor may be able to switch to an alternative medication with a lower risk of sexual side effects, so this is always worth raising rather than tolerating in silence.

Lifestyle Factors That Contribute to ED

Day-to-day habits have a measurable impact on erectile function, and they’re often the most modifiable cause of ED.

🏃

Move daily

30 minutes of moderate activity improves circulation and testosterone.

😴

Sleep 7–8 hours

Poor sleep lowers testosterone and raises stress hormones.

🚭

Quit smoking

Nicotine restricts the blood vessels essential for erections.

  • Smoking: Nicotine restricts blood vessels and damages their lining over time, directly impairing blood flow to the penis. Smokers have a significantly higher rate of ED than non-smokers.
  • Heavy alcohol use: While an occasional drink may reduce inhibition, regular heavy drinking damages nerves, lowers testosterone, and depresses central nervous system function.
  • Lack of physical activity: Sedentary habits contribute to poor cardiovascular health, weight gain, and lower testosterone — a triple hit on erectile function.
  • Poor diet: Diets high in processed food and low in fruits, vegetables, and healthy fats are linked to higher rates of ED, largely through their effect on cardiovascular health.
  • Excess weight: As noted above, obesity is tied to hormonal and vascular changes that increase ED risk.
  • Chronic sleep deprivation: Poor sleep quality affects testosterone production and increases stress hormone levels.
  • Pornography-related expectations: Some younger men report difficulty with arousal during partnered sex that they don’t experience with pornography use, an area of ongoing research often linked to psychological conditioning rather than physical dysfunction.

The encouraging news is that lifestyle factors are also the most directly within a person’s control, and improving them can meaningfully improve sexual performance even when other contributing factors, like age, cannot be changed.

Difficulty Achieving vs. Difficulty Maintaining an Erection

Not all erectile dysfunction looks the same, and the specific pattern of symptoms can help point toward a cause.

Difficulty achieving an erection

This means a man struggles to get an erection in the first place, even when he wants to and is physically stimulated. This pattern is more often linked to:

  • Low testosterone or other hormonal issues
  • Reduced blood flow (vascular disease)
  • Psychological factors like anxiety, stress, or depression
  • Certain medications

Difficulty maintaining an erection

This means a man can get an erection but loses it before or during sex. This pattern is often associated with:

  • Venous leak (blood escaping the penis faster than the valve mechanism can trap it)
  • Performance anxiety that intensifies mid-encounter
  • Nerve-related conditions
  • Cardiovascular issues that limit sustained blood flow

Some men experience a combination of both. Describing the specific pattern to a doctor — including whether erections happen during sleep or masturbation but not with a partner — is genuinely useful diagnostic information, not an embarrassing detail to skip over.

2–3× Higher ED risk in men with diabetes
~50% Of men over 40 experience some ED
1% Yearly testosterone decline after 30

When ED May Indicate Another Health Problem

Because an erection depends on healthy blood vessels, nerves, and hormones, erectile dysfunction is sometimes the first noticeable symptom of a more serious underlying condition. This is one of the most important reasons not to ignore ED or simply work around it.

ED has been linked as an early indicator of:

  • Cardiovascular disease, including undiagnosed coronary artery disease. Studies have found that ED can precede a heart attack or stroke diagnosis by several years, since the smaller penile arteries show blockage before larger coronary arteries do.
  • Type 2 diabetes, particularly in men who haven’t yet been diagnosed but have insulin resistance.
  • Low testosterone or other endocrine disorders.
  • Sleep apnea, especially in men who also report loud snoring, daytime fatigue, or witnessed breathing pauses during sleep.
  • Depression or anxiety disorders that haven’t yet been formally diagnosed.
  • Peripheral vascular disease.

For this reason, doctors often treat a new ED diagnosis as an opportunity to screen for cardiovascular and metabolic health more broadly — not just as a standalone sexual complaint.

When to See a Doctor

It’s worth scheduling an appointment if:

  • ED happens consistently over several weeks or more, not just occasionally
  • ED developed suddenly, especially alongside chest pain, shortness of breath, or unusual fatigue (seek immediate medical attention for these symptoms)
  • ED started after beginning a new medication
  • You have risk factors such as diabetes, high blood pressure, high cholesterol, obesity, or a family history of heart disease
  • ED is affecting your confidence, mood, or relationship
  • You notice other symptoms like low libido, fatigue, or reduced muscle mass, which could suggest low testosterone

A doctor will typically start with a physical exam, a review of medications and lifestyle, and blood tests to check testosterone, blood sugar, cholesterol, and thyroid function. Depending on the findings, further testing — such as an ultrasound of blood flow to the penis or a sleep study — may be recommended.

There is no need to feel embarrassed bringing this up. Primary care doctors and urologists address ED on a routine basis, and it’s one of the more straightforward conditions to discuss and treat once the cause is identified.

ED Treatment Options

Treatment depends entirely on the underlying cause, and effective care often combines more than one approach.

Lifestyle changes

For many men, especially those with lifestyle-related or mild vascular causes, improving diet, increasing physical activity, quitting smoking, reducing alcohol intake, and losing excess weight can meaningfully improve sexual performance — sometimes resolving mild ED entirely within a few months.

Oral medications (PDE5 inhibitors)

Medications such as sildenafil, tadalafil, vardenafil, and avanafil work by relaxing blood vessels in the penis, making it easier to achieve and maintain an erection when combined with sexual stimulation. These are typically the first-line treatment and are effective for the majority of men, though they require adequate blood flow to work and aren’t suitable for everyone (for example, men taking nitrate medications for heart conditions).

Hormone therapy

If blood tests confirm low testosterone, testosterone replacement therapy (via gel, injection, or patch) may improve both libido and erectile function, under a doctor’s supervision.

Psychological treatment

For ED with a significant psychological component, cognitive behavioral therapy, sex therapy, or couples counseling can address performance anxiety, stress, depression, or relationship dynamics driving the problem. This is often combined with medication for faster relief while the underlying psychological work continues.

Vacuum erection devices

A mechanical device that draws blood into the penis using a vacuum, held in place with a constriction ring. This is a non-drug option that can work well for men who can’t take PDE5 inhibitors.

Penile injections and suppositories

Medications injected directly into the penis (such as alprostadil) or inserted as a small suppository can produce an erection independent of the psychological arousal pathway, useful for men who don’t respond to oral medication.

Penile implants (surgical option)

For men who don’t respond to other treatments, a surgically implanted device can provide a reliable, on-demand mechanical solution. This is generally considered after other options have been tried.

Treating the underlying condition

Where ED stems from an underlying issue — poorly controlled diabetes, untreated sleep apnea, or high blood pressure — addressing that root cause is often necessary for lasting improvement, alongside any direct ED treatment.

Treatment Onset Best for
Oral PDE5 inhibitors 30–60 min Most men with mild to moderate ED
Penile injections 5–15 min Men who don’t respond to oral meds
Vacuum device Immediate Non-drug option, contraindications to PDE5
Penile implant On-demand Severe ED, after other options fail

Frequently Asked Questions

Is ED a normal part of aging?

ED becomes more common with age, but it’s not inevitable. It’s usually a sign of an underlying issue that can be treated.

Can lifestyle changes alone fix ED?

For mild, lifestyle-related cases, yes — diet, exercise, sleep, and quitting smoking can meaningfully improve function.

When should I see a doctor?

If ED persists for several weeks, appears suddenly, or is accompanied by other symptoms like fatigue or low libido.

Where to Go From Here

Erectile dysfunction is common, treatable, and almost always explainable. The causes of erectile dysfunction range from blood vessel and nerve problems to hormone imbalances, medication side effects, mental health, and everyday habits — and in most men, it’s a mix of several factors working together. Rather than a personal failing, ED is a medical symptom worth taking seriously, both because effective treatments exist and because it can be an early signal of broader health issues like heart disease or diabetes.

Talking to a doctor is the fastest way to identify what’s driving the problem and find a treatment path that actually works — whether that means a simple prescription, a hormone test, a conversation with a therapist, or a set of lifestyle changes that improve sexual performance and overall health at the same time.

Book Appointment

Don't Just Read About It,
Feel The Difference.

Thousands of men have already taken the first step toward stronger energy, better performance, and lasting confidence. The science is real — and the results speak for themselves. Ready when you are.

Book Appointment