Héctor Lozano Jiménez, General Health Psychologist and Director of Ocnos Psychology Clinic

Written by Héctor Lozano Jiménez

General Health Psychologist · Director of Ocnos Psychology Clinic · COPAO AN 11777

Published and reviewed on · Verify COPAO registration

Key idea: if you are thinking, “I lose my erection with my partner, but I am fine on my own”, sexual performance anxiety, self-monitoring and fear of repeating a previous experience may be interfering with arousal. That pattern can be worked on. However, erections during masturbation, sleep or on waking do not prove on their own that the cause is purely psychological. If the difficulty is persistent or has clearly changed, medical factors should also be considered.

If you keep wondering “why do I lose my erection with my partner when I am fine on my own?”, it can feel baffling. On your own, your body responds normally. You may have desire and even begin partnered sex with an erection, yet the moment you feel that you “need” to stay hard, your attention shifts. Instead of being with the other person, you start watching yourself: “Is it still firm?”, “Is it going?”, “Have they noticed?”, “Please don’t let this happen again.”

For many people, the block starts a few seconds before the erection changes, when intimacy becomes an assessment. The European Association of Urology recognises situational erectile difficulties linked, for example, to partner-related issues, performance or distress, while recommending that medical, sexual and psychological factors are assessed together. The European Society of Sexual Medicine also describes how anxiety, spectatoring or self-monitoring, performance beliefs and avoidance can maintain erection difficulties.

This guide is not a trick for forcing an erection. Its purpose is to help you understand the mechanism, reduce pressure and practise skills that bring attention back to sensation, intimacy and flexibility. For a broader overview of treatment, you can also read about sex therapy at Ocnos Psychology Clinic.

If I lose my erection with my partner, why can I be fine on my own?

Sexual response is not an on/off switch. Erections are influenced by bodily processes, attention, arousal, stimulation, context, emotional state and a sense of safety. It is therefore entirely possible to respond well in one setting and experience difficulty in another.

On your own

You know the pace, there is no need to interpret somebody else’s reaction, you can stop whenever you want and there is often less sense of being evaluated.

With another person

Expectations may appear: fear of disappointing them, concern about a condom, penetration, novelty, a previous difficult experience or thoughts about what your partner might be thinking.

This does not mean that it is “all in your head”, nor that you are no longer attracted to your partner. It means the context changes what your attention and nervous system are doing. Current guidance treats erection difficulties as a biopsychosocial issue in which physical, psychological and relational factors can overlap.

Adult couple talking calmly about a sexual difficulty and offering each other support
Talking about the problem outside the sexual moment can reduce misinterpretation, guilt and pressure to perform.

The sexual performance anxiety cycle

A first erection difficulty can happen because of tiredness, alcohol, stress, insufficient stimulation, an interruption or ordinary variation in sexual response. The longer-term problem often begins when that event becomes a prediction for next time.

  1. Anticipation: “I hope it does not happen again tonight.”
  2. Monitoring: you repeatedly check firmness and stop noticing erotic cues.
  3. Anxiety: pressure rises to perform, please your partner or prove that you “work”.
  4. Less connection with arousal: attention shifts from pleasure to evaluation.
  5. Fear confirmed: any normal fluctuation is read as “it is happening again”.
Infographic showing the cycle of sexual performance anxiety, self-monitoring and reduced arousal
The cycle can continue even if the first episode was temporary: fear of repetition becomes part of the next encounter.
An erection often becomes less reliable the more it turns into a test you have to pass. The work is not to control it more forcefully, but to reduce the conditions that make you monitor it.

What losing an erection does not necessarily mean

When it happens, the mind usually wants an immediate explanation. Some conclusions feel obvious in the moment but are not necessarily accurate.

  • It does not necessarily mean you lack desire.
  • It does not necessarily mean your partner is no longer attractive to you.
  • It does not prove that there is a serious relationship problem.
  • It does not mean you “no longer work” or that it will happen every time.
  • It does not, by itself, prove that the cause is psychological.

Subjective arousal and genital response are related but not identical. You can feel desire while your erection fluctuates, and you can have an erection without experiencing the same level of desire. A rigid rule such as “if I am turned on, I must stay perfectly hard” makes it easier for ordinary variation to become a threat signal.

Exercise 1: find out what happens in the 60 seconds before the block

Observation exercise · 5 minutes

Do not record only “I lost my erection” — map the sequence

