Skip to content
Erectile Dysfunction: Symptoms, Causes and Treatment

Erectile Dysfunction: Symptoms, Causes and Treatment

Health guidePublished 17 min readMedical review pending

Introduction

Erectile dysfunction, or ED, means trouble getting or keeping an erection firm enough for satisfying sex 2,3. It can happen at any age, but becomes more common with age 2,4.

ED is not a natural or unavoidable part of getting older 4. Repeated problems can point to a physical, emotional, or mixed cause 2,3.

ED may also have blood vessel-related causes 2,3. A medical review can find possible causes and guide safe care 1,2.

This guide explains ED signs, causes, tests, treatments, and reasons to seek care.

Ask with sources

Explore Erectile Dysfunction in the ModernDoc app

Open the iOS beta invitation

Opens TestFlight for iPhone or iPad. Questions are not transferred from this article. Android is not available.

ModernDoc provides evidence-based health information with cited sources — not medical advice. If this may be an emergency, call 911.

Overview: What Erectile Dysfunction Is

Definition of erectile dysfunction

ED involves ongoing or repeated problems with erections 6. The erection may not become firm enough, or it may end before sex is complete 5,6.

An erection needs input from the brain, nerves, hormones, muscles, and blood vessels 6,9. Problems in any of these areas can affect erection strength.

ED is sometimes called impotence 4,8. However, ED is the more common medical term.

ED can affect self-esteem and add stress to close relationships. Some people feel embarrassed about raising the topic with a clinician 8.

Still, ED is common and can often be treated 4,9. Treatment may target the cause, improve sexual function, or do both 1.

How age affects erections

Erection problems become more common as people age 2,4. Health issues that develop with age can add to the risk 10.

For example, heart disease, diabetes, high blood pressure, and obesity become more common with age 10. Health conditions can contribute to ED 3,10.

Erections may change with age 8,10. Yet repeated erection loss should not be dismissed as aging alone 4.

Symptoms and Common Patterns

Common erectile dysfunction symptoms

ED symptoms can differ between people and situations. The main patterns include changes in erection strength, timing, or reliability.

Common signs may include the following patterns:

If erections develop only sometimes, this may fit an ED pattern 5,8.

If an erection ends too soon for sex, this may also suggest ED 5,8.

If much more stimulation is needed, erection function may have changed 8.

If no erection develops, this is another possible sign of ED 5,8.

If an erection is not firm enough for sex, this may indicate ED 6.

Difficulty getting an erection does not necessarily mean reduced sexual desire 6. However, low testosterone can affect both erections and interest in sex 6.

Other sexual problems can look similar to ED. A clinician can help separate erection trouble from other concerns.

Occasional trouble versus ongoing ED

An occasional erection problem is common 6,9. It may go away with little or no treatment 6.

Stress, tiredness, frustration, or anxiety can affect an erection 8. Alcohol and other substances may also play a role 5,8.

One difficult sexual experience does not always mean ED is present. Repeated or ongoing problems deserve a medical discussion 4,7.

Morning and nighttime erections may give useful clues about the cause 6. A clinician should assess those clues with the rest of your history.

Symptoms may worsen with certain medications or substance use 10. Some people may need further evaluation 10.

Causes and Risk Factors

ED often has more than one cause 2,3. Physical and emotional factors can occur at the same time 2,9.

Physical and medical causes

Blood vessel disease is an important cause of ED 2,3. The penis needs enough blood flow to become firm and stay firm 8.

Possible physical causes include these health conditions:

Atherosclerosis is a blood vessel disease that can contribute to ED 3,5.

Diabetes can harm blood vessels and nerves needed for an erection 2,4.

Blood-pressure medicines may reduce blood flow to the penis and contribute to ED 2,3.

Blood vessel disease is also a cause of ED 2,3.

Chronic kidney disease may contribute to erection problems 5,8.

Obesity and excess weight may raise the risk of ED 5,8.

Stroke can contribute to ED 2.

Multiple sclerosis may disrupt nerve signals needed for an erection 3,5.

Spinal cord injuries can affect messages between the brain and penis 3,5.

Low testosterone may affect erections and sexual desire 3,6.

Thyroid problems may affect hormone control of erections 3,5.

Pelvic injuries or surgery may harm nearby nerves or blood vessels 3,8.

Pelvic radiation may also affect tissues involved in erections 3,8.

Peyronie’s disease involves scar tissue within the penis 3,10. It may cause a curve and can occur with ED 3,10.

ED and heart health

ED may be a presenting sign of diabetes 2,3. This link is especially important when the cause involves poor blood flow.

The penile arteries are smaller than many heart arteries. Blood flow problems may therefore affect erections before clear heart symptoms appear.

Vascular ED can appear before coronary disease, heart attack, or stroke. Cardiovascular risk factors linked to ED include high blood pressure and high cholesterol 2,3.

Mental health and relationship factors

Thoughts and emotions can cause or worsen erection problems 5,9. They may act alone or occur with a physical cause 2,3.

Possible mental and emotional factors include:

Anxiety may make it harder to become relaxed and aroused 5,8.

Depression may reduce sexual interest or affect erection function 5,9.

