What Causes Erectile Dysfunction?

Erectile dysfunction is a common condition that affects up to half of men in the UK and is mainly caused by blood flow issues, such as high blood pressure and narrowing arteries (atherosclerosis), nerve damage caused by conditions such as diabetes, and weight-related issues, heart conditions, and even hormonal imbalances can play a role.

Lifestyle factors can also cause erectile dysfunction, including being overweight or obese, smoking, excessive alcohol intake, as well as psychological factors, including stress and anxiety. Often, there are several factors contributing to erectile dysfunction, not just a single cause.

Find out what the possible causes of erectile dysfunction are and what you can do about it.

Dr Clair Grainger

Medically reviewed by

Dr Clair Grainger

Last reviewed: 30 Nov 2026

What Are the Main Causes of Erectile Dysfunction?

The most common cause of erectile dysfunction in the UK is physical damage to the blood vessels that supply blood to the penis, often caused by a condition that causes the arteries to become narrow, called atherosclerosis. It’s closely linked to high blood pressure, diabetes, high cholesterol and obesity. Being overweight or obese can increase the risk of erectile dysfunction by 30 to 90% compared to people who are of a healthy weight and can be a contributing factor in up to 79% of cases of ED. Heart conditions are also a major cause of erectile dysfunction, with one study showing that 44 to 75% of men with symptomatic heart disease were affected by ED.

Here is an overview of common causes of erectile dysfunction. A person can have more than one possible cause, and some of these causes can be closely related:

Possible cause Average % of men with erectile dysfunction affected by condition listed
Being overweight 79%
Coronary artery disease (heart disease) 5 to 56%
Obstructive sleep apnoea 28 to 79%
Metabolic syndrome 74%
Drinking alcohol 33%
High cholesterol 70.6%
High blood pressure 67%
Smoking 40%
High blood pressure 25%
Medication side effects 79%
Diabetes 65%
Prostate disorders 27.47%
Anxiety 38%
Depression 65%
Peyronie’s disease 13%

Other possible causes:

  • low testosterone
  • parkinson’s disease
  • multiple sclerosis
  • stroke
  • liver or kidney problems
  • chronic obstructive pulmonary disease
  • penis injuries
  • hyperprolactinemia
  • lower urinary tract symptoms
  • thyroid disorders
  • illegal drug use
  • cycling a lot

Is Age a Cause of Erectile Dysfunction?

Age itself isn't a cause of erectile dysfunction, but erectile dysfunction does become more common as men get older. This is because physical conditions such as heart problems and prostate disorders, which can cause ED, become more likely as you age.

According to a self reported sexual activity questionnaire, the prevalence was reported to be 52% among men aged 40 to 70 years. This increased with increasing age (by three-fold between 40 and 70 years old).

In this group:

  • 17.2% of men reported mild cases of ED
  • 25.2% of men reported moderate cases of ED
  • 9.6% of men reported severe cases of ED

While ED is more common as you get older, some younger men also experience it. While older men are more likely to get erectile dysfunction due to an underlying health condition, there are psychological causes of ED that can affect younger men – such as anxiety. In fact, psychological causes of ED can be more common than physical causes for younger men.

How to Tell What’s Causing Your Erectile Dysfunction

There’s no foolproof way to figure out what’s causing your erectile dysfunction, but we can help you narrow it down to the more likely possible causes.

  • Do you only have trouble getting erections every now and then? – You could be having temporary erectile dysfunction caused by one off situations
  • Do you regularly find it hard to get and keep erections, except when you’re alone or when you wake up? – You could be having erectile dysfunction related to psychological causes (more likely if you’re under 40)
  • Do you regularly find it hard to get and keep erections in all situations? – You could be having erectile dysfunction related to physical causes (more likely if you’re over 40)

Psychological causes

Performance anxiety

Performance anxiety, sometimes called ‘stage fright’, is when you can’t do what you’re trying to do because the experience of being watched is too overwhelming for you to focus.

When it comes to sex, the same thing can happen. The pressure to perform can make you feel less aroused, and also cause erectile dysfunction.