After an encounter, once you feel settled, reconstruct the minute before you noticed the change. The aim is to understand the pattern, not judge yourself.

  1. Situation: what was happening? For example, reaching for a condom, trying penetration, changing position or noticing that your partner was waiting.
  2. Thought: what sentence appeared? “I need to stay hard”, “what if it happens again?”, “I have to get this right”.
  3. Body: what changed? Breathing, jaw, abdomen, legs, chest, urgency or tension.
  4. Action: what did you do? Check, speed up, apologise, stimulate yourself urgently or withdraw from your partner.
  5. Consequence: what followed? More pressure, disconnection, avoidance or a need to prove that you could recover the erection.

What you are looking for: the point at which there is still room to respond differently. That point often appears before the erection changes.

Man using a notebook to identify thoughts and bodily signs linked to sexual performance anxiety
A brief record can reveal thoughts, tension and checking behaviours that are difficult to notice during sex.

Exercise 2: stop checking the erection and return to three sensations

The ESSM uses the term spectatoring to describe a process that matters in sexual performance anxiety: part of you stops participating and moves outside the experience to evaluate how you are doing. Trying to force yourself not to think about your erection often backfires because it makes the thought even more important.

Attention exercise · during intimacy

The three-sensation rule

  1. When “am I still hard?” or “is it going?” appears, do not argue with the thought. Label it: “I am checking.”
  2. Move your attention to one contact sensation: pressure, texture, weight or movement.
  3. Add one temperature sensation: warmth, coolness, skin or air.
  4. Add your breathing, without trying to make it perfect.
  5. If you notice yourself checking again, repeat. Success is not “never thinking”; it is returning.

The aim is not to distract yourself from sex. It is the opposite: to move from evaluation back into bodily and relational experience.

Exercise 3: regulate arousal without turning breathing into another test

Slower breathing can help reduce general activation, but it should not become an emergency button that “has to bring the erection back”. If you take ten breaths while mentally checking whether it has worked yet, you are still inside the same loop.

Practice beforehand · 5 minutes

A slightly longer out-breath

  1. Practise outside a sexual situation.
  2. Breathe in comfortably rather than filling your lungs as much as possible.
  3. Let the breath out a little more slowly than it came in.
  4. Release your jaw, shoulders, abdomen and buttocks.
  5. Continue for 3–5 minutes, then finish without checking for a result.

Later, if you notice urgency or tension during intimacy, one or two longer out-breaths can become a cue for “I do not need to rush”, rather than a test of whether the erection returns.

Man practising slow breathing to reduce body tension linked to sexual performance anxiety
Breathing is more useful when practised as general regulation, not as a technique for forcing the body to respond.

If you would like to train this attention skill away from sex, our guided grounding audio can help you practise noticing when the mind wanders and returning to the present. It is not a specific treatment for erection difficulties, but it can support the attentional skill used here.

Exercise 4: intimacy without a performance goal (an adapted sensate focus exercise)

Sensate focus is a well-established sex therapy technique that temporarily reduces goal-directed sex and brings attention back to touch, sensation and communication. The ESSM includes it among approaches used to reduce performance anxiety and sexual avoidance. A 2024 randomised trial also found promising results for sexual function and intimacy, although the evidence for specific populations remains limited and it should not be presented as a universal cure.

Partner exercise · 15–20 minutes

Stage 1: touch without penetration or an obligation to become aroused

  1. Agree it beforehand: for this period there is no goal of penetration, orgasm or maintaining an erection.
  2. Begin with pleasant non-genital touch: back, arms, neck, face, legs or gentle massage, according to preference and consent.
  3. One person receives for a few minutes, then swap roles.
  4. The receiving partner notices pressure, temperature, texture and emotion without evaluating genital response.
  5. If an erection appears, you do not need to “use it”. If it fades, you do not need to repair it. Continue only while both people are comfortable.

Stage 2: once the first stage feels less like a test, you can gradually broaden sexual touch by agreement. If penetration is part of your sex life, it can be reintroduced later as one option among many rather than the moment that decides whether sex has “worked”.

Important: if there is pain, sexual trauma, intense fear, coercion, serious relationship conflict or body contact feels dysregulating, do not turn this exercise into forced exposure. It is better adapted with professional support.

Adult couple sharing affectionate intimacy without pressure to perform sexually
Rebuilding intimacy without making every encounter a test can weaken the association between closeness and evaluation.

Exercise 5: use a gradual ladder to return to situations that now trigger pressure

Avoiding anything associated with the block can reduce anxiety in the short term, but it may strengthen the belief that the situation is dangerous. The answer is not to jump straight into proving that you can do it. It is to rebuild flexibility gradually.

Example hierarchy — not a rigid prescription

  1. Hugging, kissing and affectionate contact with no sexual goal.
  2. Intimate contact without penetration and without checking the erection.
  3. More direct sexual touch while keeping the genuine option to pause or change activity.
  4. Approaching a situation that tends to trigger pressure — for example, putting on a condom or considering penetration — without any obligation to continue.
  5. Reintroducing that activity when it can be experienced as an option, rather than the point at which the encounter is judged a success or failure.

