Five surprising causes of erectile dysfunction and how to fix it, according to a urologist

A consultant urologist at University College London Hospitals (UCLH), Pippa Sangster has been an NHS doctor for more than 25 years, and is a specialist in all aspects of male sexual health, otherwise known as andrology. Here, she outlines some of the lesser-known causes of erectile dysfunction, and the treatment options.
UCLH has the largest andrological department in the UK, with seven consultants who run more than 18 clinics every week. Many of the cases are men with erectile dysfunction, and it’s particularly common for them to be very surprised that they have developed issues with their erections in later life.
Yet this problem is far from rare. Statistics show that between 40 and 50% of all men between the ages of 40 and 70 will experience some degree of issues with their erections – but this isn’t widely discussed.
When we speak to these patients, there’s often a real feeling of panic and fear, whereas there needs to be more of an understanding that this is part of ageing, especially if your lifestyle wasn’t good when you were younger. If you smoked, had a poor diet and regularly consumed a lot of alcohol, this can develop. Midlife erection problems can also be an early warning sign of cardiovascular disease.
At the same time, there are also a number of factors which can drive erection issues that you might find surprising. Being aware of some of them could even save your life.
Here are five to bear in mind:
1. Excessive exercise
Regular moderate to vigorous exercise is very beneficial for erectile function, and whether it’s playing sport or working out at the gym, we recommend it to all our patients.
However, you can push things too far. Some studies show that extreme endurance training, for example ultra marathons or iron man triathlons, can actually lower testosterone and raise cortisol, which may negatively impact a man’s libido and sexual function.
This is perhaps because excessive exercise without sufficient rest can impact sleep and result in fatigue and elevated stress levels, all of which can reduce sexual desire and potentially affect erections.
2. Poor heart health

The penis is sometimes referred to as a window to a man’s wider cardiovascular health, especially after the age of 40. That’s because the blood vessels that flow through the penis are much smaller than those connected to the heart, so if your cholesterol has been consistently raised and your blood vessels are starting to fur up, those vessels will be affected first.
Men may notice a poorer blood supply to the penis, and hence erection strength, five years before cardiac symptoms start. As a result, erectile dysfunction is often an early red flag that points to an elevated risk of a whole range of so-called metabolic diseases, from heart disease to type 2 diabetes.
If I see a man in his 40s or 50s with erectile dysfunction, it’s vital to check their weight, blood pressure, cholesterol, smoking or drinking habits, as well as a diabetes check. We can prescribe medication to help with the erections, but it’s often even more important to get them referred to a cardiologist and try to address their risk of cardiovascular disease.
Key changes to make can include finding ways to be less sedentary, eating a healthier diet with fewer processed foods and less saturated fat, and stopping smoking, which will also improve their erections.
3. Testosterone supplements
A wave of viral videos on social media has begun promoting testosterone replacement shots as a form of lifestyle supplement; an answer to everything from muscle building to waning concentration or reduced energy levels. Unfortunately, such shots are becoming ever easier to obtain – I regularly encounter men who’ve sourced them at their gym or online.
The problem is that these men typically haven’t had a blood check to see if they’ve got low testosterone to begin with – and even if they have, most aren’t aware that testosterone replacement therapy needs to be administered very carefully with proper medical supervision.
There are several reasons for this. Pushing your testosterone levels too high can increase the thickness of the blood, increasing the risk of clots. This can cause problems with blood supply to the penis, which then impacts erections.
The reality is that a lot of middle-aged men who have become convinced they have low testosterone because of what they’ve seen on social media may be suffering from stress and burnout due to working too much, being permanently online or other lifestyle issues such as diet and lack of exercise.
4. Poor sleep hygiene

Many men suffering from erectile dysfunction and underlying metabolic diseases in midlife are also experiencing obstructive sleep apnoea, a chronic condition where your breathing stops and starts dozens – sometimes hundreds – of times during sleep, impacting the amount of oxygen able to get into the bloodstream. Men are particularly vulnerable to obstructive sleep apnoea if they’re overweight.
Each sleep apnoea event places stress on the blood vessels, hindering our cells’ ability to produce a chemical called nitric oxide, a molecule which plays a vital role in facilitating the necessary blood flow to the penis for an erection.
But it isn’t only obstructive sleep apnoea that can drive erectile dysfunction – it can also be induced by general poor habits in the bedroom. I spend a lot of time speaking to patients about what we call sleep hygiene – how much scrolling they’re doing in bed, using their laptop just before bed, whether they commonly drink alcohol in the evening, and the overall regularity of their sleeping patterns.
All these habits can impact sleep quality, which in turn impacts energy levels, hormones and sexual function.
5. Curvature of the penis
This is a condition known as Peyronie’s disease, in which fibrous scar tissue develops inside the penis, causing it to bend or curve abnormally, especially during erections, sometimes leading to pain and erectile dysfunction. It can be caused by either genetics, trauma – including injuries incurred during sex – and also exacerbated by risk factors such as smoking and diabetes.
It’s also surprisingly common – it can be seen in up to 16% of men – and yet most men who develop this condition have never heard about it. A specialist andrologist can help with this through treatments ranging from low-intensity shockwave therapy to oral and injectable medications, and, if necessary, surgery.
– As told to David Cox
Pippa Sangster’s top tips to help overcome erectile dysfunction
Exercise more
Exercise can improve the health of your blood vessels, which in turn can improve erections.
Stop smoking and eat less saturated fat
Quitting smoking can improve your blood pressure, while switching to a healthier diet, lower in saturated fat, can prevent the deadly furring up of blood vessels, which leads to erectile dysfunction, and, later, heart disease.
Remove laptops and smartphones from the bedroom
Blue light from electronic devices disrupts sleep quality, which can impact your sexual function over time. Try to go to bed at the same time each night, and read a book for 20 minutes before you go to sleep.
Stop drinking alcohol in the evening
Drinking alcohol at night impairs your sleep quality and also increases your risk of sleep apnoea events by making the muscles in your throat’s soft tissues more prone to ‘collapsing’ and obstructing the airway.
See a doctor about a prescription for Viagra, Cialis or injectable drugs like alprostadil
These drugs can tackle some of the physiological problems behind erectile dysfunction, but even more importantly, they can address the psychological issues by giving men the much-needed reassurance they can get an erection.
Get your testosterone levels checked
It’s vitally important to assess your testosterone levels via a blood test rather than assuming your levels are low. Do not take testosterone replacement therapy unless advised to by an endocrinologist.
Check your medication with a doctor
Various medications, including certain antidepressants and blood pressure medications, have been linked with an increased risk of erectile dysfunction. Speak to your GP or urologist and see if you can stop taking them or be switched to a different drug.