Erectile Dysfunction: Symptoms, Causes, Diagnosis, Treatment, and Prevention

What Is Erectile Dysfunction (ED)?

What Is Erectile Dysfunction (ED)?
Everyday Health

Erectile dysfunction (ED) is the inability to get and keep an erection during sex. Some men have occasional trouble getting or keeping an erection, which can be normal. But when the problem becomes frequent or continues for an extended time, you should see a doctor.

There are many causes of ED, which may affect more than half of men ages 40 to 70.

Sometimes the culprit is another health issue, including heart disease and diabetes.

Understanding the signs and causes of ED is the first step toward achieving a better sex life.

Signs and Symptoms of Erectile Dysfunction

If you have ED, you might experience the following:

  • Reduced sex drive
  • Trouble getting an erection
  • Trouble keeping an erection
These symptoms can lead to feelings of depression and disappointing a partner, as well as low self-esteem.

Causes and Risk Factors of Erectile Dysfunction

An erection occurs when blood fills the penis. During sexual arousal, blood vessels, muscles, nerves, and hormones work together to create an erection. Symptoms of ED can occur when this process is disrupted.

Some men experience symptoms only occasionally. For others, the symptoms are constant and interfere with their sexual relationships. There can be multiple causes, physical and mental.

Physical Causes

Medical conditions can cause ED symptoms. These physical causes are common:

  • Heart disease or atherosclerosis (plaque buildup that narrows your arteries)
  • High blood pressure
  • High cholesterol
  • Obesity
  • Diabetes
  • Stroke
  • Parkinson’s disease
  • Multiple sclerosis
  • Metabolic syndrome (a cluster of risk factors that includes high blood pressure, elevated insulin levels, high cholesterol and triglycerides, and increased body fat around the waist)
  • Pelvic or spinal cord injury
  • Chronic kidney disease
  • Low testosterone levels
  • Peyronie’s disease (scar tissue inside the penis)
  • Sleep disorders

Tell your doctor if you have any of these problems and have symptoms of ED.

Medications That May Contribute to Erectile Dysfunction

Certain medications can cause ED:

It’s important to tell your doctor about all the drugs you take, including nonprescription ones, so they can determine if any of your medications could be responsible for your symptoms.

Psychological Causes of Erectile Dysfunction

Mental health factors can contribute to ED:

  • Depression
  • Anxiety
  • Stress
  • Relationship problems

Other Causes and Related Conditions

Using tobacco, alcohol, and illicit drugs can cause ED, especially when used long term.

Additionally, surgery for prostate cancer and radiation treatment can lead to ED.

Some sexual disorders are related to ED and may cause symptoms that are similar to ED:

  • Premature ejaculation (ejaculating too soon)
  • Delay or inability to have an orgasm after sufficient stimulation
  • Inability to be aroused

How Is Erectile Dysfunction Diagnosed?

To diagnose ED, your doctor may ask you some questions and perform a physical exam.

But if underlying conditions are a suspected cause for your ED, you may need certain tests:

  • Blood Test A blood sample may help your doctor look for signs of diabetes, low testosterone, or other issues, such as liver or kidney disease.
  • Urine Test A urine test can look for markers of diabetes and other health issues.
  • Psychological Exam Your doctor might screen you for depression or another mental health condition that could be linked to ED symptoms.
  • Ultrasound Your doctor may use a sound wave test to see if you have blood-flow problems.

What Should You Tell Your Doctor About Symptoms?

When talking to your doctor, be as open and honest about your symptoms as possible. Tell your healthcare provider how often you have symptoms and how long you’ve had them.

You should also tell your physician about these areas:

  • All the medications you take
  • Other health conditions
  • If you drink alcohol or use tobacco products
Additionally, it’s a good idea to share any life changes or stressors that could be affecting your mental health, such as the death of a loved one, a job change, the birth of a child, or trouble in your relationship. Also discuss any recent weight gain.

Treatment and Medication Options for Erectile Dysfunction

Several treatment options are available to help ED. Sometimes, resolving underlying medical conditions will also improve your ED symptoms.

Medication Options

There are several types of ED medications:

  • Oral Drugs Popular medicines such as sildenafil (Viagra), tadalafil (Cialis), vardenafil (Levitra), and avanafil (Stendra) work by boosting the effects of nitric oxide, a chemical that relaxes blood vessels in the penis. Drugs in this class (PDE-5 inhibitors) are not appropriate for patients who take nitrates in any other form because the combination can lead to severe hypotension (low blood pressure).

  • Injections The medication alprostadil (Caverject, Edex) can be injected inside your penis to help create an erection. Other medications may be placed in your urethra.

  • Testosterone Your doctor may recommend that you take this hormone if your levels are low.