If one step produces a large spike in anxiety, it does not mean you have failed. The step may be too large, or there may be other factors to work on first: fear of judgement, relationship tension, pain, body insecurity, a previous difficult experience or medical uncertainty.

Infographic with five psychological exercises for sexual performance anxiety and erection difficulties
Exercises are most useful when they reduce monitoring and increase connection; if they become obligations, they can add pressure.

How to talk to your partner without making them your therapist or examiner

Silence leaves room for painful interpretations. Your partner may think, “they are not attracted to me any more”, while you are thinking, “I have disappointed them”. Neither conclusion has to be true.

A useful conversation might sound like this:

“I am attracted to you and I still want intimacy with you. Since this happened once, I keep checking whether I am staying hard, and that pressure makes it harder. It helps if we do not keep checking whether it has come back and if we can carry on enjoying closeness, change what we are doing or stop without making it a crisis in the moment.”

Helpful agreements can include:

  • not repeatedly asking “what is wrong?” during sex;
  • not automatically reading a fluctuation as rejection;
  • not turning the partner into an exercise supervisor;
  • being able to change activity or stop without drama;
  • talking about the issue outside sex, when both people are settled.

If the difficulty has started to create arguments, resentment or distance, you may also find our guides on couples communication and repeated conflict cycles and how to recognise a healthy relationship useful.

Two adult men talking openly about intimacy and sexual performance anxiety in their relationship
Sexual performance anxiety can affect relationships of any orientation. Clear communication can reduce guilt, assumptions and pressure.

What to do in the moment if you notice the erection fading

Trying to “get it back immediately” usually increases monitoring. A simpler protocol is often more useful:

  1. Notice: “I am going into checking mode.”
  2. Breathe out and soften: jaw, abdomen, buttocks and legs.
  3. Avoid an apology loop: one short sentence is enough if you need to say something.
  4. Return to connection: touch, conversation, kissing, affection or simply stopping together.
  5. Do not chase the erection: it may return or it may not. Neither outcome determines the value of the encounter.

A useful therapeutic shift is being able to think, “if it fades, we know what to do”. Having room to respond is often more valuable than trying to guarantee that it will never happen again.

Strategies that seem helpful but can keep the cycle going

Testing yourself before sex

Masturbating only to prove that “everything works” may provide short relief while strengthening the need for certainty.

Drinking to calm your nerves

Alcohol may reduce subjective inhibition but can interfere with sexual response and become a safety behaviour.

Speeding up stimulation

Chasing the erection urgently can pull attention even more strongly towards performance.

Avoiding all intimacy

Avoidance lowers anxiety today but can make the next encounter feel even more important tomorrow.

Measuring firmness or duration

Tracking every genital detail can turn recovery into another evaluation.

Looking for one single cause

“It is porn”, “it is my partner”, “it is testosterone” or “it is only anxiety” can all be oversimplifications without proper assessment.

If your main difficulty is not maintaining an erection but ejaculating sooner than you want, use our separate evidence-based guide to exercises for premature ejaculation. These are different difficulties and it is better not to mix treatment goals.

A practical four-week starting plan without turning recovery into another task

Week 1 · Understand and observe

  • Complete 2–3 “minute before” records.
  • Practise five minutes of breathing/attention on alternate days.
  • Identify your three most common performance thoughts.

Week 2 · Shift attention

  • Use the three-sensation rule during low-pressure intimacy.
  • Reduce deliberate checking.
  • Talk with your partner outside a sexual situation.

Week 3 · Goal-free intimacy

  • Try 1–2 adapted sensate focus sessions.
  • No obligation for penetration, orgasm or maintaining an erection.
  • Afterwards, record what reduced pressure rather than whether you “performed”.

Week 4 · Gradual reintroduction

  • Choose one hierarchy step that is challenging but manageable.
  • Keep a genuine option to change or stop.
  • Evaluate anxiety, connection and enjoyment, not only firmness.

If the plan starts to feel like a programme you must complete in order to be “fixed”, simplify it. The aim is to create different experiences, not to achieve a perfect score.

When should you also speak to a doctor or urologist?

Having erections during masturbation, sleep or on waking can provide useful information, but it does not replace medical assessment. The EAU and NIDDK recommend considering medical and sexual history, medicines, cardiovascular and metabolic factors, physical examination and, where appropriate, blood tests or further investigations.

