Requests

Psychiatry

Erectile dysfunction and anxiety

Erectile dysfunction is a persistent difficulty getting or maintaining an erection firm enough for satisfying sexual activity.

Please note: psychiatry consultations are held in Portuguese only.

Patient in a video consultation with Clínica Alegre, with the doctor on the computer screen

Reviewed by Dr Fernando Alegre

Clinical Director · OMD, registration no. 9688

Written by the Clínica Alegre team9-minute read

In this article

Among its causes, anxiety has a particular role: concern about performance (performance anxiety) can prevent an erection on its own, and any difficulty, even one with a physical cause, tends to cause anxiety that makes it worse. The relationship between erectile dysfunction and anxiety is therefore a cycle that many men know well, but few discuss.

This article explains how anxiety interferes with erections, why it is important not to overlook physical causes, how assessment works and what treatments are available. The main message is simple: the problem is common, understandable and treatable, and talking about it is the first step.

How erections work and where anxiety comes in

An erection results from a combination of psychological and physical stimulation that relaxes the blood vessels in the penis and increases blood flow. This process mainly depends on the parasympathetic nervous system, which is associated with relaxation. Anxiety activates the opposing sympathetic system, responsible for alert responses, and can prevent an erection or cause it to subside.

During sex, an anxious person tends to monitor themselves instead of focusing on sensations and their partner: "will it work?", "what if it happens again?". This constant self-monitoring, sometimes described as "spectatoring", draws attention away from pleasure and reduces arousal.

StageWhat happens in the anxiety cycle
Initial episodeA one-off difficulty due to tiredness, alcohol, stress or a new situation
Interpretation"There is something wrong with me", "it will happen again"
AnticipationAnxiety before every sexual encounter
Self-monitoringFocusing on the penis rather than sensations
Another difficultyConfirms the fear and reinforces the cycle
AvoidanceWithdrawal from intimacy, tension within the couple

Erectile dysfunction and anxiety: signs that suggest a psychological component

Some aspects of your history can help establish whether anxiety plays an important part. They are not proof, but clues to explore with your doctor. For example, having normal erections during sleep, on waking or during masturbation, but not with a partner, suggests that the physical mechanisms are intact.

More suggestive of a psychological componentMore suggestive of a physical component
Sudden onset linked to an eventGradual onset over months or years
Morning erections maintainedMorning erections rare or absent
Difficulty only in certain situations or with certain partnersDifficulty in all situations
Younger age, with no known medical conditionsCardiovascular risk factors, diabetes
Marked stress, conflict or anxietyMedication or surgery with known effects

In practice, many men have a combination of both components. A minor physical change can be amplified by anxiety, while an initially psychological difficulty can persist through habit and avoidance.

Do not overlook physical causes

Erectile dysfunction can be an early sign of cardiovascular disease because the blood vessels in the penis are small and show changes before others. Diabetes, high blood pressure, high cholesterol, smoking, excessive alcohol consumption, hormonal changes and some medicines, such as certain antidepressants and blood pressure medicines, are common causes.

A medical assessment is therefore important even when anxiety seems evident. A GP or urologist can arrange tests and assess cardiovascular risk. If you suspect a medicine is affecting your erections, speak to your doctor: do not stop treatment on your own.

The consensus from the Fourth International Consultation on Sexual Medicine, published in 2016, identified erectile dysfunction and premature ejaculation as the most common sexual dysfunctions in men, with figures varying considerably between studies because of methodological differences.

General anxiety, depression and your sex life

Performance anxiety is specific to sexual situations, but many men also experience more generalised anxiety, panic attacks or depression. These conditions affect desire, energy and the ability to feel pleasure. At the same time, erectile dysfunction can cause sadness, low self-esteem and isolation.

Treating anxiety or depression can improve sexual function. When medication is needed for these conditions, some medicines can have sexual side effects; your doctor can discuss alternatives. Starting, adjusting or stopping medication is always a medical decision.

ConditionPossible impact on sexuality
Generalised anxietyConstant tension, difficulty relaxing
Panic disorderFear of the physical sensations of arousal
DepressionReduced desire, less pleasure, tiredness
Work or financial stressLittle mental capacity
Relationship problemsDistance, criticism, fear of disappointing your partner

What happens during the assessment

The assessment begins with a conversation about the difficulty: when it began, how it has developed, the situations in which it happens, your relationship, the medicines you take, your habits and how you generally feel. It is conducted with respect and confidentiality. Many men are surprised by how naturally the subject is handled in an appointment.

A GP, urologist or andrologist assesses the physical component. A psychiatrist, who is a doctor, assesses anxiety, depression and the effects of medication. A psychologist registered with the Portuguese Psychologists' Association provides psychotherapy, and some professionals have specific training in clinical sexology. Involving your partner can be very useful if you both wish to do so.

Psychological treatment

