You were doing fine. You got hard, things were going well, and then — somewhere in the middle of it — you felt it slipping. The erection faded, the moment collapsed, and now you’re lying there running through a list of everything that might be wrong with you.

First, the thing you most need to hear: this is extremely common, it happens to most men at some point, and it is almost never a sign that something is seriously wrong with your body. The fact that you got hard in the first place tells you the equipment works. What usually goes wrong is not the plumbing — it’s what’s happening in your head in the moment.

Let’s walk through why this happens and, more importantly, how to break the pattern.

The anxiety loop — the most common reason by far

Here’s the mechanism almost no one explains properly.

An erection needs your body to be in a relaxed, aroused state. Blood flows into the penis and stays there. But the moment you feel anxious or under pressure, your body flips into “stress mode” — the same fight-or-flight response you’d have before an exam or a fight. That response releases stress hormones (adrenaline) that narrow blood vessels and pull blood away from the penis. Anxiety and an erection are, at a physical level, working against each other (Healthy Male).

Now put that together with the thought most men have mid-sex: “What if I lose it?”

The instant that thought arrives, you’ve triggered the stress response. The stress response softens the erection. You feel it soften, which confirms the fear, which spikes the anxiety further, which softens it more. The worry literally creates the outcome you were afraid of. This is performance anxiety, and it’s one of the most common psychological causes of erectile difficulty, and the dominant one in younger men (Sexual Performance Anxiety, PubMed).

The cruel part is that it’s a feedback loop. One bad night plants the fear. The fear shows up the next time. And now you’re not having sex — you’re monitoring yourself having sex, watching for the first sign of softening like a man watching a fuel gauge. That self-monitoring (sometimes called “spectatoring”) is the opposite of being aroused, and it’s enough on its own to make you go soft.

This is why it so often hits men who get hard perfectly well on their own — during masturbation, watching something, or first thing in the morning. Alone, there’s no pressure. With a partner, the stakes feel high, and the pressure does the damage. If that pattern sounds familiar, the cause is overwhelmingly in your head, not your arteries.

The other common, boring reasons

Performance anxiety is the big one, but plenty of soft-in-the-middle episodes have a simpler explanation:

  • Alcohol. A couple of drinks relaxes you; more than that is a depressant that directly interferes with the nerve signals and blood flow you need. “Whisky dick” is real biology, not a myth.
  • Tiredness. If you’re exhausted, sleep-deprived, or stressed from work, your body simply doesn’t have the resources to maintain arousal. This is one of the most underrated causes.
  • The condom. This deserves its own line because it’s so common. Stopping to find and roll on a condom breaks the flow. A condom that’s too tight feels constricting. And quietly worrying “is this thing going to slip?” pulls your head right out of the moment. Any of these can cost you the erection.
  • Losing arousal / not enough foreplay. If you rush to penetration before you (or your partner) are properly turned on, there isn’t much arousal there to sustain. The erection you started with was running on a head start that ran out.
  • Distraction. A stray thought, a noise, worrying about being heard, a wandering mind — arousal is fragile, and attention is part of what holds an erection up.

None of these mean anything is wrong with you. They mean you’re a normal human with a body that responds to alcohol, sleep, and stress like everyone else’s.

How to break the loop

The goal is to take the pressure off, because pressure is the fuel. You cannot force an erection by trying harder — trying harder is the anxiety. You have to do the opposite.

Stop treating sex as a pass/fail test. This is the core shift. Penetration is not the exam and an erection is not the grade. Sex includes touch, foreplay, oral, using your hands — there are many ways to give and get pleasure that don’t depend on a rock-hard erection at a specific second. When you genuinely believe that, the stakes drop, and the erection often comes back on its own.

Slow down and spend much longer on foreplay. More time being aroused before penetration means more arousal in the bank to sustain you. It also keeps you in the moment instead of rushing toward the part you’re anxious about.

Don’t catastrophise one soft episode. This is the most important rule. One night going soft means almost nothing — it happens to nearly every man and it’s usually random (tired, drank, distracted). The men who develop a lasting problem are the ones who treat one episode as proof of a defect and walk into the next encounter braced for failure. If it happens, shrug, switch to something else, and let it go. Your reaction to it matters more than the episode itself.

Sort out the basics. Cut back on alcohol before sex, get proper sleep, and if the condom is the culprit, fix it: try a different brand or size (an ill-fitting condom is a real problem), keep one within reach so there’s no scramble, and make putting it on part of the fun rather than a clinical interruption.

Take the focus off your penis. During sex, deliberately put your attention on physical sensation, on your partner, on touch — not on monitoring your erection. The watching is the problem. You can’t be aroused and be an anxious referee at the same time.

If the anxiety is deeply rooted, this is exactly what sex therapy and CBT are built for, and the outlook is genuinely good — most men who address the psychological root improve, often within a few weeks to a few months, though it varies from person to person. Our deeper guide to performance anxiety and ED walks through these techniques in detail, and if you’re young and panicking, ED in young men is worth a read — psychological causes dominate in men under 40.

A note worth making: if you watch a lot of porn, your brain may be calibrated to a level of intensity, novelty, and constant high arousal that ordinary sex doesn’t match — and the gap can show up as going soft with a real partner. We cover that specifically in porn and ED.

When it’s actually worth seeing a doctor

Reassurance is not the same as ignoring real warning signs, so here’s the honest part.

The pattern that points to a psychological cause (and is reassuring) is: it started recently or suddenly, it’s tied to a particular situation or partner, and you still get firm erections during masturbation and still wake with morning erections. Doctors use exactly these clues — situational difficulty plus intact morning and masturbation erections strongly suggests the cause is in your head, not your blood vessels (StatPearls, ED).

You should see a doctor if instead:

  • It’s consistent over several weeks rather than occasional.
  • Your morning erections have also faded or disappeared, and you’re not getting firm during masturbation either. When the difficulty shows up everywhere, not just with a partner, that’s more likely to have a physical component. (See our separate guide on morning erections disappearing for what that specific sign means.)
  • You have risk factors: you’re over 40, you smoke, or you have diabetes, high blood pressure, high cholesterol, or are significantly overweight.

That last point matters more than most men realise. Erectile difficulty driven by blood-flow problems can be an early warning sign of heart disease or diabetes — sometimes the first sign, appearing before chest pain or anything else, because the small arteries of the penis clog before the bigger ones do (JACC: Advances). This is not said to scare you. It’s said because a consult could catch something genuinely important early, when it’s most treatable. Going soft mid-sex once in a while is nothing; persistent ED with risk factors is a reason to get checked, not a reason to panic.

For the full picture of causes, tests, and treatments, see our complete guide to erectile dysfunction.

The bottom line

If you get hard and then lose it during sex, the most likely explanation by a wide margin is that your mind got in the way — performance anxiety, sometimes helped along by alcohol, tiredness, a fiddly condom, or rushing things. Your body works; the proof is that you got hard in the first place. The way out is counter-intuitive: stop trying so hard, take penetration off its pedestal, slow down, and refuse to treat one soft night as a verdict on your manhood. Most men who do that find the problem fades.

And if it doesn’t fade — if it’s constant, if your morning erections have gone too, or if you carry heart or diabetes risk — that’s not a failure either. It’s just a signal to get checked, and getting checked is the smart, not the weak, move.