Stress may interfere with sexual feelings and performance 5,9.

Low self-esteem or poor body image may add to erection problems 5.

Loneliness or feeling isolated may affect sexual well-being 5.

Past sexual experiences may shape later sexual responses 10.

Relationship concerns and poor communication may contribute to ED 6,10.

Fear of losing an erection can increase sexual pressure. Counseling can help lower anxiety and stress about sex 1,7.

Medicines that may contribute

Many prescription and nonprescription medicines can affect erections 5,8. The timing of symptoms may help show whether a medicine plays a role.

Medicine groups linked with ED include:

Some antidepressants and anxiety medicines may affect erections 5,8.

Some blood pressure medicines can contribute to erection problems 5,8.

Diuretics, also called water pills, are another possible cause 5,8.

Antihistamines may affect sexual function in some people 5,8.

Sedatives and sleeping medicines can contribute to erection trouble 5,6.

Opioids and some other pain medicines may affect erections 3,5.

Chemotherapy and hormone medicines can cause ED 5,8.

Some prostate cancer medicines may also affect erection function 8.

Do not stop or change a prescribed medicine on your own 1. A clinician may adjust the dose or choose another medicine 1.

Lifestyle and substance risks

Smoking is linked with heart and blood vessel disease 1. Those diseases can lead to ED 1.

Heavy alcohol use and recreational drugs may contribute to ED 5. Low activity levels may also increase the risk 5.

Excess weight may contribute to erection problems 2. It can also raise the risk of diabetes and high blood pressure 1.

How ED Testing and Diagnosis Works

Diagnosis often starts with a detailed conversation and physical examination. Testing then depends on the findings and possible causes 2,7.

Medical and sexual history

A clinician may evaluate an erection problem 6. Questions may cover whether erections occur during sleep and how long the trouble has lasted 6.

The clinician may ask whether erections occur during sleep or upon waking 6. This detail can offer clues about physical and emotional factors 6.

Other questions may cover:

Sexual desire and other aspects of sexual function can change 2,6.

Anxiety, stress, depression, and relationship concerns may be reviewed 6,7.

Diabetes, heart risks, surgery, or past injuries may be important 2,3.

Smoking, alcohol, activity, and recreational drug use may be discussed 3,6.

Prescription drugs, nonprescription medicines, and supplements should be listed.

A partner may join the discussion when the patient agrees 2,3. The partner may offer another view of symptoms and treatment goals.

Physical examination

A focused examination can look for blood flow, nerve, hormone, or structural problems. It may begin with blood pressure and pulse checks.

The clinician may examine the penis and testicles. This can reveal plaques, a curve, infection signs, or changes in testicle size.

Body hair patterns and breast changes may offer hormone clues. A nerve examination can look for signs of brain, spinal cord, or nerve disease.

The clinician may also assess overall heart and blood vessel health. This matters because vascular disease is a common cause of ED 2,3.

Blood and urine tests

Selected tests can look for health problems linked with ED 2,7. The right tests depend on your history and examination.

Possible laboratory tests include:

A blood glucose test can help look for underlying metabolic disease 2,7.

A lipid profile can be part of an ED evaluation 2.

A creatinine test can be part of an ED evaluation 2.

A testosterone test can find a low hormone level 2,7.

A urine test may show diabetes or another health problem 6,7.

If testosterone is low, more hormone tests may follow 2. These may include luteinizing hormone and prolactin tests 2.

When specialized testing is needed

Not everyone needs advanced testing. More testing may help when the cause is unclear or symptoms are complex 2,9.

Penile ultrasound uses sound waves to view blood flow in the penis. A clinician may first inject medicine that increases blood flow.

A nighttime monitor can record erections during sleep 6. The results may help separate physical and emotional causes 6.

An office injection test can show how the penis responds to increased blood flow 10. It may also help guide treatment choices 10.

Complex or treatment-resistant ED may need specialist assessment 2. Lifelong or injury-related problems may also need more detailed care 2.

Erectile Dysfunction Treatment Options

ED treatment depends on the cause and the person’s goals. Health conditions and personal preferences also guide the choice.

Treating underlying causes

Clinicians try to treat an underlying cause when possible 1. Care may include lifestyle changes to help prevent diabetes and high blood pressure or improve testosterone levels 1,2.

Daily health changes may improve erections and overall health 1. Useful changes can include:

Get regular exercise to support blood flow and weight control 1.

Choose a healthy eating plan that meets your health needs 1.

Work toward a healthy body weight 1.

Stop smoking to lower heart and blood vessel risks 1.

Limit or stop alcohol use when advised 1.

Avoid recreational and illegal drugs 1.

Use healthy ways to manage ongoing stress 1.

Exercise, healthy eating, and weight loss may improve erections for some people 2. These steps also address several health risks linked with ED 1,2.

Oral ED medicines

PDE5 inhibitors are common oral ED medicines 1. They improve blood flow into the penis 1.

Examples include sildenafil, tadalafil, vardenafil, and avanafil 6,7. These medicines require sexual stimulation to help produce an erection.

They differ in dose, duration, and possible side effects. Side effects may include headache, flushing, stuffy nose, or stomach upset.