Psychological treatment aims to break the cycle of anxiety and avoidance. It includes information about sexual response, challenging myths ("a man must always be ready"), identifying anxious thoughts and replacing them with more realistic ones, and gradual exercises focusing on sensations, with penetration temporarily taken off the table to reduce pressure.

A 2013 meta-analysis of psychological interventions for sexual dysfunction found moderate benefits overall, but noted that studies of male dysfunctions were fewer and their results less consistent than studies in women. In other words, therapy is a valid, widely used option, but the evidence specifically for erectile dysfunction still has limitations.

ComponentAim
PsychoeducationUnderstand sexual response and the role of anxiety
Cognitive restructuringChallenge catastrophic thoughts about performance
Focus on sensationsReduce self-monitoring and pressure
Work with the coupleImprove communication and reduce avoidance
Anxiety managementBreathing and relaxation techniques, mindfulness

Medication: prescription only

Medicines in the phosphodiesterase type 5 inhibitor class can make erections easier, but can only be used with a prescription. They are not suitable for everyone: they are contraindicated with some heart medicines and require an assessment first. Buying these products without a prescription, online or through informal channels, carries the risk of counterfeit products and dangerous interactions.

For men with a strong anxiety component, the doctor may consider combining temporary medication with therapy to rebuild confidence. Medication does not treat the anxiety itself, while therapy helps sustain the improvements.

Lifestyle habits and realistic expectations

Lifestyle affects both blood vessel health and anxiety levels. Some changes benefit both at once and are useful alongside any treatment, although they rarely resolve established dysfunction on their own.

HabitPossible benefit
Regular physical activityImproves cardiovascular health and reduces anxiety
Stop smokingProtects blood vessels
Limit alcoholExcess makes erections and performance more difficult
Get enough sleepTiredness increases irritability and anxiety
Manage stressBreaks, leisure time and psychological support when needed

Many men compare their performance with unrealistic standards from conversations with friends or pornography, where the duration and firmness of erections do not reflect reality. These comparisons fuel performance anxiety. Understanding that variation is normal, arousal depends on context and intimacy is not limited to penetration often relieves some of the pressure and is a common topic in therapy.

The role of your partner

Erectile dysfunction affects a couple. A partner may feel rejected or blame themselves, while the man may avoid intimacy so that he does not "fail". Talking openly, valuing other forms of intimacy and seeing the problem as something to resolve together reduces pressure and supports recovery. When a partner attends some sessions, they can better understand what is happening, stop interpreting the difficulty as a lack of desire for them and take part in the suggested exercises, always at the couple's own pace.

When to seek help

Seek help if the difficulty lasts more than a few weeks, causes distress or affects your relationship. If you have cardiovascular risk factors, a medical assessment is particularly important. Chest pain, shortness of breath or severe discomfort during or after sexual activity requires an immediate call to 112.

At Clínica Alegre in Setúbal and Seixal, the consultation begins by listening and understanding what is happening, so we can decide on the most appropriate support together.

Frequently asked questions

Can anxiety really cause erectile dysfunction?

Yes. Anxiety activates alert responses that make an erection more difficult, and can trigger and perpetuate the problem.

If I have erections in the morning, is the problem psychological?

It is a clue, but does not rule out physical factors. A medical assessment is still important.

Do young men also experience erectile dysfunction?

Yes. Anxiety often plays an important role in younger men.

Can I take erection tablets without a prescription?

No. They require a prescription because of contraindications and interactions, and the risk of counterfeit products.

Can therapy resolve it on its own?

In many cases, it helps considerably. It is sometimes combined with medication, as decided by the doctor.

Should I tell my partner?

Talking openly usually reduces pressure and helps treatment.

Can erectile dysfunction indicate heart problems?

It can be an early sign of cardiovascular disease, so it should be assessed.

Did you enjoy this article?

Scientific references2
  1. McCabe MP, Sharlip ID, Lewis R, Atalla E, Balon R, Fisher AD, et al. The incidence and prevalence of sexual dysfunction in women and men: a consensus statement from the Fourth International Consultation on Sexual Medicine 2015. J Sex Med. 2016;13(2):144–152.
  2. Frühauf S, Gerger H, Schmidt HM, Munder T, Barth J. Efficacy of psychological interventions for sexual dysfunction: a systematic review and meta-analysis. Arch Sex Behav. 2013;42(6):915–933.
Article information
Written by
Clínica Alegre team
Clinical review
Dr Fernando Alegre, Clinical Director · OMD, registration no. 9688
Published
3 Dec 2026
Last updated
3 Dec 2026
Topic
Psychiatry
Reading time
9 min

See also

Related treatments

Want to know what is right for you?

Contact us on WhatsApp or book an assessment, in person or online.

Book an appointment

Book your assessment.

Choose Setúbal or Seixal. We reply within opening hours.

Newsletter

Get the latest news from the Clínica Alegre.

Blog articles and clinic news, delivered to your inbox. Unsubscribe at any time.