
Depression and erectile dysfunction (ED) are closely linked. Research shows that men with depression are more likely to have ED, and men with ED are more likely to report depressive symptoms, though this doesn't prove that one directly causes the other (Liu et al., 2018).
Some antidepressants can also affect sexual function. Because these conditions are so closely linked, researchers recommend that doctors ask men with ED about symptoms of depression, and men with depression about their sexual function (Liu et al., 2018). If you're not sure whether what you're experiencing counts as ED, the symptoms of erectile dysfunction are a good place to start.
Liu et al. reviewed 49 publications and looked at the link between depression and ED in both directions. Depression was linked to higher odds of ED, and men with ED also had higher odds of depression (Liu et al., 2018). These findings show a clear link, but they don't prove that either condition directly causes the other.
| Direction studied | What the research found | How consistent the studies were |
|---|---|---|
| Depression → ED | Men with depression had higher odds of ED | Results varied a lot between studies |
| ED → depression | Men with ED had higher odds of depression, and this link was stronger | Results were more consistent, but came from only 6 studies |
Source for this table: (Liu et al., 2018).
An earlier study of men aged 40 to 70 also found that depressive symptoms were linked to higher odds of ED (Araujo et al., 1998).
The link can work in a few ways. Depression can lower your interest in sex, your energy, and your ability to enjoy things (WHO, 2026). Ongoing erection problems can then add stress and knock your confidence, which can make low mood worse. Physical health conditions like diabetes, and lifestyle factors like nicotine use, alcohol, and not being active, can also play a part in both (Nelson et al., 2026).
Depression and antidepressants are not the only things behind ED. For the full picture, the full range of causes behind ED covers the physical, psychological, and lifestyle factors involved.
They can. Some antidepressants, especially selective serotonin reuptake inhibitors (SSRIs), are linked to sexual side effects, including a lower sex drive, erection difficulties, and delayed or absent orgasm (Nelson et al., 2026).
SSRIs increase serotonin signaling in the brain, which can affect desire, arousal, and orgasm. Researchers have suggested several possible pathways, including changes in chemicals that affect arousal and blood flow, but the exact reasons are complex and still being studied (Rosen et al., 1999).
Depression itself is also linked to sexual problems, so erection difficulties during antidepressant treatment aren't always caused by the medicine (Nelson et al., 2026). Your doctor can help work out whether your symptoms started before or after treatment began.
Talk to the doctor who prescribed it. Some antidepressants are less likely to cause sexual side effects than others (Nelson et al., 2026). Your doctor can help you explore alternatives while considering how well your current medicine is treating your depression.
Don't stop taking antidepressants without speaking to your doctor first. Stopping suddenly can cause withdrawal symptoms, like trouble sleeping, unsteadiness, and anxiety, so doctors usually reduce the dose slowly over several weeks (NHS, n.d.).
Depending on your symptoms and overall health, your doctor may suggest adjusting your dose, switching to an antidepressant with fewer sexual side effects, or a medicine to help with erections (Mayo Clinic, 2024). Erection medicines like sildenafil (Viagra) and tadalafil have been shown to help men with ED linked to antidepressants (Taylor et al., 2013).
Sexual side effects can improve after a change in medicine, but in some cases they continue after treatment stops. European medicine regulators asked for this to be added to the information for SSRIs and similar antidepressants in 2019 (Medsafe, 2019). Tell your doctor if your symptoms continue, so they can look into other causes and options.
Mojo focuses on the psychological factors that may contribute to ED, like performance anxiety and sexual confidence, and can be used alongside the right medical care. Our guide to psychological approaches to treating ED explains what that support looks like.
Often, yes. Because depression and ED often happen together, researchers recommend that doctors ask patients with either condition about symptoms of the other (Liu et al., 2018). Spotting both can help your doctor understand what's contributing and choose treatment that supports both your mental and sexual health.
If you're wondering what that involves, how doctors diagnose ED explains the tests and questions your doctor is likely to use.
Depression and antidepressants are not the whole story. Stress, performance anxiety, and worry about erections can also contribute to sexual difficulties, even in men who don't have a diagnosed mental health condition.
Treating depression may also improve sexual function, especially when low mood is contributing to erection difficulties (Nelson et al., 2026). ED may still need its own assessment or treatment, though. Both conditions are common, and help is available for each.
If you've been feeling low or losing interest in things you usually enjoy for two weeks or longer, speak to a healthcare professional (WHO, 2026). You should also get advice if erection problems keep happening or are affecting your well-being. You don't have to work out which came first before you ask for help.
If you're struggling to cope or thinking about harming yourself, get help right away:
For ongoing support with low mood in the US, Mental Health America has information and support for depression.
The Erection Reset, built with Dr. Shannon Chavez, provides educational and psychological support focused on performance anxiety and sexual confidence. It's not a treatment for depression, and it doesn't replace professional medical or mental health care.
Start with your doctor. They can assess whether depression, medicine side effects, or other health factors are contributing to ED and recommend the right treatment. Sometimes both mental and physical health need attention. Alongside medical care, support for performance anxiety can help, and programs like The Erection Reset focus on this without replacing professional care.
Psychological ED may improve with approaches like sex therapy or cognitive behavioral therapy (CBT), which can help with performance anxiety, unhelpful thoughts, and relationship worries. European urology guidelines recommend CBT alongside medical treatment (EAU, n.d.). Psychological approaches to treating ED covers this in more depth.
Not always. Stopping or changing antidepressants may improve erection difficulties, but your doctor may instead recommend adjusting your medicine or treating ED separately. Never stop antidepressants without medical advice, because stopping suddenly can cause withdrawal symptoms.
It can. Stress, performance anxiety, and worry about erections can affect them even if you don't have a depression diagnosis. Because psychological and physical factors can overlap, doctors may check both your mental and physical health when looking into ED.
Yes. Tell your doctor about both your mood and your erection difficulties, including when the symptoms started and whether you're taking antidepressants. This can help find what's contributing and guide treatment.
Mojo aims to provide useful wellbeing resources to its users; however, you should not solely rely on opinions or advice available on the Website or given by the Community. Always seek advice from a qualified medical doctor or other healthcare professional before acting.

With 18 years as an accredited COSRT and BACP therapist, Amanda helps people navigate desire, intimacy, and the changes life brings.

A neurobiologist and science communicator, Paula turns research on the brain, behaviour and health into clear, evidence-based education about mental, physical, and sexual well-being.