Erectile Dysfunction: Causes, Symptoms, and Treatment

Erectile dysfunction (ED) means having consistent trouble getting or keeping an erection firm enough for sex. Many men experience occasional issues, but ED is more frequent and frustrating. It can stem from physical health problems (like heart disease or diabetes), emotional factors (like stress or anxiety), or both. While ED becomes more common with age, it's not an inevitable part of getting older. Treatments work well for most men, so don't hesitate to talk with your doctor.

In plain words

Erectile dysfunction (ED) is when a man has ongoing trouble getting or keeping an erection for sex. Many men have this problem sometimes, but with ED it happens often. ED can be caused by health problems like heart disease or diabetes, or by stress and anxiety. It is more common as men get older, but it is not just a normal part of aging. There are good treatments that can help most men with ED.

What is Erectile Dysfunction: Causes, Symptoms, and Treatment?

Erectile dysfunction (ED) means having consistent trouble getting or keeping an erection firm enough for sex. Many men experience occasional issues, but ED is more frequent and frustrating. It can stem from physical health problems (like heart disease or diabetes), emotional factors (like stress or anxiety), or both. While ED becomes more common with age, it's not an inevitable part of getting older. Treatments work well for most men, so don't hesitate to talk with your doctor.

Symptoms

Early symptoms

  • Trouble getting an erection: Difficulty achieving an erection even with sexual stimulation. This symptom may come and go at first before becoming more consistent. Some men notice they need much more stimulation than before. (3)
  • Difficulty maintaining an erection: Being able to get an erection but not keeping it long enough for satisfactory sexual activity. This might happen during sex or masturbation. It's common for this symptom to affect confidence. (3)
  • Reduced sexual desire: Lower interest in sexual activity that may develop alongside or because of erection problems. This can be temporary or related to aging, medication side effects, or emotional distress about ED. (3)
  • Erections that aren't as firm: Noticing erections feel less rigid than they used to be, even if you can still have sex. This gradual change often indicates physical factors affecting blood flow to the penis. (3)

Serious or emergency symptoms

  • Sudden inability to get any erection: A dramatic change from normal function could indicate a serious circulatory problem or another medical issue needing immediate care. Seek prompt medical attention. (3)

Causes

Primary causes

  • Blood flow problems: Atherosclerosis (clogged arteries) and other vascular conditions reduce blood flow to the penis, making erections difficult. These same issues can also affect your heart and brain. (1) (5)
  • Nerve damage: Diabetes, multiple sclerosis, spinal cord injury, or pelvic surgery can affect nerves needed for erections. Even long-term high blood sugar without diabetes can contribute. (1) (5)
  • Hormonal changes: Low testosterone and other hormonal imbalances can cause or worsen ED. Thyroid problems and chronic diseases also affect hormone levels important for sexual function. (1) (5)
  • Emotional factors: Stress, anxiety, depression, relationship conflicts, and performance anxiety often play a role. Even fear of ED can create a cycle that maintains the problem. (1)

Risk factors

Cardiovascular disease

Heart disease, high blood pressure, high cholesterol, and atherosclerosis increase ED risk by reducing blood flow. ED is sometimes called an early warning sign for heart problems. (1) (7) (5)

Diabetes

High blood sugar damages blood vessels and nerves essential for erections. Men with diabetes often develop ED 10–15 years earlier than other men. (1) (5)

Smoking and vaping

Nicotine tightens blood vessels and restricts circulation to the penis. Smokers have significantly higher ED rates than non-smokers. (7) (5)

Obesity and inactivity

Carrying extra weight and living a sedentary lifestyle contribute to ED through hormonal changes and reduced circulation. (1) (7)

Diagnosis

Your doctor will start with a detailed medical and sexual history and possibly a physical exam. Be honest—your doctor has heard it all before and needs accurate information to help you. They may run tests for cholesterol, diabetes, testosterone levels, and other underlying conditions. Some men need specialized exams to check blood flow to the penis. Nighttime erection tests help distinguish physical from psychological causes. Don't delay—diagnosing and treating any serious underlying health issue is just as important as addressing ED.

Medical history review

To identify medical conditions, medications, or lifestyle factors that could contribute to ED. (2)

Blood tests

To check testosterone, blood sugar (for diabetes), cholesterol levels, and other markers of health affecting erections. (2)

Nocturnal erection test

To see if you have normal nighttime erections (suggests psychological cause if present) or not (suggests physical cause). (2)

Ultrasound

To evaluate blood flow to the penis and look for vascular problems. (2)

Treatment

Medication options

PDE5 inhibitors

