Erectile function

Erectile dysfunction: causes, the heart connection and treatment

Erectile dysfunction causes include blood vessels, nerves, hormones, medicines and the mind – and ED can signal heart disease. How it is assessed and treated.

Strong evidenceUpdated 8 min readMedical review pending
Doctor talks with a male patient during a blood pressure check
Photo: Ninthgrid / Unsplash

In short

Erectile dysfunction means repeatedly being unable to get or keep an erection firm enough for sex. The most common causes are blood vessel disease, diabetes, nerve damage, low testosterone, medicines and psychological factors – often several at once. Men with erectile dysfunction have a higher risk of cardiovascular disease, so have your GP check your blood pressure, blood sugar and cholesterol. Treatment targets the cause, and several approaches can be combined.

Key takeaways

  • Erectile dysfunction usually results from a mix of blood vessels, nerves, hormones, medicines and the mind – rarely from a single cause.
  • In a meta-analysis of prospective studies, men with erectile dysfunction had about a 50% higher risk of cardiovascular disease.
  • A GP assessment should include blood pressure, blood sugar, cholesterol and a morning testosterone test.
  • Do not stop prescribed medicines on your own, even if you suspect they affect your erections.
  • Treatment can include lifestyle changes, talking therapy, prescription PDE5 inhibitors and other medical treatments a urologist can consider.

Erectile dysfunction – repeatedly being unable to get or keep an erection firm enough for sex – usually has physical causes, often several at once: blood vessels, nerves, hormones, medicines and the mind. Because erections depend on healthy blood vessels, the problem can be an early warning sign of cardiovascular disease1. That makes erection problems a good reason to see your GP, even if everything else feels fine.

The good news is that the cause can usually be found and that there are several treatment options. This guide covers what may lie behind the problem, why the heart is part of the picture, how doctors assess it and which treatments exist.

What is erectile dysfunction?

Erectile dysfunction (ED) is the medical term for persistent difficulty getting or keeping an erection sufficient for a satisfying sex life2. The key word is persistent. Almost every man has the occasional failure, for example after a long working week, a party or an argument. That is not a disease.

Erection problems become more common with age, and they are closely linked to conditions that also become more common over the years, such as high blood pressure and diabetes2. Even so, many men keep good erectile function well into later life. Age on its own is not an explanation you have to accept.

An erection is teamwork. Desire and touch send signals through the nerves, the blood vessels in the penis widen, the erectile tissue fills with blood, and the blood is held in place. Testosterone mainly supports desire. If one link fails – the brain, the nerves, the hormones or the blood vessels – erections can become weaker or shorter.

What are the most common causes of erectile dysfunction?

Doctors distinguish between organic (physical) and psychogenic (psychological) causes, but many men have a mix2. A physical cause often brings insecurity and performance anxiety with it, and the two then reinforce each other.

Type of cause Examples Typical features
Blood vessels atherosclerosis, high blood pressure, diabetes, high cholesterol, smoking, excess weight, inactivity develops gradually, often alongside other risk factors
Nerves diabetic nerve damage, spinal cord injury, multiple sclerosis, Parkinson's disease, pelvic surgery or radiotherapy often other nerve or bladder symptoms too
Hormones low testosterone, high prolactin, an overactive or underactive thyroid often reduced sex drive and fewer morning erections
Medicines and drugs some blood pressure medicines, antidepressants, antipsychotics, heavy drinking, anabolic steroids may start after a new medicine or a change in treatment
Psychological and relationship factors performance anxiety, stress, depression, relationship conflict may start suddenly and vary with the situation
Changes in the penis Peyronie's disease (scar-tissue plaques that cause curvature), penile injury curvature, pain or a change in shape during erection

In younger men, stress and performance anxiety are common explanations, but physical causes occur too. One cause many men overlook is anabolic steroid use. Former users can have low natural testosterone and symptoms of testosterone deficiency for years after stopping3.