Other reasons for performance anxiety can include worrying about ejaculating too quickly, fear of STIs, and even fear of erectile dysfunction itself.

When you’re feeling anxious, your blood is pumped away from places like your penis, and into the heart and lungs to try and help you get ready for ‘fight or flight’. It can also get in the way of you releasing the chemical from your brain that causes erections.

Stress, fatigue, and erections

Anxiety and stress can affect the blood flow to your penis, and the chemical signals your brain is putting out to get erections going. And, fatigue and tiredness can stop you feeling aroused altogether.

Making sure you’re well-rested and relaxed before sex, and comfortable during, can improve your chances of getting and staying hard. Chronic stress can be managed with relaxation techniques, exercise, and counselling. Fatigue should go away with rest. If it doesn’t, then you might want to talk to a doctor and consider chronic fatigue or depression as possible causes.

Porn-induced erectile dysfunction

Porn-induced erectile dysfunction occurs when your brain’s reward system becomes overstimulated by regular porn use, making sex in real life feel less arousing. It happens because porn can give you an unrealistic expectation about what sex should be like in real life, and affect your sexual function.

Porn-induced erectile dysfunction can cause difficulty getting or maintaining an erection with a real life partner, despite getting strong erections when you are alone, taking a long time to orgasm, and a reliance on porn to achieve orgasm.

Some research suggests that porn-induced erectile dysfunction affects over 21% of people aged between 18 and 35 years old.

Other mental health causes

Depression and anxiety can both affect erections. Anxiety can increase your stress levels and distract you, making it difficult to feel aroused. Depression can also limit arousal and interest in sex.

The main treatments for both depression and anxiety – selective serotonin reuptake inhibitors (SSRIs, antidepressants) – can also cause erectile dysfunction as a side effect. They can also make it difficult to orgasm, too.

Relationship problems

It’s never good to jump to conclusions about your relationship because you’re having erection problems. There are lots of causes of erectile dysfunction that have absolutely nothing to do with your partner(s). On the other hand, the stresses and pressures of being in a relationship, or certain relationship dynamics, can sometimes be a cause of erectile dysfunction.

If you find that you often lose erections with one person, then it could be that your feelings towards them are getting in the way. One option would be to consider seeking relationship counselling if you feel relationship issues are affecting your ability to get or keep an erection.

Physical causes

Health conditions

There are a lot of different health conditions that can cause erectile dysfunction. It is important to have a check-up with your GP if you are having problems with your erections, as there may be an underlying health condition causing them.

Common conditions that can cause erectile dysfunction, and how they cause it:

Conditions How they cause erectile dysfunction

Cardiovascular affecting conditions:

  • heart conditions
  • high blood pressure
  • high cholesterol
  • diabetes
  • metabolic syndrome

These conditions can all affect blood flow to the penis, making erections more difficult. Scientists think that smooth muscle damage could also link heart conditions with erectile dysfunction.

Diabetes can also cause nerve damage, which can affect the nerves that control your ability to get erections.

Metabolic syndrome is a term used to describe a combination of conditions that increase your risk of diabetes, heart or blood vessel problems and can therefore increase the risk of developing ED.

Sleep disorders

Certain sleep disorders such as sleep apnea can cause erection problems. This is because untreated sleep apnea can affect your testosterone levels, cause fatigue and increase your risk of developing cardiovascular disease, all of which could make it harder to get an erection.

Prostate disorders

Prostate infections and treatments for other prostate problems can cause erectile dysfunction. This happens in a number of different ways, including nerve damage during prostate surgery, side effects from medications, or as a direct result of infection.

Central nervous system disorders affecting the brain or spinal cord such as:

  • multiple sclerosis
  • parkinson’s disease
  • multiple system atrophy
  • spinal cord trauma
  • central nervous system traumas
  • stroke

If your brain and spinal cord cannot send messages, for example, tell the rest of your body that you are aroused, this can cause ED. This can of course vary per condition and circumstances but if your spinal cord or central nervous system is affected, your body’s messaging will impact how you have sex.

Nervous system disorders outside of the brain and spinal chords:

  • diabetes
  • kidney disease
  • liver disease
  • polyneuropathy
  • surgery of the pelvis or urethral surgery

