Published on

How to Stay Hard: What Keeps an Erection Up

Authors
  • Defy Editorial Team
    Name
    Defy Editorial Team
    Role
    Men's Health & Pelvic Floor Editorial • Defy
How to stay hard — the mechanism behind maintaining an erection

Most advice about staying hard is about getting hard, which is a different problem with different causes. Plenty of men have no trouble at all with arousal — the erection arrives on schedule — and then it quietly deflates ten minutes later, or the moment a condom appears, or as soon as they start paying attention to it.

That is a plumbing and muscle problem far more often than a desire problem. Here is the mechanism, and what actually changes it.

Why Erections Fade

An erection is a hydraulic event with three phases, and the last one is where men lose it.

Filling. Arousal triggers nitric oxide release, the smooth muscle in the corpora cavernosa relaxes, and arterial inflow rises sharply. The penis becomes engorged.

Trapping. As the sinusoids expand, they compress the subtunical venules against the tunica albuginea. That compression is the veno-occlusive mechanism, and it is what makes the blood stay. Inflow alone produces a soft erection; trapping produces a firm one.

Rigidity. The ischiocavernosus and bulbospongiosus muscles — striated muscle you can voluntarily contract, sitting at the base of the penis — clamp down on the filled corpora. The StatPearls physiology review notes that pressure inside the corpora can reach 200 mm Hg or more in this phase, well above systolic blood pressure, at which point inflow and outflow both effectively stop. This is the difference between hard and rigid.

So there are three distinct ways to lose it. Inflow drops, because adrenaline constricted the arteries. Trapping fails, because the veno-occlusive seal is inefficient. Or the muscular clamp is too weak to hold suprasystolic pressure. The last two are the ones almost nobody addresses, and one of them is trainable.

Train the Muscles That Hold It

The ischiocavernosus is skeletal muscle. It responds to progressive training exactly the way any other skeletal muscle does, and men who train it get measurably firmer erections.

Dorey and colleagues ran the trial that established this in the British Journal of General Practice in 2004. Fifty-five men with erectile dysfunction were randomised to pelvic floor exercises with biofeedback plus lifestyle advice, or lifestyle advice alone. At three months, 40.0% of the intervention group had regained normal erectile function and another 34.5% had improved — three quarters of them got somewhere, with the erectile function domain of the IIEF up 6.74 points.

How to do it properly:

  1. Find the muscle. Standing in front of a mirror, contract as if stopping urine mid-stream. The base of the penis should draw inward and the testicles should lift slightly. Nothing else moves — not your abs, not your glutes, not your thighs, and not your breathing.
  2. Slow holds. Contract to about 70% of maximum and hold for ten seconds, then release fully for ten. Ten repetitions.
  3. Fast contractions. Squeeze hard and release completely, one second each way. Ten repetitions.
  4. Six sets a day. Spread across the day rather than stacked. That is roughly 120 contractions daily — the volume used in the highest-performing protocols in the literature.
  5. Progress the position. Lying down first, then seated, then standing. Standing is where it needs to work.

Give it twelve weeks before judging. Kegels for men covers the technique in more detail, and pelvic floor exercises for men has the full routine.

Fix the Inflow

Trapping is worthless if not enough blood arrives. Arterial inflow depends on endothelial function, and endothelial function responds to a small number of unglamorous things.

Aerobic exercise is the best-evidenced of them. Silva and colleagues pooled seven studies covering 478 men in the British Journal of Sports Medicine in 2017 and found exercise interventions produced a mean improvement of 3.85 points on the IIEF. A 2023 meta-analysis of 11 randomised trials in The Journal of Sexual Medicine put aerobic exercise at 2.8 IIEF-EF points over controls — and 4.9 points in the men with severe dysfunction. The worse you start, the more you gain.

The practical dose that recurs across this literature is roughly 40 minutes of moderate-to-vigorous aerobic exercise, four times a week, sustained for six months.

The rest of the inflow list is short and boring:

  • Sleep. Testosterone is produced largely during sleep, and short sleep reliably suppresses it.
  • Alcohol. A depressant that impairs both arousal and rigidity. The effect is dose-dependent and immediate.
  • Smoking and nicotine. Directly vasoconstrictive. Vaping is not exempt.
  • Blood pressure, blood sugar and cholesterol. The penile arteries are narrow, so they show endothelial damage before the coronary arteries do. The NHS guidance on erection problems treats persistent difficulty as a prompt for a general health check, and that is the right instinct.

Erectile dysfunction treatment covers the medical options when the mechanical ones are not enough.

The training half of this

Aerobic work fixes the inflow. The ischiocavernosus is what holds the pressure once the blood is there — and it needs progressive, consistent loading like any other muscle. Defy runs the sessions with timed holds, counts every rep and steps the difficulty up as you get stronger.

Download Defy on iOS

Break the Anxiety Loop