These medicines are not right for everyone. A clinician should review heart health, blood pressure, and current medicines first.

Never combine a PDE5 inhibitor with a nitrate medicine. Nitrates include nitroglycerin and medicines used for chest pain.

This mix can cause very low blood pressure. Always tell the prescriber about every medicine and supplement you use 1,3.

Counseling and sex therapy

Counseling may help when stress, anxiety, or depression affects erections 1,9. It can also help with relationship concerns 1,6.

A counselor may help address emotional issues that affect ED 1. Sessions may include a partner when that feels helpful 1.

Sex therapy may be useful for performance fears or complex sexual concerns 2,7. Mental health care may be considered for complex ED 2,9.

Testosterone treatment

A clinician may consider testosterone when testing shows a low level 1,6. Low testosterone can make it difficult to get an erection 6.

Testosterone testing may be warranted in men with diabetes 2,7. Testosterone is not described as a treatment for every case of ED 1,6.

Vacuum devices

A vacuum erection device uses a tube and pump 1. The device draws blood into the penis to create an erection 1.

An elastic ring helps keep the erection in place 1. The penis may feel cold or numb while using the device 1.

Bruising can occur, though it often clears within days 1. The device may weaken ejaculation without reducing orgasm pleasure 1.

Injections and urethral medicine

Injected medicine can raise blood flow and quickly cause an erection 1. A clinician teaches the correct way to give the injection 1.

Possible effects include mild bleeding or an erection lasting too long. Scar tissue may rarely form at injection sites.

Medicine can also be placed inside the urethra 1,7. The urethra is the tube that carries urine out of the body.

Urethral medicine may cause burning or minor bleeding. A clinician can explain safe use and possible side effects 1,7.

Penile implants and surgery

Most people with ED do not need surgery 1. Surgery may be considered when other choices do not help enough 1.

A penile implant can use an inflatable pump or a flexible rod 1. A surgeon should explain the benefits and possible side effects 1.

Artery repair may help some younger people with a specific blood flow injury 1. It is not a general treatment for every case of vascular ED 1.

Supplements and online products

Talk with a clinician before taking herbs or sexual performance supplements 1,6. Supplements may interact with medicines or cause other problems 1.

Do not order ED medicine online before getting medical advice 1. Unsafe sources may sell products without proper medical review.

Shockwave, platelet-rich plasma, and stem cell treatments remain experimental. They are not ready for routine use outside suitable research studies.

When to See a Doctor

When to schedule an appointment

If erection problems keep returning, schedule a medical appointment 8. Ongoing problems may point to a health condition needing care 4,9.

A primary care clinician can begin the evaluation. The visit may lead to tests, treatment, or a specialist referral.

Arrange an assessment if ED occurs with diabetes or heart risks 8. New ED may be the first sign of vascular disease or diabetes 2,4.

Penile curvature, pelvic surgery, or spinal cord injury may be linked to ED 3,5. These details may help reveal hormone, tissue, or nerve problems 3,5.

Symptoms that need urgent medical care

Some ED treatment effects need care right away:

If an erection lasts over four hours, seek medical care right away 6.

If sudden vision loss follows oral ED medicine, seek medical care right away 1.

If sudden hearing loss follows oral ED medicine, seek medical care right away 1.

Follow-up and specialist referrals

Complex ED may need care from more than one specialist 2. The type of specialist depends on the likely cause 2.

A sexual medicine specialist may assess complex ED 2. An endocrinologist may help with complex hormone problems 2.

A cardiologist may assess unstable heart disease or major heart risks 2. A mental health professional may address deep emotional or relationship concerns 2.

A medication review can help identify drugs that may be causing ED 1,7. Do not change prescribed treatment without medical guidance 1.

Ways to lower your risk

Healthy daily habits may prevent ED or ease its symptoms 1. Key steps include:

Stay active and follow a healthy eating plan 1.

Maintain a healthy weight when possible 1.

Stop smoking and avoid recreational drugs 1.

Limit alcohol and take steps to reduce stress 1.

Seek care for high blood pressure, high cholesterol, or diabetes.

These steps support blood vessel health and erectile function 1,2. They may also lower risks linked with heart disease and diabetes 1,2.

Conclusion

ED is common and treatable 4,9. It is not an unavoidable part of aging 4.

Repeated symptoms may involve blood vessels, nerves, hormones, medicines, or emotional health 2,3. More than one cause may be present 2,3.

This guide covered erectile dysfunction symptoms, causes, testing, treatment, and when to seek care. A medical review can identify causes and guide safer treatment choices 1,2.

Sources

Evidence used in this article

10 references
  1. 3
    Erectile Dysfunction - StatPearls - NCBI Bookshelf

    NIH · National Library of Medicine

This educational article does not replace care from a licensed clinician. Automated publication checks and human medical review are separate states; the review label above reflects the recorded state for this exact content.

Keep the evidence

Explore questions about Erectile Dysfunction.

  • Research answers with sources you can inspect
  • Explore the research behind a health question
  • Bring informed questions to your clinician
Open the iOS beta invitationTestFlight for iPhone and iPad · Android not available