Skip to content
Clarity
Sexual Wellness

Erectile Dysfunction: Causes, Treatment & When to See a Doctor

A clinical, judgment-free overview of erectile dysfunction causes, treatment options, and the signs that mean it is time to talk to a healthcare provider.

5 min read

Abstract illustration for Erectile Dysfunction

By Clarity Editorial Team

Reviewed for clarity and accuracy by our editorial team.

Published June 5, 2026

This article is grounded in guidance from authorities such as the WHO, CDC, NHS, and ACOG (see references). Independent review by a named healthcare professional is part of our ongoing editorial process.

Advertisement

Erectile dysfunction (ED) is the ongoing difficulty getting or keeping an erection firm enough for sexual activity. The most common erectile dysfunction causes are physical, including reduced blood flow, nerve or hormonal problems, and certain medications, while stress and anxiety can also contribute. It is common, treatable, and worth discussing with a doctor.

What erectile dysfunction is

An erection happens when nerve signals and increased blood flow work together to fill the spongy tissue of the penis. Erectile dysfunction is the recurrent or persistent inability to get or keep an erection firm enough for sexual activity. It is the most common sexual concern that people report to healthcare providers, and it becomes more common with age.

Having trouble once in a while is not the same as ED. A single off night, often tied to tiredness, stress, or alcohol, is normal and not a medical problem.

What causes erectile dysfunction

Because an erection depends on healthy blood vessels, nerves, hormones, and emotional state, a problem in any of these systems can lead to ED. In most people with persistent symptoms, the cause is physical, though psychological factors frequently play a role too.

Physical causes

Physical, or organic, causes are the most common in persistent ED. They include:

  • Vascular (blood flow) conditions such as atherosclerosis (hardened arteries), high blood pressure, and high cholesterol, which can narrow the vessels that supply the penis.
  • Diabetes, which can damage both blood vessels and nerves over time.
  • Neurological conditions and injury, including stroke, spinal injury, or damage from pelvic, prostate, or bladder surgery.
  • Hormonal issues, such as low testosterone or thyroid problems.
  • Lifestyle factors, including smoking, excess alcohol, substance use, obesity, and lack of physical activity.

Medications and other contributors

Certain prescription medicines can contribute to ED, including some treatments for high blood pressure, depression, and other conditions. If you suspect a medication is involved, do not stop it on your own; talk to your prescriber. You can learn more about how drugs can affect sexual function in our overview of medications that can affect libido.

Psychological and emotional causes

Mental and emotional health strongly influence sexual function. Stress, anxiety (including performance anxiety), depression, and relationship strain can all play a part, and they often interact with physical causes. Our article on how stress and mental health affect sex drive explores this connection in more detail.

When ED is common or normal

Erectile dysfunction becomes more frequent with age, and more than half of men between 40 and 70 experience some degree of it. That does not mean it should be ignored, but it does mean it is common and you are far from alone.

Occasional erection problems caused by short-term factors such as a stressful week, poor sleep, or a few drinks are normal. They typically resolve on their own and do not require treatment.

When to see a doctor

It is worth contacting a healthcare provider if erection problems keep happening, because persistent ED can signal an underlying health condition that benefits from treatment.

Consider booking an appointment, or contacting a sexual health clinic, if:

  • Erection problems happen regularly or are getting worse.
  • You also have symptoms such as chest pain, changes in urination, or low mood.
  • You are worried about a medication's effect, or about a known condition like diabetes or heart disease.
  • The issue is causing significant stress or affecting a relationship.

A provider will usually take a medical and lifestyle history, may perform a physical exam, and can order simple tests to look for underlying causes.

Treatment options at a high level

Treatment can usually improve erectile dysfunction, and the right choice depends on the cause. Options that a provider may discuss include:

  • Lifestyle changes, such as stopping smoking, reducing alcohol, increasing physical activity, and managing weight, blood pressure, and blood sugar.
  • Oral medicines known as PDE-5 inhibitors, which increase blood flow to the penis and are often the first-line treatment.
  • Treating an underlying condition, such as adjusting a medication, managing diabetes, or addressing a hormonal problem.
  • Psychological support or counseling, which can help when anxiety, depression, or relationship factors are involved, sometimes for both partners.
  • Other medical options, including vacuum devices, injectable or other prescription treatments, and, in select cases, surgical approaches.

For more on this topic area, see our sexual wellness and function hub.

The bottom line

Erectile dysfunction is common, and in most persistent cases it has an identifiable physical cause, often related to blood flow, nerves, hormones, or medication, with stress and emotional factors frequently adding to the picture. Occasional difficulty is normal, but erection problems that keep happening deserve attention, partly because they can flag broader health concerns. ED is usually treatable, and the most reliable first step is an honest conversation with a healthcare provider who can identify the cause and guide you toward the right options.

Advertisement

Frequently asked questions

What is the most common cause of erectile dysfunction?

In most people with persistent ED, the underlying cause is physical, with reduced blood flow to the penis being especially common. This is often linked to conditions such as high blood pressure, high cholesterol, diabetes, or smoking. A healthcare provider can help identify the specific cause.

Is occasional erectile dysfunction normal?

Yes. Occasional difficulty getting or keeping an erection is common and can be triggered by stress, fatigue, anxiety, or alcohol. It is usually not a cause for concern on its own. Erection problems that keep happening, however, are worth discussing with a doctor.

Can erectile dysfunction be a sign of a serious health problem?

It can. Because ED often involves blood vessels, it can be an early warning sign of cardiovascular disease, diabetes, or other conditions. This is one reason it is important to see a healthcare provider rather than treating it as a purely sexual issue.

Is erectile dysfunction treatable?

Usually, yes. Treatment can often improve or resolve ED and ranges from lifestyle changes and oral medicines to other medical options. The right approach depends on the underlying cause, so a provider's assessment is the recommended first step.

References

  1. Cleveland Clinic — Erectile Dysfunction (ED): Causes, Diagnosis & Treatment
  2. NHS — Erectile dysfunction (impotence)
  3. Mayo Clinic — Erectile dysfunction: Symptoms and causes
  4. Mayo Clinic — Erectile dysfunction: Diagnosis and treatment

Advertisement

Advertisement

Related reading

Part of our Sexual Wellness & Function topic.