Erections need the parasympathetic nervous system — rest and digest. Adrenaline does the opposite: it is a vasoconstrictor, and it narrows the exact arteries you need open.

This creates a self-sustaining loop. One erection fails for an ordinary reason. Next time, you monitor. Monitoring produces anxiety, anxiety produces adrenaline, adrenaline produces the failure you were watching for. Now you have evidence, and the loop tightens.

Three things break it:

  • Take intercourse off the table temporarily. Agree with a partner that penetration is not happening for two weeks. It sounds counterproductive; it removes the performance test that is generating the adrenaline, and erections frequently return on their own.
  • Redirect attention outward. The loop runs on self-monitoring. Attention on physical sensation and on your partner rather than on your own state is the mechanical interruption.
  • Breathe out longer than you breathe in. A slow exhale shifts autonomic balance toward parasympathetic. It is not a trick, it is the same physiology.

If erections are firm during masturbation and morning erections still happen, the hardware is working and the problem is almost certainly this loop. What causes a man to erect fast covers the arousal side of the same system.

Common Mistakes

  • Training the wrong muscle. Squeezing your glutes and abs feels like effort and does nothing. If anything visible moves, start over lying down in front of a mirror.
  • Quitting at four weeks. The pelvic floor trials measured at three months for a reason. Weeks one to four build technique, not strength.
  • Treating a symptom as the whole story. Persistent erectile difficulty is one of the earliest signals of vascular disease. Get the blood pressure, glucose and lipids checked.
  • Self-medicating with unregulated pills. The FDA has flagged hundreds of "natural" enhancement supplements for containing undeclared sildenafil or tadalafil, at unknown doses. Get a prescription or skip it.
  • Drinking to relax first. It reduces the anxiety and it reduces the erection. Net negative.

What Progress Looks Like

  • Weeks 1–4: Better contraction control. You can find and hold the muscle. No obvious change in erections yet.
  • Weeks 4–8: Aerobic adaptations start showing up. Morning erections often improve first, and they are a useful marker because anxiety plays no part in them.
  • Weeks 8–12: Rigidity and duration. This is where the pelvic floor work shows up, matching the three-month endpoint in the trial data.
  • Months 3–6: Full effect, then maintenance. Training at reduced volume holds it; stopping entirely does not.

Nothing moving by twelve weeks on consistent work means it is worth a proper assessment. Venous leak, low testosterone and medication side effects all exist and none of them respond to more repetitions. Flaccid penis covers the fuller diagnostic picture.

The Short Version

Staying hard is about trapping blood, not just delivering it. Train the ischiocavernosus with six sets a day for twelve weeks, do four aerobic sessions a week for the inflow, sleep properly, cut the alcohol, and take the performance test off the table if anxiety has entered the loop.

That combination has the best evidence behind it of anything you can do without a prescription — and unlike a tablet, it keeps working when you stop thinking about it. How to last longer in bed covers the timing side of the same training.

Twelve weeks, six sets a day

That is the dose behind the trial where three quarters of the men improved. Defy handles the timing, the counting and the progression, so the only thing left is showing up.

Download Defy on iOS

Frequently Asked Questions

Why do I get hard and then lose it?

Getting an erection and keeping one are two different mechanisms. Arousal fills the penis with blood; staying hard depends on the veno-occlusive mechanism trapping it there, assisted by the ischiocavernosus muscle clamping the base. If that trapping is inefficient — through muscle weakness, venous leak, or a surge of adrenaline from anxiety — you fill and then drain.

Can kegels help me stay hard?

The evidence says yes. In a randomised controlled trial of 55 men published in the British Journal of General Practice in 2004, three months of pelvic floor exercises restored normal erectile function in 40% and improved it in a further 34.5%. The muscles being trained are the ones that generate penile rigidity.

How long does it take to see a difference?

With pelvic floor training, expect little in the first month, noticeable change between weeks eight and twelve, and the full effect around three to six months. With aerobic exercise, meta-analysis data is built on programmes running eight weeks to two years, most commonly around six months.

Is losing an erection sometimes normal?

Completely. Alcohol, poor sleep, stress, a heavy meal, or simply being distracted will all do it, and it happens to every man. The pattern worth acting on is losing it most of the time, over several months, or losing it during masturbation as well as with a partner.

Does anxiety actually cause it, or is that an excuse?

It genuinely causes it. Erections require parasympathetic dominance, and adrenaline is a vasoconstrictor — it narrows the arteries feeding the penis. The self-monitoring loop that starts after one bad night is mechanically capable of producing the outcome it fears.

When should I see a doctor?

If it persists beyond a few months, if morning erections have disappeared, or if you also have cardiovascular risk factors. Erectile difficulty is often the earliest visible sign of endothelial dysfunction, and it can precede a cardiac event by years. That is a reason to get checked, not a reason to panic.