Patient information guide

What Causes Erectile Dysfunction?

Explore common causes of erectile dysfunction, including vascular disease, diabetes, hormones, nerve problems, medicines, surgery, stress and mixed causes.

AI tools

Summarize This Guide with AI

The page title, key topics and source link are passed to your selected tool in a prepared prompt.

On this page
Patient information visual for What Causes Erectile Dysfunction?

Erectile dysfunction (ED) often has more than one cause. Blood-vessel disease, diabetes, nerve or hormone problems and medicines can interact. Pelvic surgery, smoking, alcohol, stress, depression and performance anxiety may also contribute. When the problem began, other symptoms and morning erections can offer clues. Medical history and current medicines matter too. These details rarely identify the cause on their own. Assessment looks for risk factors that can be changed and for medical or structural problems. Physical and psychological factors may be present together.

Does ED usually have a single cause?

Not necessarily. Blood needs to enter the penis through the arteries and remain there during the erection. Nerve signals and the smooth muscle in the penis must also work. Pain, anxiety or distraction can interfere with arousal.

A man with diabetes, for example, may have both vascular and nerve impairment. If several unsuccessful sexual experiences then create performance anxiety, a third mechanism is added. Treating only one part of that picture may not fully address the problem.

How do blood vessels and cardiovascular health affect erections?

The penile arteries must widen to let blood into the erectile tissue. Atherosclerosis, or narrowing of the arteries, can reduce this response. Problems with the blood-vessel lining, called endothelial dysfunction, can also affect it. ED shares risk factors with cardiovascular disease: smoking, high blood pressure, high cholesterol, diabetes, obesity and physical inactivity.

Can ED be an early sign of cardiovascular disease?

It can signal a risk of blood-vessel disease, particularly when ED persists without another clear cause. Current EAU guidance includes ED in cardiovascular risk assessment. It recommends checking blood pressure and metabolic risk. Some patients also need a formal assessment of their risk of heart and blood-vessel disease.

That does not mean every episode of ED proves heart disease. The correct conclusion is narrower: unexplained or recurrent ED can be a reason to look for cardiovascular risk factors that may not otherwise have been recognised.

Can high blood pressure contribute?

Yes. High blood pressure can affect blood-vessel health. Some medicines for heart or blood-vessel conditions can also affect erections in some patients. Do not stop prescribed blood-pressure medicine without medical advice; this can be dangerous. If ED began around the time a medicine was started, ask for a medication review.

Does smoking affect erections?

Smoking damages vascular function and is a modifiable risk factor for both cardiovascular disease and ED. Stopping smoking benefits general health and may improve erections in some men. It cannot be relied on to resolve established ED.

Why are diabetes and metabolic health important?

Diabetes can affect erections in several ways. It may damage blood vessels and nerves, including the nerves that control automatic body functions. Blood-vessel lining problems and related hormone or metabolic conditions can also contribute. The length of time someone has had diabetes and their glucose control influence risk. Two people with the same HbA1c may still have very different sexual function.

Obesity and metabolic syndrome often occur alongside high blood pressure, abnormal blood fats, insulin resistance and sleep disorders. Each can contribute to ED.

Can sleep apnoea be relevant?

Obstructive sleep apnoea is linked with heart, blood-vessel and metabolic disease. Low testosterone, fatigue and sexual problems may occur alongside it. Snoring or daytime sleepiness does not prove that sleep apnoea causes the ED. A significant breathing problem during sleep may still matter to the assessment.

Can hormones cause erectile dysfunction?

They can, but testosterone deficiency is only one possible cause. Low testosterone more commonly affects sexual desire and can also contribute to erectile difficulties. Diagnosis requires symptoms plus appropriately measured hormone results; ED alone is not enough to justify testosterone therapy.

What about thyroid or other hormones?

Thyroid disease, elevated prolactin and other endocrine conditions can affect sexual function in selected patients. These tests are not required for every man with ED. They are added when symptoms, examination or initial results suggest a particular endocrine problem.

How does the nervous system affect erections?

Erection signals travel from the brain through the spinal cord and peripheral nerves to the penis. Neurological disease or injury can interfere with this pathway.

Possible examples include:

ED caused by a nerve problem varies with which nerves are affected and how severely. The diagnosis name alone cannot predict how someone will respond to treatment.

Can surgery, radiotherapy or trauma cause ED?

Yes. Radical prostatectomy and some other pelvic operations can affect the nerves and blood vessels involved in erections. Pelvic radiotherapy can also impair erectile function over time. Trauma to the pelvis, perineum or penis may damage vascular or neural structures.

The outlook depends on when ED began and how erections were before treatment. Whether nerve-sparing surgery was possible and the person’s wider health also matter. Changes in ejaculation and orgasm need separate consideration after prostate treatment. Restoring firmness does not restore semen production after prostate removal.

Can medicines cause erectile dysfunction?

