Bimonthly, Established in 1959
Open access journal

Situational Erectile Dysfunction: Why Sex May Work Alone but Not With a Partner

by Henry M Jackson

What Situational Erectile Dysfunction Means

Situational erectile dysfunction refers to a pattern in which erections are adequate in one setting but unreliable in another. A common example is a man who can get or maintain an erection during masturbation, may still have morning or spontaneous erections, yet struggles during partnered sex. That mismatch is clinically meaningful because it suggests that erectile function is being shaped not only by physiology, but also by context, attention, expectation, and the emotional conditions surrounding sex.

Current European Association of Urology guidance recommends taking a detailed sexual and psychosexual history precisely because erectile complaints can vary by situation, partner, and sexual setting rather than appearing in exactly the same way every time.

This does not automatically mean the problem is “all in the head,” and it does not prove that there is no physical contribution. Mixed patterns are possible. Medication effects, alcohol, fatigue, medical comorbidity, and early vascular issues can still matter. But when erections are preserved in some contexts and not others, clinicians usually pay close attention to the possibility of a psychological or relational component, because the body has already shown that it is capable of producing an erection under at least some conditions.

Why Erections May Differ Between Masturbation and Partnered Sex

The key point is that masturbation and partnered sex are not interchangeable tests of sexual function. They may both involve arousal, erection, and orgasm, but they place very different demands on the person. During masturbation, stimulation is usually more predictable, timing is under a man’s own control, and there is often less pressure to perform, impress, coordinate with another person, or interpret someone else’s reactions in real time. In partnered sex, all of those extra layers can enter the picture at once.

Research on men’s sexual response supports the idea that sexual function can differ across contexts. A study summarized in The Journal of Sexual Medicine found consistently lower impairment during masturbation than during partnered sex across erectile dysfunction, premature ejaculation, and delayed ejaculation. That does not mean masturbation is a perfect benchmark, but it does show why it is useful to ask separately about erections alone and erections with a partner. A man can be sexually functional in one context and impaired in another without either report being inaccurate.

This mismatch often makes sense once context is taken seriously. During masturbation, there may be more freedom to pause, adjust stimulation, change pace, fantasize privately, or focus only on one’s own sensations. During partnered sex, the same person may feel observed, rushed, emotionally exposed, or responsible not only for his own arousal but for making the encounter go well for someone else. That added layer of interpersonal performance can alter arousal enough to affect erection quality, even when desire is present.

Performance Anxiety, Pressure, and Fear Of Failure

One of the most common explanations for situational ED is performance anxiety. Often the cycle begins with one or two episodes of erection difficulty that are embarrassing but otherwise understandable: stress, fatigue, alcohol, distraction, tension with a partner, or simply a bad night. The problem is that those episodes can become psychologically “sticky,” forming a vicious circle. Before the next sexual encounter even starts, the person may already be thinking: What if it happens again? What if I lose the erection? What if my partner notices immediately?

That anticipation matters because anxiety changes how attention is allocated during sex. Instead of moving toward erotic cues, sensation, and connection, the person starts monitoring signs of possible failure. In sexual-medicine literature this is often discussed in terms of self-focus, fear of evaluation, and “spectatoring” — i.e., the shift from being immersed in the sexual experience to mentally standing outside it and observing one’s own performance.

This is one reason situational ED can feel paradoxical to patients. They may say, “I want sex, so why is this happening?” But desire alone does not guarantee erection reliability when the sexual situation has become loaded with pressure. The more a person treats erection as a test he must pass, the easier it becomes for sex to turn into a high-stakes performance rather than an erotic experience. In that setting, the fear of failure itself can become one of the main things disrupting the erection.

The Role Of Anticipation and Self-Monitoring During Sex

Situational ED is often maintained by a loop that starts before sex and then intensifies during it. First comes anticipation: the memory of prior difficulty and the fear of repeating it. Then comes monitoring: checking whether the erection is strong enough, whether it is fading, whether arousal feels intense enough, whether the partner seems concerned, whether intercourse can begin quickly enough to “lock in” the erection. Each act of checking pulls attention away from erotic absorption and toward threat detection.

