
Penile erection is a complex process in which the brain, nerves, muscles, and blood vessels play a major role. In addition, hormones and emotions are at work.
Problems in any of these may result in an inability to get or maintain an erection during sexual activity. This disorder is known as erectile dysfunction. Erectile dysfunction may be caused by several reasons.
Major causes may differ in different age groups. Causes of erectile dysfunction may be broadly divided as follows.
- Psychological issues such as depression, anxiety, or stress
- Underlying health conditions such as diabetes or cardiovascular disease
- Medications such as antiandrogens, appetite suppressants, and antidepressants
- Trauma due to an injury or a surgery
- Lifestyle factors such as lack of exercise or addictions such as smoking
What is the best treatment for erectile dysfunction?
Doctors first analyze your medical history and perform a complete physical examination, including your genitals. The type of treatment they advise can be broadly divided into two categories:
Temporary treatments
These treatments include medications and devices, such as penile pumps. Since they only offer short-term relief, they fail to address the underlying cause. However, they do help most people with conditions such as diabetes and atherosclerosis.
- Medications: Over-the-counter medications, such as Viagra (sildenafil), are the most commonly used treatment for erectile dysfunction. These effectively help most men to achieve or maintain erections.
- Penile pumps: Not all men with erectile dysfunction benefit from over-the-counter medications. Some benefit from penile pumps, which are cylindrical devices in which the penis is placed to help it get turgid and filled with blood by creating a vacuum.
Targeting the underlying cause
These treatments address the underlying cause of ED since they’re focused on treating the underlying condition (such as diabetes and atherosclerosis). Treatments may include testosterone therapy and other medications or surgeries.
- Treatment of clogged arteries: Using medications and making lifestyle changes can clear the obstruction in clogged arteries and improve cardiovascular health.
- Psychotherapy: Psychotherapy in the form of counseling may help address the underlying mental blocks, such as anxiety, stress and low self-esteem.
- Surgery: Men with severe ED due to physical trauma (to the penis), prior pelvic surgery or cancer often require surgery that involves inserting a penile implant that is inflated by pumping in pressurized liquid to achieve and sustain erections, which carries the potential of offering a permanent solution to men with persistent ED.

SLIDESHOW
Sex-Drive Killers: The Causes of Low Libido See SlideshowCan erectile dysfunction be cured?

Erectile dysfunction (ED) is the inability to get or maintain an erection firm enough for penetrative sex. It is a common symptom, affecting up to one-third of adult men.
Whether ED can be cured and the time required to cure it depends on the type and cause. There are two types of ED (primary and secondary):
- Primary ED is when a man has never achieved or sustained an erection.
- Secondary ED is when a man who once was capable of getting or sustaining an erection is not able to do so later.
Many cases of secondary erectile dysfunction are temporary and can be cured. A study published in the Journal of Sexual Medicine found that about 29% of the men diagnosed with erectile dysfunction experienced remission after 5 years.
Even when erectile dysfunction cannot be cured, getting the right treatment from a doctor helps improve the symptoms.
Health News
- Weed-Friendly Posts on Social Media Get Teens Using Cannabis
- Deer Carry COVID Variants No Longer Seen in People
- Working Gets Tough When Grieving a Lost Spouse
- Obamacare Helped Women in Some Southern States Get Better Breast Cancer Care
- AHA News: Pregnancy Complications Could Increase Woman's Stroke Risk at Earlier Age
More Health News »
How can I improve my erectile dysfunction naturally?
Addictions, such as smoking and alcohol abuse, damage the lining of the blood vessels and hamper the flow of blood to the penis. Smokers are almost two times more at risk of ED than nonsmokers. Being overweight and having a sedentary lifestyle also contribute to erectile dysfunction.
Often men with ED can improve sexual function by making a few, effective lifestyle modifications, such as:
All these factors improve cardiovascular health and thus, improve blood flow to the penis. Particularly, men who quit smoking experienced significant improvements in their erectile dysfunction.
Including colorful vegetables (bell peppers, broccoli, spinach and kale), fruits (berries, apples, kiwis, oranges, grapes, pineapples and olives) and green tea to your diet can also help improve the blood vessel lining of your organs, which will in turn help improve your ED.

