Free next-day delivery•Orders before 2PM

Men's health

Erectile dysfunction and mental health: how they affect each other

Understand the link between erectile dysfunction, anxiety, stress, and low confidence, with practical steps to get support.

Written by
MedsHut clinical team
Pharmacy content team
Published
Updated 2 September 2026
This article gives general information. It does not give a diagnosis. Speak to a clinician if you have a new or persistent health concern.

Erectile dysfunction (ED) can affect more than your sex life. It can cause worry, low confidence, and tension in a relationship. Stress and anxiety can also make it more difficult to get or keep an erection. This can create a cycle that is difficult to stop without support.

How stress and anxiety can affect erections

Sexual arousal needs the brain and body to work together. When you feel anxious, you can focus on whether you will get an erection instead of the sexual experience. This can reduce arousal and make the problem more likely.

You can then start to expect another problem the next time that you have sex. Some people avoid sex or closeness because they do not want to feel embarrassed. Avoidance can increase anxiety and can make it difficult to speak to a partner.

Stress from work, money, family life, poor sleep, or illness can also affect sexual function. Depression can reduce interest in sex. Some medicines used for mental health conditions can have sexual side effects, but you must not stop them without medical advice.

ED can also affect mental health

Repeated erection problems can change how you think about yourself. You can feel that you have failed or that you have disappointed your partner. These thoughts can reduce confidence and increase pressure during sex.

ED is a health concern. It is not a measure of masculinity, attraction, or the quality of a relationship. It can affect people at different ages and for different reasons.

If you have low mood, anxiety, or loss of interest that continues, speak to your GP. You can also refer yourself to NHS talking therapies in England. Help is available, and you do not have to wait until symptoms become severe.

Is the cause physical or psychological?

It is not always possible to separate physical and psychological causes. Both can be present at the same time.

A clinician can ask whether ED happens in all situations, whether you still get erections at other times, and whether there was a clear change in your health or stress level. They can also review your medicine and check for physical causes.

Do not assume that anxiety is the only cause. If ED keeps happening, get a health check. Conditions such as high blood pressure, high cholesterol, diabetes, and hormone problems can affect erections.

Steps that can reduce pressure

These steps can help while you arrange clinical advice:

  • Tell your partner that the problem is not their fault.
  • Remove the expectation that every intimate moment must include penetration.
  • Choose a time when you are rested and have privacy.
  • Limit alcohol before sex.
  • Use slow breathing if you notice that you feel tense.
  • Keep regular sleep and activity routines where possible.

These steps do not replace an assessment. They can make communication easier and reduce immediate pressure.

What support is available?

A GP, sexual health clinic, or pharmacist can help you review possible causes and treatment options. Treatment can include lifestyle changes, support for a health condition, talking therapy, relationship counselling, or medicine.

Prescription ED medicine is not suitable for everyone. A qualified clinician must check your health and current medicines before treatment.

When to ask for urgent help

Call 999 or go to A&E if you or another person is in immediate danger. If you need urgent mental health help but it is not an emergency, use NHS 111 online or call 111 and select the mental health option.

Sources

Sources accessed on 2 September 2026.