Sexual and reproductive health

Erectile dysfunction (ED)

Trouble getting or keeping an erection is common and treatable — and it can be an early clue to heart and blood-vessel problems worth checking.

Medical review: pending. Written from the cited guidelines; a named clinician has not reviewed this guide yet. How review works

What it is

Erectile dysfunction (ED) means having trouble getting or keeping an erection firm enough for sex. It's common, especially with age, and it can usually be treated.[1] Because erections depend on healthy blood flow, ED can be a sign of another health problem.[2]

See the erectile tissue and its arteries in 3D.

See it in 3D

How common it is

About 40%of men are affected at age 40.[1]
70%report ED by age 70.[1]
30–50 millionUS men are estimated to have ED.[1]

Causes and risk factors

Things you can't change

  • Getting older, which makes ED more common.[1]

Things you can change

  • Heart and blood-vessel disease, high blood pressure, diabetes, obesity, chronic kidney disease.[2]
  • Smoking, drinking too much alcohol, too little physical activity and recreational drug use.[2]
  • Some medicines, such as certain antidepressants and blood pressure medicines — don't stop them yourself; talk to your clinician.[2][4]
  • Anxiety, depression, stress and relationship problems.[2]

Symptoms worth reporting to a doctor

  • Trouble getting an erection
  • Trouble keeping an erection long enough for sex
  • A change that keeps happening, rather than an occasional off night

ED may be a symptom of another health problem, so it's worth raising with a clinician.[2]

Get urgent care if…

How it's diagnosed

Health and sexual history
Including medicines, mood and lifestyle.[2]
Physical exam and blood tests
Checking for heart, blood-vessel, hormone and blood-sugar problems that can cause ED.[2]

Types of treatment

  • Treating the cause and lifestyle changes. Quitting smoking, limiting alcohol, more activity, a healthy weight and diet, and stopping illicit drugs.[4]
  • Counselling. Helpful when stress, anxiety or relationship issues contribute; a partner can join.[4]
  • Reviewing medicines. A clinician may change a dose or switch a medicine that may be causing ED.[4]
  • Medicines. Pills called PDE-5 inhibitors improve blood flow to the penis; injections and urethral suppositories are other options. Testosterone is added only when ED comes with low testosterone.[4]
  • Devices and surgery. Vacuum erection devices, and — usually as a last resort — a penile implant.[4]

Which option fits depends on the details of each person’s situation. Your care team decides with you.

What you can do

Check

Use it as a health check

Ask your clinician to check your blood pressure, cholesterol and blood sugar too.[2][3]

Habits

Stop smoking

Smoking is one of the lifestyle causes of ED.[2]

Move

Get active

More physical activity and a healthy weight are part of ED treatment.[4]

Protect

Don't buy pills online

Talk with a clinician before ordering ED medicines or supplements.[4]

Questions to ask your doctor

  1. What might be causing my ED?
  2. Should my heart health be checked?
  3. Could one of my medicines be responsible?
  4. Is a PDE-5 inhibitor safe with my other medicines?
  5. What are the options if pills don't work?

Myth vs. fact

MythED is just part of getting older — nothing to mention.
FactIt's more common with age but treatable, and it may signal another health problem.[1][2]
MythSupplements bought online are a safe fix.
FactNIDDK advises talking with a clinician before using supplements or ordering ED medicines online.[4]

Sources

  1. NIH National Institute of Diabetes and Digestive and Kidney Diseases. Definition & Facts for Erectile Dysfunction. Checked 23 October 2026.
  2. NIH National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Erectile Dysfunction. Checked 23 October 2026.
  3. American Heart Association News. Erectile dysfunction may be warning sign for more serious health problems (2018). Checked 23 October 2026.
  4. NIH National Institute of Diabetes and Digestive and Kidney Diseases. Treatment for Erectile Dysfunction. Checked 23 October 2026.
Written from NIDDK, AHA News.Last checked 23 October 2026.Medical review: pendingReport an error

The owner of this website is not a doctor. Human Atlas provides educational anatomy information and does not diagnose, stage, or treat disease. Talk to a qualified clinician about anything concerning your own health.

Welcome to Human Atlas

An interactive 3D atlas with male and female reference bodies, built on open, scan-derived reference anatomy, with plain-English men's health guides (female guides are coming).

Educational use only

The owner of this website is not a doctor. Human Atlas provides educational anatomy information and does not diagnose, stage, or treat disease. Talk to a qualified clinician about anything concerning your own health. The 3D model shows one adult male reference body; real anatomy varies from person to person, and some structures are simplified or not modelled. In an emergency, call 911.

Purchasing opens soon

Online purchasing isn't switched on yet, so no payment has been taken and no details were sent anywhere.

The 3D Explorer and every health page stay free while you wait.