The damage these conditions can cause to your nervous system can impact your body’s response to sexual arousal. It may be that hormonal systems are disrupted, increased levels of toxins affect your body or your sensory messengers are reduced.

Structural disorders such as:

  • Peyronie’s disease
  • penile cancer
  • prostate cancer
  • congenital curvature of the penis
  • micropenis
  • hypospadias
  • epispadias
  • phimosis

Structural disorders can limit the blood flow and nerve signals that are needed to get hard and stay hard during sex.

Other medications

Erectile dysfunction can be a side effect of a number of different medications. Below is a list of some medications that are known to cause erectile dysfunction in some men:

  • diuretics – used to treat high blood pressure and some other conditions
  • antihypertensives – used to treat high blood pressure
  • fibrates – used to lower cholesterol (but not the same as statins)
  • antipsychotics – used for some mental health conditions, like schizophrenia
  • antidepressants – used for anxiety, depression, premenstrual syndrome and other conditions
  • corticosteroids – a type of steroid used for asthma and other conditions
  • H2-antagonists – used for stomach ulcers
  • anticonvulsants – used to treat epilepsy
  • antihistamines – used for allergies like hay fever
  • anti-androgens – used to treat a number of conditions related to male hormones, like cyproterone acetate which can be used to treat prostate cancer
  • cytotoxics – used in cancer treatment

If you suspect that your erectile dysfunction is caused by a medication that you are taking, speak to your GP or prescriber as soon as possible. They may be able to suggest an alternative treatment or advise you on how to lessen this side effect.

Drugs, alcohol, and erections

Alcohol does the exact opposite of erectile dysfunction medication. It reduces how much blood flows to your penis, so getting hard can be more difficult. Some illegal drugs can have the same effect.

To see if alcohol is causing your erectile dysfunction, try an experiment – try getting an erection without drinking first and compare it to times where you have been drinking first and see if there’s a difference.

Drinking heavily and taking drugs long-term can make your erection problems last longer, even when you’re sober.

Cycling

Definitely one of the more surprising causes, but it’s true – spending a lot of time on a bike can throw a bit of a spanner in your works.

Regular cycling puts a lot of pressure on the area below your penis – the perineum, or ‘gooch’. This can affect the blood flow to the area around your penis, which can make erections less reliable.

What Are the Symptoms of Erectile Dysfunction?

Technically the only ‘symptom’ of erectile dysfunction is not being able to get or keep erections hard enough to have sex with. But, there are a lot of symptoms that you could get alongside your erectile dysfunction which could be due to one of the conditions underlying your erectile dysfunction. Since there are so many conditions that can cause erectile dysfunction and they each have a lot of different possible symptoms, it’s hard to say which symptoms point to which causes. You can use an online symptom checker to suggest possible conditions but the best thing to do is check with your doctor, promptly if your erectile dysfunction symptoms have started suddenly or following genital trauma.

Getting Tested for the Causes of Erectile Dysfunction

You can order an erectile dysfunction test kit online which checks for signs of:

  • high cholesterol
  • thyroid disorders
  • low testosterone
  • prostate disorders
  • hyperprolactinemia
  • diabetes

If you go to see your doctor they may test for the conditions above, perform a physical exam, and ask questions about your health and lifestyle.

What to Do About the Causes of Erectile Dysfunction

Some things you can try based on what's causing your erectile dysfunction include:

Cause Solution
Health conditions
  • start or switch treatments
  • lifestyle changes
  • cut down on, or quit, smoking
Sleep disorders
  • review medications and treatments with your doctor
Psychological causes
  • start or switch treatments
  • consider counselling
Stress or fatigue
  • rest
  • practice relaxation techniques
Drugs or alcohol
  • cut down or quit
Prostate disorders
  • cut down on cycling if your doctor advises
  • discuss your treatment plan with your doctor

Depending on what the causes are, you might also be able to get treatment for your erectile dysfunction. Erectile dysfunction medications can help many people get their erections back quickly and easily.

Sources

Patient Reviews