Yes, Can Depression cause Erectile dysfunction. In fact, the relationship between mental health and sexual function is complex and bidirectional, meaning that not only can depression cause erectile dysfunction, but ED can also contribute to or worsen depression. Depression can affect mood, motivation, and energy levels, which are all essential components of a healthy sex life. The emotional and psychological symptoms of depression, such as feelings of sadness, hopelessness, and low self-esteem, can diminish sexual desire and arousal, leading to difficulties in achieving or maintaining an erection.