Why can erectile dysfunction be a warning sign of heart disease?

Erectile dysfunction and cardiovascular disease share many risk factors: high blood pressure, diabetes, high cholesterol, smoking, excess weight and physical inactivity2. Often the shared mechanism is impaired function of the endothelium – the thin layer of cells lining the blood vessels that helps them widen. A common explanation for why the penis “speaks up” first is that its arteries are small, so reduced blood flow may be noticed there earlier than in the heart.

A 2011 meta-analysis pooled 12 prospective cohort studies with almost 37,000 men in total, in which erectile function was recorded before the men were followed over time1. Men with erectile dysfunction had a higher risk on every outcome studied:

Outcome Relative risk with erectile dysfunction
Cardiovascular disease overall 1.48
Coronary heart disease (disease of the heart's own arteries) 1.46
Stroke 1.35
Death from any cause 1.19

A relative risk of 1.48 means roughly a 50% higher risk than in men without erectile dysfunction1. What that means for you depends on your starting point. For a young man with no other risk factors, the absolute risk is still low, while the same relative increase matters far more for an older man with diabetes and high blood pressure. The studies were observational: they show an association, not that erection problems themselves damage the heart.

That is why the European urology guidelines recommend that men with erectile dysfunction have their cardiovascular risk factors assessed2. To see where you stand, start with the blood pressure checker and read about the heart numbers every man should know.

Can erectile dysfunction be psychological?

Yes. Stress, performance anxiety, depression and relationship problems can cause erection problems on their own, and they often amplify problems that have a physical cause2. Typical signs of a psychological cause are a sudden start, problems that vary with the situation, and morning erections and erections during masturbation that work as before. That is a clue, not a diagnosis – and mixed causes are common.

Performance anxiety is a vicious circle: it fails once, next time you fear it will happen again, and the fear itself dampens the erection. Talking openly with your partner, taking the pressure off intercourse for a while and getting help from a sex therapist or psychologist can break the circle. The guidelines recommend talking therapy, such as cognitive behavioural therapy, on its own or alongside medical treatment2. Read more in our article on the psychology of desire.

Which medicines can cause erection problems?

Several common medicines can affect erections. The guidelines list, among others, some blood pressure medicines (particularly thiazide diuretics and beta blockers), antidepressants, antipsychotics and hormone-blocking treatment, including 5-alpha reductase inhibitors for an enlarged prostate2. Alcohol, cannabis, opioids and other drugs can also play a part.

How does a GP assess erectile dysfunction?

The assessment starts with a conversation. Your doctor will ask when the problems began, whether you have morning erections, how your desire is, which medicines you take, and about smoking, snus, alcohol and other substances. Many doctors use a standardised questionnaire such as the IIEF (International Index of Erectile Function)2.

This is usually followed by:

  • a physical examination including blood pressure, pulse, weight and often waist measurement, plus an examination of the genitals
  • blood tests for blood sugar (fasting glucose or HbA1c) and cholesterol
  • a morning testosterone test, and further hormone tests if needed
  • an assessment of your overall cardiovascular risk2

Under the 2024 European guidelines, a clinic blood pressure of 140/90 mmHg or higher counts as hypertension4. Read more about the testosterone blood test and how to prepare, and note down your questions in the doctor visit question builder before your appointment.

What treatments are available for erectile dysfunction?

Treatment targets the cause, and several approaches are often combined2.

Treatment What it involves Who assesses it
Lifestyle and risk factors more physical activity, weight loss, stopping smoking, less alcohol, treating blood pressure, blood sugar and cholesterol you, together with your GP
Talking therapy sex therapy or cognitive behavioural therapy, ideally together with your partner sex therapist, psychologist or GP
Prescription PDE5 inhibitors tablets that strengthen the body's own erection response during sexual stimulation GP or urologist
Other medical treatments local treatment with a medicine in or on the penis, a vacuum device, or surgery with an implant urologist
Treating hormone disorders for example testosterone therapy when deficiency is confirmed GP, endocrinologist or urologist

Lifestyle works. A meta-analysis of six randomised trials found that lifestyle changes and treatment of cardiovascular risk factors improved erectile function5. For the practical side, read our guide to better erections through lifestyle.

PDE5 inhibitors only work with sexual stimulation, and they must never be combined with nitrates – neither nitroglycerin for angina nor “poppers” – because blood pressure can fall dangerously2. If you have heart disease, your doctor will also consider whether your heart can cope with sexual activity. Potency pills from websites, gyms or friends are not a safe alternative: you cannot know what they contain, and nobody has checked whether they suit your heart and the medicines you take.

Testosterone therapy is only relevant when deficiency has been confirmed, and it often does not fix erection problems on its own6. Read more in our article on testosterone and erectile dysfunction.

When should you see a doctor?

Erection problems are common and nothing to be ashamed of. Raising them is often the first step towards both a better sex life and a healthier heart.

Frequently asked questions

Can erectile dysfunction go away on its own?
Yes, especially when it is caused by a period of stress, poor sleep, heavy drinking or performance anxiety. Problems that last several weeks or keep coming back are still worth raising with your GP. High blood pressure, diabetes and high cholesterol do not go away by themselves, and a simple check-up can pick them up early.
Is erectile dysfunction a sign of heart disease?
It can be. Erections depend on healthy blood vessels, and men with erectile dysfunction have a higher risk of later cardiovascular disease than men without it. That does not mean you have heart disease, but it is a good reason to have your blood pressure, blood sugar and cholesterol checked – especially if you smoke, carry extra weight or have heart disease in the family.
Which doctor should I see about erection problems?
Start with your GP or family doctor, who can do the first assessment with a conversation, an examination and blood tests, and can start treatment. If needed, you can be referred to a urologist – a specialist in the urinary tract and male genital organs – or to a sex therapist or psychologist if psychological or relationship factors play a big part.
Can young men get erectile dysfunction?
Yes. In younger men, stress, performance anxiety and depression are common explanations, but physical causes occur too – for example diabetes, medicines, heavy drinking or current or past use of anabolic steroids. Persistent problems deserve an assessment at any age, and there is nothing to be ashamed of.
Do PDE5 inhibitors work for everyone with erectile dysfunction?
No. PDE5 inhibitors are prescription tablets that strengthen the body's own erection response during sexual stimulation. They help many men but not all, and they must never be combined with nitrates for angina or “poppers”. Your doctor decides whether they suit you and whether other causes also need treatment.

Sources

  1. Dong JY, Zhang YH, Qin LQ. Erectile dysfunction and risk of cardiovascular disease: meta-analysis of prospective cohort studies. J Am Coll Cardiol 2011.
    ModeratePMID 21920268
  2. Salonia A, Bettocchi C, Boeri L, et al.. European Association of Urology Guidelines on Sexual and Reproductive Health-2021 Update: Male Sexual Dysfunction. Eur Urol 2021.
    StrongPMID 34183196
  3. McEvoy JW, McCarthy CP, Bruno RM, et al.. 2024 ESC Guidelines for the management of elevated blood pressure and hypertension. Eur Heart J 2024.
    StrongPMID 39210715
  4. Pencina KM, Travison TG, Cunningham GR, et al.. Effect of Testosterone Replacement Therapy on Sexual Function and Hypogonadal Symptoms in Men with Hypogonadism. J Clin Endocrinol Metab 2024.
    StrongPMID 37589949
  5. EAU Guidelines on Sexual and Reproductive Health. European Association of Urology.
    Strong
Medical review pending
Written and fact-checked by the TRT Norden editorial team against the sources below. A licensed clinician has not yet reviewed this page.
Updated 8 November 2026 · General information, not medical advice. Talk to a doctor about your own situation.

Photos on this page: Ninthgrid, Gus Moretta, Jenny Hill, Artur Łuczka, Jackie Best / Unsplash