
Key takeaways
- Stress, anxiety and depression can interfere with the brain signals that start an erection.
- Worrying about performance creates a loop: worry causes a failed erection, which causes more worry.
- Psychological ED is common, especially in younger men, and it is very treatable.
- Therapy, relaxation, better sleep and sometimes medicine all help.
How the mind affects erections
Arousal begins in the brain. When you feel relaxed and interested, the nervous system sends signals that allow blood to flow into the penis. Stress does the opposite. It activates the body's "fight or flight" response, releasing adrenaline, which tightens blood vessels and pulls attention away from sexual cues. The result can be a weaker or lost erection, even when everything physical is healthy.
Performance anxiety and the vicious circle
After one episode of ED, many men start to watch themselves during sex, a habit sometimes called spectatoring. Instead of enjoying the moment they monitor the erection, and that monitoring is itself stressful. Anxiety rises, the erection fades, and the fear of next time grows. Over weeks this can become a pattern that persists long after the original trigger has gone.
Common psychological contributors
- Work pressure, money worries and major life changes
- Relationship conflict or poor communication
- Depression, which also lowers sex drive
- Generalised anxiety or panic
- Past negative sexual experiences or shame
- Exhaustion and poor sleep
Clues that the cause may be psychological
- Erections on waking or during solo activity are normal, but fail with a partner
- The problem began suddenly, linked to a stressful event
- It varies from one situation to the next
These are only clues. Physical and psychological causes often coexist, so it is worth getting checked. See what causes ED.
What helps
Talk about it
Telling your partner removes a great deal of pressure. Many couples find the problem shrinks once it is no longer a secret. Focus on closeness and pleasure rather than on penetration alone.
Reduce the pressure
Try sensate focus exercises recommended by sex therapists: taking turns touching without the goal of intercourse. Slow breathing, mindfulness and regular exercise lower baseline anxiety.
Therapy
Cognitive behavioural therapy (CBT) and sex therapy are well established for performance anxiety. Your clinician can refer you or suggest accredited therapists.
Treat depression and anxiety
If low mood or constant worry is part of the picture, treating it can improve sexual function. Be aware that some antidepressants can themselves affect erections, so discuss options with your prescriber rather than stopping anything.
Medicines
PDE5 inhibitors can break the cycle by giving reliable erections while confidence returns. They need sexual stimulation to work and are best used alongside the strategies above. Read about how sildenafil works and how long it takes, and questions to ask before starting treatment.
Habits to avoid
- Using alcohol to calm nerves. A little may relax you, but more makes erections worse.
- Watching lots of online pornography and comparing yourself to it.
- Buying unregulated "herbal" pills. They can contain hidden drugs and are unsafe.
When to get help urgently
If low mood is severe, or you have thoughts of harming yourself, contact a crisis line or your local emergency number straight away. You do not need to cope alone.
Frequently asked questions
Will it go away by itself?
Sometimes, once the stress passes. If it lasts several weeks or keeps returning, get help.
Can pills cure psychological ED?
They treat the symptom and can build confidence, but lasting improvement often comes from addressing the stress or anxiety as well.
This article is general information and not a substitute for personal medical or mental health advice.

Written by
Dr. James Anderson
Physician, men's health
Dr. James Anderson is the physician who writes and checks the medical articles on BoostPills. He explains erectile dysfunction, its causes and its treatments in plain language, drawing on official drug labels, national health services and clinical guidelines, and always encourages readers to speak to their own clinician.
- #stress
- #anxiety
- #mental-health
Related reading
- Lifestyle changes that can help erectile dysfunctionExercise, weight, smoking, alcohol, sleep and diet all influence erections. Here are the changes with the best evidence, and which popular claims to ignore.
- ED and heart health: why erectile problems can be an early warning signErectile dysfunction and heart disease share the same root cause: damaged blood vessels. Learn why ED can appear years before heart problems and what to do about it.
- What causes erectile dysfunction? The main causes and risk factorsErectile dysfunction rarely has a single cause. Here is how blood flow, nerves, hormones, medicines, stress and lifestyle each play a part, and what to do about it.
Sources and further reading
- Erectile Dysfunction (opens in a new tab) — National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)
- Erectile dysfunction (impotence) (opens in a new tab) — NHS (UK)
- Erectile dysfunction: Symptoms and causes (opens in a new tab) — Mayo Clinic