Medical assessment is particularly worth considering if:

  • the difficulty appeared clearly and continues;
  • you are also repeatedly struggling on your own or your usual spontaneous erections have noticeably reduced;
  • there is pain, new curvature, injury or another physical change;
  • desire has dropped markedly alongside fatigue or other bodily changes;
  • you have diabetes, high blood pressure, cardiovascular disease or other vascular/metabolic risk factors;
  • the change coincides with medication, surgery, pelvic trauma or another health condition;
  • you are unsure whether the cause is psychological, physical or mixed.

Do not stop prescribed medication on your own even if you suspect it may affect sexual function. Discuss it with the clinician who prescribed it.

Medical assessment does not invalidate psychological work. In fact, current guidance recommends integrated care, and the EAU specifically recommends cognitive behavioural therapy, including the partner when indicated, as a psychological approach to erectile difficulties.

When can psychological or sex therapy help?

You do not need to wait until the problem feels severe. It may be a good time to seek help when every encounter begins with anticipation, you are avoiding intimacy, your sexual confidence is worsening, your partner is reading the block as rejection, or you have spent weeks trying to control it without the pressure reducing.

There are no sexual practices in the consulting room. Therapy involves understanding the pattern, reviewing beliefs and expectations, reducing self-monitoring and avoidance, practising attention and regulation skills, agreeing suitable home exercises when appropriate, and improving communication. If medical questions arise, the appropriate medical review is recommended.

You can also read when to seek sex therapy and what it can help you work on. At Ocnos, based in Palmones, we support individuals and couples from Campo de Gibraltar and can also offer online therapy when it is suitable.

Frequently asked questions about psychological blockage, anxiety and erections

If I lose my erection with my partner but not on my own, does that mean it is psychological?

Not necessarily. Erections during masturbation or on waking suggest that there are contexts in which erectile response is preserved, which is useful information during assessment. However, erection difficulties can be psychological, physical or mixed. If the problem persists or has clearly changed, discuss it with a healthcare professional.

Why does my erection fade just before penetration or when I put on a condom?

That moment can become an “exam cue”: self-monitoring, urgency and fear of failure suddenly increase. There is also a natural change in stimulation and rhythm. Working on anticipation, practising condom use without pressure and gradually reintroducing the situation can help.

Can nerves make me lose an erection completely?

Yes. Anxiety can substantially interfere with arousal and the ability to maintain an erection. However, it is still important not to attribute every persistent erection difficulty to nerves without considering health, medication and other factors.

Should I stop masturbating?

There is no general rule that stopping masturbation resolves performance anxiety. What matters is your pattern: whether you need very specific conditions to become aroused, whether masturbation has become a compulsive “test”, or whether habits make it difficult to transfer arousal into partnered intimacy. Those factors can be reviewed individually.

Is pornography always the cause?

No. Pornography may be relevant for some people and irrelevant for others. It is not clinically responsible to attribute an erection difficulty to one factor without considering anxiety, relationship context, stimulation, health, medication, habits and sexual expectations.

What if my partner thinks I am no longer attracted to them?

Explain outside the sexual moment that desire and erection are not the same thing, and that pressure to prove attraction can make the block worse. Agreeing what helps — such as not repeatedly checking and being able to change activity — is usually more useful than trying to provide sexual “proof”.

How long does it take to improve?

There is no universal timetable. Some people improve quickly once pressure falls; others need several weeks of practice and therapeutic work. Progress should not be measured only by firmness: less anticipation, less avoidance, better communication and more enjoyment also matter.

Do I need medication?

That is a medical decision based on your individual assessment. Some people benefit mainly from psychological treatment; others may use combined medical and psychological approaches. The EAU recommends including psychological treatment when indicated rather than using it as a substitute for medical assessment where risk factors or diagnostic uncertainty are present.

You do not have to prove that your body “works” every time

Situational erection difficulties can carry a great deal of shame because they touch identity, the wish to please and fear of judgement. But the more intimacy becomes a performance test, the harder it is to stay present within it.

Change often starts somewhere else: noticing checking, stopping the chase for an erection, returning to sensation, creating intimacy without a goal, speaking clearly and gradually returning to the situations that now trigger pressure. And, where necessary, combining that work with appropriate medical assessment.

Ocnos Psychology Clinic · Palmones

If this block keeps repeating, we can help you understand the pattern without judgement

In sex therapy we work confidentially with performance anxiety, erection difficulties with a psychological component, avoidance, sexual confidence and partner communication. The first task is not to “perform better”, but to understand what is maintaining the problem and decide which intervention makes sense for you.

Sources and responsible clinical reading

Clinical note: this article is for information and does not diagnose the cause of an erection difficulty or replace medical, psychological or urological assessment. Recommendations need to be adapted to each person’s health, medication, history, orientation, relationship and preferences. All sexual contact must be freely consensual and able to stop at any time.