Most men will have experienced some kind of sexual dysfunction because they weren't quite in the right headspace for sex. It could be because they've got a lot on at work and they're feeling stressed, or it could be relationship issues that have lowered arousal levels.
ED isn't always a physical problem. Stress, low mood and relationship worries can all play a part.
If erectile dysfunction (ED) keeps happening, looking into the psychological causes of erectile dysfunction could help to reveal the underlying cause. Ongoing ED can be linked to conditions such as depression and anxiety.1 Several emotional factors can overlap, so it's rarely down to just one thing.
ED can also be a sign of a physical health condition that can be treated, so it's worth getting checked.1
Which psychological factors can cause ED?
Several emotional and behavioural factors are known to contribute to ED. Here are the most common ones.
Depression
Depression is a mental health condition that affects people of all ages. Ongoing ED can be a sign of it.1
Activities someone once enjoyed can stop bringing pleasure, so they withdraw from them. Sex is often one of them. In a small review of 64 men attending a clinic for sexual problems, those who also had depression were more likely to report low libido.2 A low sex drive can make it harder to get an erection, even with stimulation that would normally be arousing.
On top of this, some antidepressants can cause sexual side effects, including a lower sex drive. For example, the product information for sertraline lists reduced libido and erectile dysfunction as side effects.3 They could be a direct contributor to ED.
Do not stop your antidepressant because of ED. Speak to your GP about your options first.
Stress
When there's a lot to manage in life, sex is often one of the first things to take a back seat. Stress keeps your mind occupied elsewhere. Job problems, relationship issues, financial pressure or a change in health can all play a part.
Occasional erection problems are usually down to stress, tiredness or drinking too much alcohol.1
One-off erection problems are usually nothing to worry about. It's when they keep happening that it's worth looking into.
Post-traumatic stress can have an even bigger impact. A US study of more than 400,000 male Iraq and Afghanistan veterans found that those with PTSD were more than three times as likely to be diagnosed with sexual dysfunction over two years.4
Low self-esteem
Low self-esteem is often rooted in a negative body image. But it doesn't have to be about physical appearance.
A difficult break-up, childhood bullying or a traumatic life event can damage self-worth, leading to lower confidence and a real toll on wellbeing.
That low self-esteem can carry over into the bedroom. Fear and anxiety about being "good enough" can make it hard to stay relaxed and can lead to erection problems. Negative body image can also reduce desire for sex.
Over time, low self-esteem can feed into low mood and anxiety, which can both get in the way of sex.
Nervousness about how you'll perform in the bedroom can happen at any age, including when you're first starting to have sex.
It's not unusual for this to continue, or to resurface later in life, especially if you haven't been sexually active for a while. Low self-esteem and general anxiety can feed into it. In a small 2015 review of 64 men attending a clinic for sexual problems, those who already had an anxiety disorder were more likely to report performance anxiety.2
The tricky part is that the pattern often becomes cyclical. One difficult experience knocks your confidence. That increases the anxiety going into the next encounter, which causes the erection problems to repeat.
Relationship problems
Any issues in a relationship can lower your desire for sex with that person.
Becoming more preoccupied with work, or taking on extra responsibilities like caring for children or ageing parents, can bring stress that spills into the bedroom. Less time together can start to break down communication.
For newer couples, more frequent arguments can have the same effect, making you less interested in sex. Whatever your situation, damage to the connection with your partner can lower your arousal around them, and that can make ED more likely.
Pornography use
Porn can be a useful tool for exploring your sexuality with a partner and trying new things. But it's free and instantly available, so it's never been easier to watch too much.
Some doctors have suggested that watching porn very frequently could condition your brain to expect a level of stimulation that real-life sex doesn't match. That could make it harder to get or stay aroused with a partner, sometimes called pornography-induced erectile dysfunction (PIED).5
The research here is limited and still debated, so porn is one possible factor among many rather than a proven cause.
The evidence comes mainly from a review of existing research and a few clinical reports, so it cannot show that porn causes ED. If you're finding it hard to get aroused without porn, or you feel your use is out of your control, a GP can help.
How can you treat psychological erectile dysfunction?
It's vital to address the root psychological causes of your ED, but a combination of behavioural and medicinal treatments works best.
ED treatments
There are several erectile dysfunction treatments that have been clinically proven to improve sexual function. Popular oral medication includes:
- Viagra/Sildenafil - Viagra is the branded name for generic sildenafil, a PDE5 inhibitor that relaxes the blood vessels in your penis to allow enough blood flow when you're sexually stimulated. It's taken about an hour before sex.6
- Cialis/Tadalafil - Cialis is the branded name for generic tadalafil. It works in largely the same way as sildenafil, but it can be taken at least 30 minutes before sex and can keep working for up to 36 hours. It also comes as a daily tablet, so you can have sex spontaneously.7
- Levitra/Vardenafil - Levitra is the branded name for generic vardenafil, another PDE5 inhibitor that works in a similar way.
Alternative treatments include:
- VaxAid Deluxe - a hydrotherapy vacuum pump system that uses pressure to encourage blood flow to the penis. It's a drug-free option.
Do not take ED tablets if you use nitrates for chest pain, or poppers (amyl nitrite), because the combination can cause a dangerous drop in blood pressure.6 A prescriber will check that a treatment is suitable for you first.
Change your medication
If you're taking medication for depression and you're experiencing ED or a drop in libido, ask your GP to talk you through your options. Do not adjust your dose, stop or switch medication without speaking to your GP first.
Therapy
An outside perspective can offer insight into how your mind works. It can help identify patterns of behaviour and break a negative cycle using structured steps. The NHS says counselling and therapy can help if your erection problems are linked to emotional or mental health problems, although there can be a long wait for these services on the NHS.1 Types of therapy include:
- Counselling - a therapist works with you to identify your stressors and your triggers for anxiety or depression, and shows you ways to manage them.
- Psychodynamic therapy - this digs into your subconscious to identify any deep internal conflict that's the root cause of your ED.
- Sex therapy - this aims to reduce stress and anxiety around sex by focusing on sensation and pleasure, rather than arousal and performance, to help you build a secure and reliable sex life.
- Sexual anxiety therapy - this focuses on reducing anxiety by improving your understanding of ED: the causes, any underlying emotional issues, and the solutions.
Stress management techniques
There are plenty of ways to identify your stress triggers and manage the negative feelings that follow.
Being active regularly can help you burn off nervous energy, and pausing for a few minutes to breathe can help you feel calmer.8 Talking to trusted friends, family or colleagues can also help when you're struggling.8 The NHS also advises exercising daily and trying to reduce stress and anxiety if you're having erection problems.1
Small daily habits, like being active and making time to switch off, can help bring stress levels down.
When should you seek medical advice?
Even when stress or low mood seems like the obvious cause, ED can be a sign of a physical health condition that can be treated. Your GP can check for both, so you don't have to work out the cause on your own.1
“Stress, anxiety and low mood can contribute to erection problems, but persistent ED still deserves a medical assessment to check for physical causes and medicine side effects. Counselling or psychosexual therapy may help alongside other treatment. You do not have to manage it alone, and you should not stop prescribed medicines without medical advice.
Ana Carolina GoncalvesSuperintendent Pharmacist
Speak to your GP if:
- ED keeps happening, even if you think the cause is psychological
- Low mood, stress, or anxiety are affecting your daily life, not just your sex life
- ED continues despite addressing the psychological factors above
- You're relying on pornography in a way that feels out of your control
- You have thoughts of harming yourself, or you're finding it hard to cope
Do not assume ED that keeps happening is all in the mind. Getting checked rules out physical causes you can treat.
Do not stop or change antidepressant medication without medical advice, even if you suspect it is contributing to your ED. If you need urgent support, contact NHS 111, Samaritans on 116 123, or your GP surgery. If you are in immediate danger, call 999.
Frequently asked questions
Can stress cause erectile dysfunction?
Yes. Occasional erection problems are usually down to stress, tiredness or drinking too much alcohol. Job pressure, money worries and relationship problems can all keep your mind elsewhere. If ED keeps happening, speak to a GP, as it can also be a sign of a physical health condition that can be treated.
How do I know if my ED is psychological or physical?
It can be hard to tell on your own, because emotional and physical causes often overlap. Getting erections in your sleep or when masturbating, but struggling with a partner, can point towards a psychological cause. A GP or prescriber can help you work out the cause and recommend the right treatment.
Can antidepressants cause erectile dysfunction?
Some can. Certain antidepressants cause sexual side effects, including a lower sex drive, which may contribute to ED. Do not stop or change your antidepressant without speaking to your doctor first. They can talk through your options and advise on the safest way to adjust your treatment.
Does watching porn cause erectile dysfunction?
Possibly for some men, but the research is limited and still debated. Some doctors suggest very frequent porn use could make it harder to get aroused by a partner, sometimes called pornography-induced erectile dysfunction (PIED). If you're finding it hard to get aroused without porn, or your use feels out of control, speak to a GP.
Can psychological erectile dysfunction be treated?
Often, yes. Counselling or therapy, stress management and, where suitable, ED medication can all help. Addressing the underlying cause, whether that's stress, low self-esteem or a relationship issue, is an important part of treatment. A GP or prescriber can help you decide which approach is right for you.
When should I see a GP about erectile dysfunction?
See your GP if ED keeps happening, if low mood or anxiety are affecting more than your sex life, or if you think a medication you're taking might be the cause. If you're thinking about harming yourself, contact NHS 111 or Samaritans on 116 123, and call 999 if you are in immediate danger.
References
- NHS. Erectile dysfunction (impotence). NHS website; 2023. nhs.uk
- Rajkumar RP, Kumaran AK. Depression and anxiety in men with sexual dysfunction: a retrospective study. Comprehensive Psychiatry. 2015;60:114-118. pubmed.ncbi.nlm.nih.gov
- Amarox Limited. Sertraline 50 mg film-coated tablets: Summary of Product Characteristics. Electronic Medicines Compendium; 2026. medicines.org.uk/emc
- Breyer BN, et al. Sexual dysfunction in male Iraq and Afghanistan war veterans: association with posttraumatic stress disorder and other combat-related mental health disorders: a population-based cohort study. The Journal of Sexual Medicine. 2014;11(1):75-83. doi:10.1111/jsm.12201
- Park BY, et al. Is Internet pornography causing sexual dysfunctions? A review with clinical reports. Behavioral Sciences. 2016;6(3):17. doi:10.3390/bs6030017
- Viatris Products Limited. Viagra 50 mg film-coated tablets: Summary of Product Characteristics. Electronic Medicines Compendium; 2025. medicines.org.uk/emc
- Eli Lilly Nederland B.V. Cialis 20mg film-coated tablets: Summary of Product Characteristics. Electronic Medicines Compendium; 2026. medicines.org.uk/emc
- NHS. Dealing with stress. NHS Every Mind Matters; 2026. nhs.uk
This article is intended for informational purposes only and does not replace professional medical advice. Always read the patient information leaflet supplied with your medication and speak to a healthcare professional if you have specific concerns.