These oral medications improve blood flow to the penis during sexual stimulation. They work for over 70% of men with ED, though effectiveness varies with the cause. They are generally safe for men without serious heart conditions. (8) (4)

Alprostadil

Can be injected directly into the penis (intracavernosal injection) or inserted as a pellet into the urethra (intraurethral suppository). Works quickly but requires proper technique. (8)

Testosterone replacement

For men with confirmed low testosterone contributing to ED. May be combined with other ED treatments. Doesn't help men with normal testosterone levels. (8)

Lifestyle and self-care

  • Heart-healthy habits: Eating well, exercising regularly, managing weight, and controlling blood pressure and cholesterol improve circulation and often help ED. (8)
  • Quitting smoking and limiting alcohol: Stopping smoking and vaping improves blood vessel function. Cutting back on alcohol (especially more than 2 drinks per day) can also help maintain erections. (8)
  • Stress management techniques: Relaxation methods like meditation, deep breathing, and therapy help reduce performance anxiety. Open communication with your partner also reduces relationship stress. (8)
  • Pelvic floor exercises: Strengthening the muscles involved in erections may help some men maintain better blood flow. (8)

Always discuss dosing and treatment changes with your own prescriber.

Possible complications

  • Stress and anxiety: Many men feel significant distress about ED, leading to performance anxiety, relationship strain, and avoidance of intimacy. (6)
  • Low self-esteem: ED can damage confidence and self-image, sometimes affecting work performance and social relationships. (6)
  • Relationship problems: Unresolved ED often creates frustration and resentment between partners if not addressed openly. (6)
  • Poor quality of life: The emotional toll of chronic ED can reduce overall life satisfaction and enjoyment. (6)

When to see a doctor

Routine follow-up

  • Schedule an appointment if ED happens more often than not for several weeks or interferes with your sex life. Even if it's uncomfortable to discuss, your doctor can help. (3)
  • See your doctor sooner if you have diabetes, heart disease, or other conditions linked to ED—treating ED can improve those conditions too. (3)

Seek emergency care

  • Seek immediate care if ED starts suddenly and is accompanied by chest pain, shortness of breath, or leg pain—this could signal a serious circulatory problem. (3)

Frequently asked questions

What causes erectile dysfunction?

ED commonly results from blood flow problems (like atherosclerosis), neurological conditions (like diabetes-related nerve damage), hormonal changes (especially low testosterone), psychological factors (like stress or anxiety), or a mix of these. Many medications also contribute. A doctor can help identify your specific causes. (1) (5)

When should I worry about erectile dysfunction?

Occasional difficulties are normal, but consult your doctor if trouble with erections: happens more than 50% of the time, lasts several weeks, develops suddenly, or causes distress. Don't delay getting checked—ED can be an early warning sign of heart disease or diabetes needing treatment. (4) (3)

Is erectile dysfunction serious?

ED itself isn't life-threatening but frequently indicates other serious health issues—many men learn they have heart disease through ED symptoms. The emotional impact can also significantly lower quality of life and relationship satisfaction. Luckily, most cases improve with treatment. (1) (6)

How do I get rid of erectile dysfunction?

The best approach depends on your specific causes. Medications help over 70% of men. Lifestyle changes like quitting smoking, losing weight, and exercising often improve erections. Psychological counseling assists with anxiety-related ED. Your doctor may recommend a combination approach tailored to your health and needs. (8) (4)

At what age does erectile dysfunction start?

ED can develop any time after puberty but becomes more common each decade after age 40 due to increased health issues affecting circulation and nerves. About 40% of men have some ED by 40, increasing to 70% at 70. However, ED is not inevitable—many men maintain function through their 70s and beyond. (1) (4)

Can ED be cured?

Many men see complete recovery—especially when ED stems from treatable causes like stress, medication side effects, or hormonal imbalance. For chronic conditions like diabetes, ongoing management maintains function. Even when ED persists, most men achieve satisfactory sexual function with proper treatment. (8) (4)

References

  1. Mayo Clinic — Erectile dysfunction - Symptoms and causes source 1
  2. Mayo Clinic — Erectile dysfunction - Diagnosis and treatment source 2
  3. Cleveland Clinic — Erectile Dysfunction (Impotence) source 3
  4. NHS — Erectile dysfunction (impotence) source 4
  5. NHS — Erectile dysfunction (impotence) - Causes source 5
  6. MedlinePlus — Erectile dysfunction source 6
  7. Cleveland Clinic — Erectile Dysfunction: Risk Factors source 7
  8. Mayo Clinic — Erectile dysfunction - Treatment source 8