In plain language, self-monitoring during sex means watching yourself instead of experiencing sex from the inside. A man may mentally scan erection firmness every few seconds, compare himself to what he thinks should be happening, and interpret any fluctuation as proof that failure is beginning. But erectile response is sensitive to attentional state. If attention shifts from pleasure to surveillance, arousal can drop enough to confirm the very fear he is trying to prevent.

This creates a reinforcing cycle: anticipation increases vigilance; vigilance reduces arousal; reduced arousal weakens the erection; weakened erection increases fear the next time. Once that cycle becomes established, the partner context can start to feel inherently risky, while masturbation remains easier because it is less tied to evaluation and less burdened by the expectation of proving oneself.

Relationship Tension and Context-Specific Stress

Not every case of situational ED is driven by classic performance anxiety alone. Sometimes the partner context carries meanings that masturbation does not. There may be unresolved tension, resentment, fear of disappointing the partner, shame about prior episodes, conflict about sexual frequency, or difficulty communicating during sex. In these cases, partnered sex is not simply a more complicated version of masturbation; it is a different interpersonal event entirely.

Current guideline-based assessment reflects that reality. The EAU framework recommends a targeted psychosexual history and explicitly includes relationship factors, dysfunctional beliefs, patient expectations, and broader sexual context in the evaluation of erectile complaints.

This is also why an internal article on ED and depression could fit naturally around this topic. Depression can lower desire, reduce anticipatory pleasure, and make partnered sex feel effortful or emotionally distant, which can compound an already fragile erection pattern even when solo erections remain possible.

Why This Pattern Often Suggests a Psychological Component — But Still May Need Evaluation

Preserved erections in some contexts often suggest that a psychological contribution is important, especially when the mismatch is consistent: erections work during masturbation, are present during sleep or on waking, but become unreliable during partnered sex. That pattern does not exclude physical factors, but it usually argues against a purely global loss of erectile capacity.

At the same time, it is still reasonable for such a pattern to be evaluated rather than dismissed. Men can have mixed psychogenic and physical contributors. Medication adverse effects, alcohol use, chronic stress, sleep problems, cardiometabolic risk, and depressive symptoms may still shape erectile consistency.

That is where a Viagra / Cialis / Levitra comparison page can still be relevant: not because this article is a drug review, but because some patients with situational ED do consider PDE5 inhibitors. The important clinical point is that medication may help some people, but medication alone may not address the anxiety, self-monitoring, or relationship context that helps maintain the problem.

What This Means

Situational erectile dysfunction is fundamentally about a mismatch across sexual contexts. The fact that erections may work alone but not with a partner is often one of the most informative parts of the history. It frequently points toward pressure, fear of failure, self-monitoring, or relational context as part of the problem, even though a broader evaluation may still be appropriate.

Better understanding starts not with asking whether erections work in general, but with asking when, where, and under what emotional conditions they work differently.

References

  1. Althof, S. E. (2023). Role of psychosexual counseling as an adjuvant to pharmacotherapy in the treatment of erectile dysfunction. The Journal of Sexual Medicine, 20(3), 236–239. https://doi.org/10.1093/jsxmed/qdac042
  2. Brotto, L. A., Giraldi, A., Perelman, M. A., Rowland, D. L., McCabe, M., Laan, E., Rellini, A. H., Petersen, C. D., & Kingsberg, S. A. (2025). Psychological and interpersonal dimensions of sexual dysfunction. Sexual Medicine Reviews, 13(2), 118–134. https://academic.oup.com/smr/article/13/2/118/7934651
  3. Kirana, P. S., et al. (2025). Different faces of anxiety in sexual dysfunction. Sexual Medicine Reviews. https://pmc.ncbi.nlm.nih.gov/articles/PMC12684971/
  4. Rowland, D. L., Hamilton, B. D., Bacys, K. R., Csonka, B., & Hevesi, K. (2021). Sexual response differs during partnered sex and masturbation in men with and without sexual dysfunction: Implications for treatment. The Journal of Sexual Medicine, 18(11), 1835–1842. https://pubmed.ncbi.nlm.nih.gov/34627718/