Condition · Erectile Dysfunction

Erectile dysfunction in men under 40

Short answer

ED is not rare under 40. In one clinic study, one in four men seeking help for new ED was 40 or younger, and almost half of them had severe ED. Common causes include anxiety, nicotine, cannabis and other substances, early insulin resistance and low testosterone. A proper history and lab workup finds the cause rather than just handing over a box of tablets.

By the Ultimate Male team · Updated October 8, 2026

Young man listening during a clinic consultation

How common ED is under 40

ED in younger men is more common than most people assume. In a study of 439 men seeking first help for new ED at an Italian academic clinic, 26% were 40 or younger, with an average age of about 32. Almost half of those younger men, 48.8%, had severe ED by a standard questionnaire, a rate similar to the older men in the same clinic.

The younger men differed in useful ways. They had fewer other illnesses, a lower average BMI and higher testosterone than the older group, and they were more likely to smoke and to use illicit drugs. In other words, the causes in younger men tend to be different, and many of them are fixable.

If you are wondering whether your experience counts as ED at all, our answer on whether ED is normal in your 30s is a good starting point.

The causes that dominate in younger men

Several causes come up again and again in men under 40, and many men have more than one:

Cause How it shows up
Performance anxiety and stress Erections fine alone or in the morning, unreliable with a partner
Nicotine (cigarettes, vapes, pouches) Gradual loss of firmness, worse with heavier use
Cannabis, alcohol and other drugs Inconsistent erections, lower desire, trouble finishing
Anabolic steroids or SARMs, past or present Low natural testosterone, shrunken testes, low libido
Early insulin resistance or prediabetes Weight around the middle, energy dips, borderline glucose
High blood pressure or cholesterol Often silent, found only on testing
Low testosterone Low desire, fatigue, fewer morning erections
Medicines Some antidepressants, hair-loss and blood pressure medicines

The NIDDK lists anxiety, stress, depression, smoking, heavy drinking, recreational drug use, hormone problems and medicine side effects among the causes of ED. The value of an evaluation is figuring out which apply to you.

Anxiety is common enough in younger men to have its own page on performance anxiety and ED. Cannabis has more nuance than most people expect, covered in our post on cannabis, testosterone and erections. If you have used bodybuilding drugs, our article on why SARMs are not supplements explains the hormonal fallout.

Signs worth noting before your visit

A few details help separate the causes quickly, so it is worth paying attention for a couple of weeks:

  • Whether you still wake with erections
  • Whether erections are fine alone but not with a partner
  • Whether the problem started suddenly or crept in
  • Changes in desire, energy, mood or sleep
  • Any curve, pain or lump in the penis
  • Trouble with ejaculation, including finishing too fast

The Italian study found premature ejaculation more often in the younger men, and the two problems can feed each other: a man who finishes quickly may lose his erection or start worrying about it.

The labs that turn a guess into a diagnosis

The workup is what separates a diagnosis from a guess. The American Urological Association recommends a full medical, sexual and psychosocial history for every man with ED, morning testosterone measurement, and counseling that ED is a risk marker for underlying heart disease.

A typical lab panel for a younger man includes:

Test What it looks for
Morning total testosterone, repeated if low Low testosterone
Free testosterone and SHBG Usable testosterone when the total is borderline
LH, FSH and prolactin Where a hormone problem starts, including after steroid use
A1c, fasting glucose and fasting insulin Early diabetes or insulin resistance
Lipid panel Cholesterol that damages blood vessels
TSH Thyroid problems
CBC and metabolic panel General health baseline

Our page on blood tests for erectile dysfunction explains each test in detail. Finding early insulin resistance at 32 is far better than finding diabetes at 45, and ED can be the symptom that brings it to light.

Age does not exempt you from the heart question either. The small arteries of the penis can show strain before larger arteries do, so a young man with ED, a family history of early heart disease, high blood pressure or high cholesterol deserves a closer look at his cardiovascular risk. Our page on ED as an early sign of heart disease explains that link.

Treatment paths for younger men

Treatment follows the cause. Often the first steps cost nothing: cutting nicotine, reducing alcohol and cannabis, improving sleep and losing weight around the middle. These are not consolation prizes. They treat the underlying problem.

Medical options sit alongside those changes:

  • Short-term tablets. As-needed or daily tablets can restore confidence while the cause is addressed.
  • Counseling. Helpful when anxiety, relationship stress or depression is part of the picture.
  • Hormone care with fertility in mind. If testosterone is truly low, the plan must account for future children. The American Society for Reproductive Medicine warns that testosterone use can reduce sperm production, so men who want children need fertility-sparing options discussed first.
  • Injectable medicines. Trimix or Quadmix for severe ED that does not respond to tablets.

Shockwave therapy is not FDA-cleared for ED and the AUA considers it investigational. Our page for men in their 20s and early 30s and the article on low testosterone in men under 40 go deeper on the hormone side.

When it is urgent

Call 911 for chest pain or pressure, especially during sex. Go to the ER for an erection that lasts more than 4 hours. A sudden snap or popping sound during sex followed by pain, rapid swelling and bruising may be a penile fracture, which also needs emergency care right away.

How Ultimate Male evaluates younger men

At Ultimate Male, younger men get the same full evaluation as anyone else. The first step is a free 10-minute phone call. A confidential visit at our San Gabriel or Downey clinic follows, with blood drawn the same day and results back in 24 to 48 hours.

A PA-C or MD takes a detailed history, including substances and supplements, without judgment. You get a clear explanation of what your labs show and a plan aimed at the cause, using options from our erectile dysfunction treatment range where they help. If fertility is a concern, that shapes the plan from the start.

questions

Common questions.

Erectile dysfunction in men under 40

Still unsure? Take the free assessment

Is it normal to have occasional erection problems in my 20s or 30s?
An occasional bad night, especially with alcohol, fatigue or a new partner, is common and not a diagnosis. Problems that happen more often than not over several weeks deserve an evaluation.
Will testosterone therapy affect my fertility?
Yes, it can. Outside testosterone lowers sperm production, which is why men who want children in the future need that discussion before any hormone treatment.
Can I just get tablets without testing?
Tablets may work, but they can hide a cause such as rising blood sugar or low testosterone. Testing first means the cause gets treated, not only the symptom.

Sources

  1. One patient out of four with newly diagnosed erectile dysfunction is a young man: worrisome picture from the everyday clinical practice (2013) · Journal of Sexual Medicine, via PubMed
  2. Symptoms and Causes of Erectile Dysfunction · National Institute of Diabetes and Digestive and Kidney Diseases
  3. Erectile Dysfunction (ED) Guideline · American Urological Association
  4. Testosterone Use and Male Infertility · American Society for Reproductive Medicine

This page is general education, not medical advice. A licensed clinician must review your symptoms, history and labs before any treatment decision. For chest pain, trouble breathing, signs of stroke or an erection lasting over four hours, call 911.

Ready when you are

Start with a free phone call.

Ten minutes. No pressure. We tell you honestly whether we can help.

Call 626-319-5261 Free assessment