Devices and Surgery

Your healthcare provider may recommend a vacuum device, also called a penis pump, to help you get an erection. The pump helps pull blood into your penis so you can achieve an erection that lasts long enough for sexual intercourse. It’s paired with a tension ring that helps you maintain an erection.

Surgery is also an option for some men with ED. During this procedure, doctors place implants in the penis. There are different procedures, depending on your goals and preferences.

Counseling and Therapy

Often, men with ED benefit from talking to a therapist, especially if they suffer from depression, anxiety, or low self-esteem. If relationship problems are a factor, couples therapy may be useful.

Complementary and Integrative Therapies

Always talk to your doctor before trying any supplement or treatment for ED.

Although some companies market “herbal Viagra” and other treatments for ED, the U.S. Food and Drug Administration (FDA) warns that these products may contain potentially harmful drugs, contaminated formulations, or unknown dosages of pharmacologically active medications. They can also interact with other medications you take.

Research also supports use of yoga, which includes breathing and movement techniques, to reduce stress and potentially help improve erectile function in some men.

Lifestyle Changes and Prevention of Erectile Dysfunction

Certain measures can help you lower your risk of ED:

  • Stopping smoking
  • Losing excess weight
  • Exercising regularly
  • Controlling high blood pressure and cholesterol
  • Getting help for alcohol or drug addiction problems
  • Considering couples counseling if you and your partner are having trouble communicating

Erectile Dysfunction Prognosis

The prognosis for men with ED is generally favorable.

While incurable medical conditions may cause ED symptoms in some people, treatment can help restore sexual function.

The duration of ED depends on the cause and how you respond to treatment.

Complications of Erectile Dysfunction

ED can lead to complications:

  • Low self-esteem
  • Stress
  • Anxiety
  • Relationship issues
  • Depression
  • Inability to get your partner pregnant

The Takeaway

  • Erectile dysfunction leads to difficulty getting or keeping an erection, and may affect half of men ages 40 to 70.
  • Frequent ED might point to underlying health issues, from depression and anxiety to heart disease and diabetes.
  • Treatment options range from medications, devices, and surgery to counseling and therapy. Talk to your doctor about what might work best for you.
  • Lifestyle changes such as stopping smoking, exercising regularly, and controlling high blood pressure and cholesterol levels could improve symptoms.

Resources We Trust

EDITORIAL SOURCES
Everyday Health follows strict sourcing guidelines to ensure the accuracy of its content, outlined in our editorial policy. We use only trustworthy sources, including peer-reviewed studies, board-certified medical experts, patients with lived experience, and information from top institutions.
Resources
  1. Leslie SW et al. Erectile Dysfunction. StatPearls. January 9, 2024.
  2. Erectile Dysfunction: Symptoms and Causes. Mayo Clinic. March 1, 2025.
  3. Erectile Dysfunction (ED). Urology Care Foundation. June 2018.
  4. Symptoms & Causes of Erectile Dysfunction. National Institute of Diabetes and Digestive and Kidney Diseases. October 2024.
  5. Sexual Dysfunction. Cleveland Clinic. May 29, 2024.
  6. Erectile Dysfunction: Diagnosis and Treatment. Mayo Clinic. March 1, 2025.
  7. Erectile Dysfunction. Penn Medicine.
  8. Erectile Dysfunction: Viagra and Other Oral Medications. Mayo Clinic. January 21, 2026.
  9. Bhat S et al. A Scoping Review: Is Yoga an Effective Intervention for Erectile Dysfunction and Premature Ejaculation? Cureus. January 30, 2024.
  10. Impotence (Erectile Dysfunction). Harvard Health Publishing. May 15, 2024.

Christopher Wolter, MD

Medical Reviewer

Christopher Wolter, MD, is an assistant professor in urology at Mayo Clinic in Phoenix, Arizona. He has been in practice since 2008, specializing in the areas of urinary incontinen...

julie-marks-bio

Julie Lynn Marks

Author

Julie Marks is a freelance writer with more than 20 years of experience covering health, lifestyle, and science topics. In addition to writing for Everyday Health, her work has bee...