QUESTION
Testosterone is a chemical found only in men. See AnswerWhat are the top mental health causes of erectile dysfunction?
A problem in a person’s mental health is one of the most common contributing factors of erectile dysfunction.
- Anxiety: Anxiety can stem from anything—worrying about not being able to perform in bed (performance anxiety), finances, family responsibilities and more. This anxiety can come in the middle of the sexual act and cause the person to lose an erection early.
- Stress: Everyday stress wreaks havoc on not only a person’s heart and digestive system, but also their penis. Sex can work as a stress-buster and stress itself can cause problems in sex.
- Depression: Erectile dysfunction can have its root in depression as well. Depression is a potent dampener of desires, including a person’s sexual desire. Some medications used in the treatment of depression can also have erectile dysfunction as a side effect.
- Anger: Having frequent arguments and getting angry may make a person lose interest in sex. Although these flush the person’s face, they reduce blow flow to the penis, resulting in erectile dysfunction.
How do lifestyle factors contribute to erectile dysfunction?
Lifestyle factors contribute to erectile dysfunction in the following ways:
- Unhealthy lifestyle: Having a lot of fatty food and being physically inactive can make a person gain extra (unhealthy) pounds. Being overweight, particularly obese, lowers the amount of sex-boosting hormone known as testosterone, which ultimately affects the person’s sexual performance. It is also linked to hypertension (high blood pressure) and atherosclerosis (hardening of the arteries), which can reduce blood flow to the penis.
- Alcohol: While getting in the mood with alcohol is OK, doctors advise against overindulging. Doctors recommend drinking no more than two drinks per day for men.
- Smoking: Tobacco smoking can damage a person’s blood vessels and reduce arterial blood supply to the penis. This can lead to erectile dysfunction.
- Recreational drug abuse: The use of illegal drugs such as marijuana and cocaine can cause erectile dysfunction by damaging the blood vessels. These drugs can also restrict blood flow to the penis.
Subscribe to MedicineNet's Men's Health Newsletter
By clicking "Submit," I agree to the MedicineNet Terms and Conditions and Privacy Policy. I also agree to receive emails from MedicineNet and I understand that I may opt out of MedicineNet subscriptions at any time.
What health issues affect a person’s ability to get an erection?
Atherosclerosis and diabetes are common causes of long-standing erectile dysfunction. Other health issues that can significantly contribute to the problem of erectile dysfunction include
- Heart disease
- Obesity
- Hypertension (high blood pressure)
- Hyperlipidemia (high lipid or cholesterol level)
- Benign enlargement of the prostate
- Parkinson’s disease
- Sleep disorders
- Chronic kidney disease
- Liver disease
- Injury to the penis or prostate
- Accidents involving trauma to the spinal cord
- Multiple sclerosis
- Peyronie’s disease (formation of scar tissue under the skin of the penis)
- Treatments for prostate cancer
- Radiation therapy
- Prostate surgery
- Surgery for bladder cancer
What medications cause erectile dysfunction as a side effect?
While treating an illness, certain medications can have erectile dysfunction as one of their side effects. These include
- Antihypertensive medicines (medicines for blood pressure)
- Antidepressants (medications for depression)
- Sedatives (medicines that make a person sleepy)
- Antiandrogens (medicines used for prostate cancer therapy)
- Medications for ulcers
- Antihistamines (medicines for cold and allergies)
- Appetite suppressants
If you develop any side effects, including erectile dysfunction, after taking certain medications, consult your doctor. Do not stop taking the medications unless your doctor tells you to do so.
From 
Men's Health Resources
Featured Centers
Health Solutions From Our Sponsors
Health Solutions From Our Sponsors
Khera M. Treatment of Male Sexual Dysfunction. UpToDate. https://www.uptodate.com/contents/treatment-of-male-sexual-dysfunction
Kim ED. Erectile Dysfunction Treatment & Management. Medscape. https://emedicine.medscape.com/article/444220-treatment#d9
Martin SA, Atlantis E, Lange K, Taylor AW, O'Loughlin P, Wittert GA; Florey Adelaide Male Ageing Study. Predictors of Sexual Dysfunction Incidence and Remission in Men. J Sex Med. 2014 May;11(5):1136-47. https://pubmed.ncbi.nlm.nih.gov/24548342/
Top What Is the Main Cause of Erectile Dysfunction Related Articles
Erectile Dysfunction (ED, Impotence)
Erectile dysfunction (ED, impotence) is the failure to achieve or maintain an erection. There are many potential underlying causes of erectile dysfunction, including stress and emotional problems, brain dysfunction, problems with blood supply to the penis, and structural problems with the penis.Can Erectile Dysfunction Caused By Diabetes Be Reversed?
Erectile dysfunction is a frustrating condition where your penis cannot get or maintain an erection firm enough for sex. There is no specific treatment to reverse damage to blood vessels caused by diabetes, there are several options to help you have erections.How Do You Fix Ejaculation Problems?
It's common for ejaculation problems to occur as you age. Ejaculation problems usually don’t pose health concerns, but they can be embarrassing to experience. Learn how to fix ejaculation problems and talk to your doctor.Impotence Quiz
Did you know that certain medical condition may be responsible for ED? Some causes of impotence are medically treatable and reversible. Learn more about what can be done about erectile dysfunction with the Impotence Quiz.Impotence Slideshow
Having erection problems? What is erectile dysfunction (ED)? Learn about erectile dysfunction causes and treatments such as drugs (pills), pumps, and more.Is Erectile Dysfunction a Normal Part of Aging?
What is erectile dysfunction, and what are the signs and symptoms? Learn about the risks and causes of erectile dysfunction and what treatments are available for erectile dysfunction.What Are the Best Three Exercises for Erectile Dysfunction?
What Are the Best Three Exercises for Erectile Dysfunction? Learn whether exercises can help and what other treatments can help to relieve your symptoms.What Is the Fastest Way To Cure Erectile Dysfunction?
Learn about the symptoms of erectile dysfunction, treatment options, and the quickest way to help you resolve the condition.