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.