If you can get hard alone but lose your erection with a partner, you are not broken. This is one of the most common patterns in psychosexual medicine.
It usually does not mean your penis is physically damaged. It does not mean your blood flow has failed. It does not mean your hormones are off.
What it usually means is that your nervous system is responding to psychological pressure, not failing mechanically.
When erections work fine during masturbation but disappear with a partner, the pattern has a name: situational psychogenic erectile dysfunction. It is extremely common, especially in younger men, and it responds well to the right kind of support.

If You Can Get Hard Alone But Not With a Partner, This Usually Means:
- Erections during masturbation confirm blood flow and nerve function are intact
- The physical mechanism for erection is working
- The difficulty is most likely psychological rather than organic
- Performance anxiety is the most common driver
- The presence of another person shifts the nervous system into a state that competes with arousal
- Self-monitoring during sex (spectatoring) disrupts the erection from within
- This is situational erectile dysfunction, not structural ED
- It is treatable
The presence of erections during masturbation is one of the strongest signs the mechanism still works. Your body is not broken. The problem is usually psychological, not physical.
Why Can I Get Hard Alone But Not During Sex?
Usually because:
- Erections are working physically
- Anxiety is interrupting partnered arousal
- The nervous system shifts into performance monitoring
- Spectatoring disrupts erection stability
- The pattern is psychogenic, not structural
Masturbation and partnered sex use the same physical machinery. The difference is entirely in the psychological environment, and that environment matters far more than most people expect.
Why Erections Work Alone But Fail During Sex
During masturbation, there is no observer.
No one is waiting, watching, or forming an impression.
The erection carries no social weight. It simply responds to arousal without any additional psychological load attached to whether it performs correctly or for long enough.
Partnered sex introduces evaluation.
Not always consciously. Not always from the partner.
But the nervous system still registers another person being present. That changes how arousal behaves.
Arousal now has to compete with performance awareness. For many men, that competition is one-sided.
This is why so many men can get hard alone but lose their erection during sex. The body is not broken. The psychological environment has changed.
What usually causes erections to work alone but fail with a partner:
- Performance anxiety triggered by the presence of a partner
- Fear of disappointing or being judged
- Anticipatory anxiety from previous erection difficulties
- Self-monitoring (checking whether the erection is firm enough, lasting long enough)
- The nervous system shifting from a calm, relaxed state into an alert, threat-response state
Is This Psychological Erectile Dysfunction?
Yes.
When erection difficulties occur specifically with a partner but not during masturbation, this is situational psychogenic erectile dysfunction.
This is different from organic (physical) ED.
Organic ED, caused by vascular disease, hormonal disruption, or nerve damage, tends to affect erections in all contexts. It does not selectively appear only when another person is in the room.
When erections are fine during masturbation but not with a partner, that contrast is itself the diagnostic signal. It points toward psychogenic causes, not structural ones.
Signs your ED is more likely psychological than physical:
- Erections work reliably during masturbation
- Morning erections occur normally
- The difficulty is partner-specific or situation-specific
- Erections appear but then fade once sex begins or becomes more intense
- The problem started suddenly, often after a stressful event or a first episode of erection loss
- Anxiety or self-monitoring increases just before or during sex
Men with psychological erectile dysfunction often have completely normal erections during masturbation. That is not a contradiction. It is the clearest evidence that the physical mechanism is intact.
How Performance Anxiety Makes Erections Disappear With a Partner
Erections depend on the calm, relaxed nervous system state that allows blood to flow into the penis.
Anxiety activates a completely different system.
This is the same threat-response system the body uses when it perceives danger. When it activates during sex, it does not simply coexist with arousal. It actively competes with it.
Blood flow patterns shift. Muscle tone changes. The physiological conditions that sustain erection become harder to maintain.
The nervous system does not distinguish between a real threat and the fear of sexual underperformance. Both register as pressure. Both produce the same effect on arousal.
This is why erections can be strong alone but weak with a partner. The body is not failing. The nervous system is responding to a perceived threat that only exists in partnered contexts.
What makes performance anxiety ED worse:
- Monitoring the erection during sex
- Placing all pressure on penetrative intercourse as the only acceptable outcome
- Avoiding intimacy to prevent another episode (which deepens the anxiety loop)
- Trying to force or mentally will the erection into working
- Each failed encounter reinforcing the expectation that the next one will also fail
Why Focusing on Your Erection Makes It Disappear
Spectatoring is a term from psychosexual research.
It describes the habit of mentally stepping outside your own experience during sex to observe and grade performance from a distance.
Rather than being absorbed in what is happening, the person is watching it, evaluating it, narrating it in real time.
When a man starts monitoring his erection during sex, checking whether it is firm enough, hard enough, going to last, the attention needed to stay inside arousal gets redirected toward self-surveillance.
The erection depends on the nervous system staying in a calm, receptive state.
Spectatoring pulls it out of that state the moment it begins.
One moment there is arousal. The next, there is a question about whether that arousal will hold. By the time that question fully forms, the erection has often already started fading.
Many men become trapped checking whether the erection is still there during sex. That habit of checking is itself what sustains the problem.
For some men, the anxiety spikes even earlier, specifically at the transition point just before intercourse begins. The erection may weaken before penetration even occurs, driven purely by anticipatory pressure. This pattern is explored in detail in this article on losing erection right before penetration.
Why Erections Disappear During Penetration
Erection loss during penetration is one of the clearest expressions of performance anxiety ED.
Penetration is the moment where the erection is most visibly on trial. That pressure concentrates exactly when the nervous system most needs to stay calm.
The same mechanism operates at other predictable moments in an encounter.
Some men first notice this pattern while putting on a condom. The brief pause required becomes a checkpoint where the mind turns inward and evaluates. Over time, that moment becomes conditioned to trigger the anxiety response on its own. This is explored further in this article on losing erection while putting on a condom.
Others notice erections disappear the moment intercourse is about to begin, before anything has technically gone wrong.
Men experiencing erection fading during penetration are dealing with the same psychogenic mechanism: a nervous system pulled out of its calm state by performance pressure at a specific moment.
Erections fine during masturbation but lost during penetration is a classic psychological ED pattern. The physical mechanism works. The psychological environment at that specific moment does not.
Why Attraction Is Usually Not the Problem
One of the most painful conclusions men reach is that losing an erection with a girlfriend or partner signals absent attraction.
If the body is not responding, does that mean the desire is not real?
This causes enormous unnecessary shame. And it is usually wrong.
Attraction and erection reliability are separate processes.
A man can feel fully attracted to his partner and still experience erection loss because psychological pressure has interrupted the nervous system’s ability to respond to desire that is genuinely present.
Arousal collapses not because desire is absent, but because the conditions required for the nervous system to act on that desire have been disrupted.
Some men also fear that pornography has permanently rewired their responses. While pornography use is worth examining separately, erections that work alone but fail with a partner are far more consistently explained by anxiety and spectatoring than by any structural change in desire.
What is under pressure is not attraction. It is the ability to feel safe enough for the nervous system to do what it already knows how to do.
Why Erection Loss With a Partner Is Often Worse With Someone New
The pattern frequently intensifies with new partners.
With someone new, the stakes of evaluation feel substantially higher. There is no established history of acceptance. No shared experience of vulnerability that has already been survived.
The fear of disappointing someone who does not yet know you sits differently than it does in an established relationship.
Novelty is supposed to generate excitement. Often it does. But for someone already carrying anxiety about erections, novelty also brings heightened vigilance.
Every pause in momentum, every shift in the encounter, gets monitored with greater intensity.
Some men only lose erections with new partners, functioning normally in established relationships. Others find the pattern worsens over time as avoidance deepens and the anxiety loop becomes more entrenched.
Avoiding new intimate situations entirely removes any opportunity for the nervous system to update its threat response and gradually become less reactive in partnered contexts.
How the Anxiety Loop Sustains Itself
The first time an erection fails during sex with a partner, it is usually unexpected.
The second time, it is anticipated.
That anticipation is where the pattern becomes self-sustaining.
After one or two experiences of erection loss, the mind begins arriving at sexual situations already braced for failure. Before anything has happened, the nervous system is in a low-grade alert state.
The monitoring begins earlier. The erection, trying to emerge in a body already scanning for threat, often does not arrive at full strength, or it arrives and fades quickly under accumulated pressure.
This is why erections fading during sex but not masturbation can persist even long after the original triggering event has passed. The body has been conditioned to associate partnered sex with threat.
Breaking that association requires deliberate, structured intervention. It does not usually resolve on its own.
Losing erections with a partner despite normal erections alone is almost always anxiety-driven. And anxiety-driven patterns respond well to the right kind of clinical support.
Why Erections During Masturbation Matter Clinically
From a clinical perspective, preserved erections during masturbation carry significant diagnostic weight.
They confirm that the vascular, neurological, and hormonal systems responsible for producing erections are functioning. The physiological infrastructure is present and working.
Erections working during masturbation but not with a partner is a classic psychogenic ED pattern. It tells a clinician that the problem is not in the physical mechanism. The problem is in the psychological conditions surrounding partnered sex.
This distinction matters because it shapes what kind of support is actually useful.
Men whose erections fail in all contexts need investigation of organic causes. Men whose erections work fine alone have already demonstrated the mechanism is intact.
It is still important to note that self-assessment alone is not a reliable substitute for clinical evaluation. A proper assessment helps rule out any physical contributors and clarifies the full picture.
When erections work reliably during masturbation but weaken or disappear with a partner, the body is not broken. The nervous system is responding to psychological pressure, not failing physically. Performance awareness shifts the body from the calm, relaxed state erections depend on into a threat-response state where they cannot be sustained. This is a recognised pattern in psychosexual medicine. It has a clear mechanism, and it responds well to the right kind of support.
Can Psychogenic Erectile Dysfunction Be Treated?
Yes. Situational erection loss driven by anxiety and spectatoring is among the most treatable presentations in psychosexual medicine.
The goal is not to force the erection into performing. It is to reduce the conditions that make erection difficult in the first place.
What actually helps:
- Interrupting spectatoring – learning to redirect attention away from erection monitoring and back into sensory experience, into what is actually being felt rather than what is being graded
- Reducing the pass/fail framing of sex – when penetrative intercourse is the only acceptable outcome, every moment of erection variability reads as failure; expanding what counts as a successful intimate experience changes how the nervous system reads the entire context
- Gradual desensitisation – beginning with lower-pressure forms of intimacy and slowly moving toward more vulnerable contexts, allowing the nervous system to revise its threat response incrementally
- Psychosexual therapy – targeted clinical work on the spectatoring habit, the anticipatory anxiety cycle, and the nervous system conditioning that makes erections disappear with a partner while preserving them during masturbation
The preserved erection function during masturbation is not incidental. It is evidence that the mechanism works. The clinical work is in teaching the nervous system that it is safe enough to function with someone else present.
What This Pattern Usually Means
If erections work during masturbation but repeatedly disappear with a partner, the body is still demonstrating that erection function exists.
The problem is usually not physical damage.
The problem is that anxiety, pressure, and self-monitoring are interfering with a system that only works properly in a calm, receptive state.
Erections working during masturbation but not with a partner is a classic sign of psychological erectile dysfunction, not structural failure.
This pattern is common. It is recognised clinically. And it is highly treatable.
Frequently Asked Questions
Why can I get hard alone but not during sex?
This almost always points to a psychological rather than physical cause. When erections work fine during masturbation but disappear with a partner, the physical mechanism for erection is intact. What changes is the psychological environment. The presence of another person activates performance awareness and a nervous system shift that competes directly with arousal. This pattern is called situational psychogenic erectile dysfunction. It is one of the most common presentations in psychosexual medicine and responds well to targeted support.
Why do erections work during masturbation but not with my girlfriend?
Because the psychological environment is completely different. During masturbation there is no performance pressure, no observer, and no evaluative awareness. The nervous system stays in the calm, relaxed state that erections depend on. With a partner, that calm is disrupted by anxiety and self-monitoring, even when attraction is genuine and strong. Erections strong alone but weak with a partner is one of the clearest signs of psychological ED rather than physical ED.
Is it psychological if erections work alone?
Yes, almost certainly. Erections that work reliably during masturbation but fail specifically with a partner are the defining pattern of situational psychogenic erectile dysfunction. Physical or organic ED tends to affect erections in all contexts, not just partnered ones. When the difficulty is partner-specific or situation-specific, the cause is almost always psychological rather than structural.
Can anxiety make erections disappear during sex?
Yes. Performance anxiety is one of the most common causes of erection loss during sex. When the mind starts monitoring the erection and evaluating performance in real time, it activates the body’s threat-response system. That system directly competes with the calm, relaxed nervous system state erections depend on. The act of monitoring creates the very outcome that was being feared. This is not a character flaw. It is a predictable biological response to perceived pressure.
Why do I lose my erection right before penetration?
Because penetration is the moment where performance pressure peaks. For men carrying anxiety about erections, this moment concentrates the nervous system activation that disrupts erection. The anxiety can spike even before penetration begins, in anticipation of it. Over time, the moment itself can become conditioned to trigger anxiety automatically. This is a recognisable pattern of performance anxiety ED, not a sign of physical damage.
Why does my erection disappear when I focus on it?
Because focusing on the erection activates spectatoring, the habit of mentally stepping outside the experience to observe and grade it. Erections depend on the nervous system staying in a calm, absorbed state. The moment attention shifts to monitoring whether the erection is firm enough or going to last, the nervous system is pulled out of that state. Many men become trapped in this checking loop during sex, which is precisely what sustains the erection problem.
Can performance anxiety cause erectile dysfunction?
Yes. Performance anxiety ED is a well-recognised clinical pattern. It is the most common cause of situational erection difficulties, particularly in younger men. When erections work during masturbation but disappear with a partner, performance anxiety is the most likely explanation. The good news is that performance anxiety ED is highly treatable with psychosexual therapy and targeted clinical support.
Is this psychogenic ED or physical ED?
When erections work reliably alone but fail with a partner, this is almost always psychogenic ED rather than physical ED. Organic erectile dysfunction caused by vascular, hormonal, or neurological factors tends to affect erections in all contexts. Situational erection loss that is partner-specific or context-specific points strongly toward a psychological cause. A clinical assessment can confirm this and rule out any physical contributors.
Does losing my erection with a partner mean I am not attracted to them?
Not necessarily, and usually not. Attraction and erection reliability are separate processes. A man can feel fully attracted to a partner and still lose his erection because anxiety and self-monitoring have disrupted the nervous system’s ability to act on desire that is genuinely present. Erection loss reflects the state of the nervous system in that moment, not the presence or absence of attraction.
Is this common in younger men?
Yes. Psychogenic erectile dysfunction is the predominant cause of erection difficulties in younger men. Unlike older men, whose ED is more commonly linked to cardiovascular or metabolic factors, younger men with erection problems are far more likely to be experiencing a psychological pattern. Erections working during masturbation but not with a partner is a particularly common presentation in younger men and is almost always anxiety-driven rather than physically caused.
Will this improve on its own without treatment?
Occasionally situational erection difficulties resolve without formal intervention, particularly if the circumstances generating the anxiety change significantly. More commonly, without addressing the underlying anxiety loop and spectatoring habit, the pattern persists and gradually worsens as each failed encounter reinforces anticipatory anxiety. Early, targeted intervention tends to produce better and faster outcomes than waiting. The fact that erections work reliably during masturbation is strong evidence the physiology is intact, which means the problem is addressable.