Some medicines can contribute to ED, including selected antidepressants, antipsychotics, antihypertensives and drugs that influence hormones. The effect varies by drug, dose and individual susceptibility.

Do not stop a prescribed medicine simply because ED appears on its side-effect list. A clinician can assess the timing, consider other causes and decide whether an alternative is medically appropriate.

How do alcohol and recreational drugs affect erections?

A large amount of alcohol can affect arousal and erections in the short term. Long-term heavy drinking may affect hormones, nerves, liver function and relationships. Recreational drugs can affect blood pressure, thinking, anxiety and sexual response. Some combinations with ED medicines are dangerous.

The relevant question is not only whether alcohol or a substance was used, but how often, how much, and whether erection difficulties follow that pattern.

Can stress or anxiety cause ED?

Yes. Stress, depression, relationship problems and performance anxiety can reduce arousal, shift attention away from sexual stimulation and create a feedback loop of monitoring and fear of failure.

ED involving psychological factors often varies by situation and may begin more suddenly. Spontaneous or morning erections may remain. These clues are not conclusive. ED with a physical cause can fluctuate, and normal morning erections may still occur on some days.

Why can ED occur in younger men?

Younger age lowers the probability of some age-related vascular diseases but does not exclude organic ED. Relevant possibilities include:

Dismissing a younger patient’s symptoms as “just psychological” without a basic medical assessment can miss treatable causes.

Can Peyronie’s disease or penile pain contribute?

Yes. Peyronie’s disease can cause curvature, narrowing, shortening, pain and loss of rigidity. ED may reflect the penile disorder itself, associated vascular dysfunction, pain-related avoidance or anxiety about intercourse.

When a penile deformity and ED coexist, the two problems should be assessed together because they can change which treatment pathways are reasonable.

What do morning erections tell us about the cause?

Morning erections give useful context but cannot diagnose the cause on their own. Preserved spontaneous erections may suggest a situational or psychological factor. Their absence may occur with a physical cause. Poor sleep, depression, ageing and other factors can also explain it.

Occasionally, a specialist test records erections and firmness during sleep when this would help distinguish the causes. It is called nocturnal penile tumescence and rigidity testing. Most men do not need it.

Does the way ED starts provide clues?

Yes, although patterns overlap.

Sudden and situation-specific difficulty

This pattern may point toward performance anxiety, relationship context, a recent stressor, a new medicine or an acute medical event. It still deserves medical review if it persists.

Gradually worsening difficulty

A progressive course is more typical of vascular, metabolic, neurological or treatment-related causes, but no single pattern is definitive.

An erection forms but is lost quickly

Losing an erection quickly can involve anxiety, reduced stimulation, blood-flow problems, pain, medicines or several factors together. It should not automatically be called “venous leak”. Problems retaining blood during an erection are more complex than online descriptions suggest. Specialist testing is reserved for selected cases.

How is the cause of ED investigated?

The basic work-up usually includes:

  1. medical and sexual history;
  2. focused physical examination;
  3. blood pressure and assessment of cardiovascular/metabolic risk;
  4. glucose or HbA1c and lipid testing if not recently available;
  5. early-morning total testosterone;
  6. additional tests only when a particular diagnosis is suspected.

Penile duplex ultrasound, nocturnal erection monitoring or specialised endocrine tests are second-level investigations rather than routine screening for everyone.

When should a man seek assessment?

Seek assessment if ED persists, recurs or worsens. This is particularly relevant with diabetes, cardiovascular risk, low sexual desire, penile pain or curvature. Previous pelvic treatment, nerve symptoms or ED that began after a medicine was started also matter.

The next step is not automatically a particular drug. Once the likely contributors are understood, treatment can be chosen according to the clinical picture and patient preference. See erectile dysfunction treatment options.

Visible veins and cardiovascular testing

A vein visible beneath the skin does not prove an artery is blocked or the penis cannot retain blood during an erection. Surface appearance, firmness and erection duration tell different things. A new painful cord, marked swelling or colour change needs examination. An online photograph cannot identify the blood-flow problem. The penile Doppler guide explains what this test can and cannot show when used for an appropriate reason.

Heart and blood-vessel tests should answer a clinical question. Blood pressure, glucose, blood fats, smoking, family history and symptoms during exertion guide the risk assessment. They help decide whether a cardiologist should be involved. The EAU guideline discusses coronary-calcium assessment for selected risk groups. This must suit the individual and local setting. It does not mean every man with ED needs a heart scan. Tell the doctor about chest symptoms and all heart medicines before discussing ED treatment. Do not stop prescribed nitrates yourself.

Medical information note

This page explains possible causes of erectile dysfunction; it does not identify the cause in an individual. Physical and psychological mechanisms frequently overlap, and a single symptom such as morning erections or a single blood test cannot reliably make that distinction.

Related patient guides

Sources3 sources

Cookies required for site functions are always on. You can choose the other categories.

CallWhatsAppAppointment