- Published on
How to Stay Hard During Sex: What Actually Works
- Authors
- Name
- Defy Editorial Team
- Role
- Men's Health & Pelvic Floor Editorial • Defy

Most advice about staying hard during sex treats it as an arousal problem. Get more turned on, reduce stress, try a different position. That advice misses the actual mechanism, which is why it rarely works for the men who need it most.
Getting hard and staying hard are two separate mechanical jobs handled by two different systems. If you can achieve a firm erection and then lose it partway through, your arousal system is working. The one that is failing is the retention system — and unlike arousal, that one is a muscle you can train.
Here is how it actually works and what to do about it.
Why You Lose Firmness Partway Through
An erection is a pressure system, not a switch.
Arousal signals the arteries in the penis to open, and blood floods the two spongy chambers running along its length. That is the inflow half, and it is the half that responds to desire, to PDE5 medication like sildenafil, and to anything that improves circulation.
The second half is retention. For the penis to stay firm, that blood has to be prevented from draining back out through the veins. There is no valve for this. The compression is mechanical, produced by two pelvic floor muscles that wrap the base of the penis: the ischiocavernosus, running from your sit bones to the penile root, and the bulbospongiosus, wrapping the underside.
When those muscles contract, they squeeze the veins shut and pressure holds. When they fatigue or are too weak to sustain the squeeze, blood escapes faster than it arrives, and firmness fades even though arousal has not.
Urologists call this veno-occlusive dysfunction, or venous leak. A clinical review of venous leakage in erectile dysfunction reports it in roughly 1 to 2% of men under 25 and 10 to 20% of men over 60 among those who cannot achieve erections firm enough for penetrative sex. The same review notes that these patients are frequently the ones who respond poorly to standard medication — which follows, since the drugs work on the half of the system that was never broken.
That is the shape worth recognising: firm at first, softening partway through, arousal unchanged throughout.
Why Training the Pelvic Floor Works
If the seal is muscular, then strengthening the muscle should improve the seal. That hypothesis has been tested.
Grace Dorey and colleagues ran a randomised controlled trial published in the British Journal of General Practice, enrolling 55 men with erectile dysfunction. Twenty-eight were assigned to pelvic floor muscle exercises with manometric biofeedback plus lifestyle advice; twenty-seven received lifestyle advice alone. After three months, the training group significantly outperformed the control group. Reporting on the trial found normal erectile function restored in roughly 40% of men and meaningfully improved in a further 35%.
Dorey's follow-up work found that men who kept training held those gains at twelve months. Men who stopped did not.
The Cleveland Clinic guidance on kegel exercises for men lists erectile function alongside continence as a target of pelvic floor training, and the NHS page on erection problems names pelvic floor exercises as a first-line option worth trying before or alongside medication.
The relevant point is what this training does that pills do not. Medication amplifies inflow. Muscle training improves retention. If your failure mode is losing an erection you already had, the second one is aimed at your actual problem — a distinction our guide to erectile dysfunction treatment covers in more detail.
The Training Protocol, Step by Step
Find the muscle correctly. It is the one you would use to stop the flow of urine mid-stream, or to lift your testicles slightly without moving your hips. Use the stop-stream test exactly once to identify the sensation, then stop using it — regularly interrupting urination can irritate the bladder and teach bad coordination.
Check that nothing else is helping. Put one hand on your stomach and one on a glute, then contract. If either tightens, you are recruiting the wrong muscles. Abs, glutes, and inner thighs joining in is the single most common beginner error, and it makes the whole program useless because the target muscle is barely working.
Train both contraction types. Do ten to fifteen quick one-second pulses for the fast-twitch fibres that matter during sex, then ten slow holds of five to ten seconds for endurance. Most men only ever do the slow holds, which trains half the capacity. Retention during sex is an endurance job, but the reflexive squeeze that firms you up is a fast one.
Release completely between reps. A floor that never fully lets go becomes tight rather than strong, and a chronically tight pelvic floor produces its own set of problems including pain and urgency. The relaxation phase is training, not rest.
Do it twice a day and progress the difficulty. The trials that produced results used twice-daily protocols across twelve weeks. Progress by adding hold time, adding reps, or changing position — lying is easiest, sitting is harder, standing is hardest. Doing the same volume for two months means no further adaptation.
Our detailed form guide for kegels for men walks through each of these, and male kegel exercises has the routine variations once the basics feel automatic.
Making It Stick for Twelve Weeks
The protocol is simple. Doing it 168 times over twelve weeks is where nearly everyone fails.
Anchor the sessions to something you already do without deciding — after brushing your teeth, during your commute, while the coffee brews. Nobody can see you doing them, which is the practical advantage of this particular exercise. Counting matters too, because "some reps most days" drifts downward without your noticing until the program has quietly stopped.
Twelve weeks of retention training, counted
Every trial that produced results ran a structured protocol — specific reps, both contraction speeds, twice daily, progressive difficulty. Defy runs exactly that as audio-guided sessions from 3 minutes a day, with each contraction tracked so the twelve weeks actually add up.
Download Defy on iOSThe Anxiety Half of the Problem
Muscle is one half. Your nervous system is the other, and it can undo good training in seconds.
Arousal is a parasympathetic state. Anxiety is a sympathetic one, and the two are physiologically opposed — adrenaline and noradrenaline constrict the very blood vessels that need to stay open. Research summarised in Frontiers in Psychology on anxiety in sex, sport, and stage describes the same self-monitoring loop across all three: attention shifts from the task to an evaluation of your own performance, and performance degrades.
In practice, this is what a single softening episode does. You notice, you start monitoring, monitoring produces the sympathetic spike, and the spike produces the outcome you were watching for. The mechanical failure happens once; the anxiety loop repeats it.
The intervention is attention, not effort. Bring focus back to physical sensation and to your partner rather than to a self-assessment of firmness. Slower breathing helps for the ordinary reason that it pulls you back toward parasympathetic dominance. And an erection that fades and returns is normal physiology across a longer session — treating it as a failure is what makes it one.
Four Mistakes That Keep Men Stuck
Squeezing harder instead of training smarter. Clenching everything you have mid-sex tenses the abs and glutes, raises overall tension, and works against you. Strength comes from the daily program, not from effort in the moment.
Assuming pills will cover it. If you get firm and lose it, medication is treating the half that already works. Our breakdown of how to increase blood flow to the penis naturally covers the inflow side properly, but inflow was never your bottleneck.
Training a floor that is already too tight. Some men have an overactive pelvic floor rather than a weak one, and for them more contraction makes symptoms worse. Signs include pelvic or perineal pain, urinary urgency, and pain after ejaculation. Spend two minutes with our guide on telling if your pelvic floor is tight or weak before you start any strengthening program.
Quitting at week three. Muscle adaptation takes six to twelve weeks. Week three feels like nothing is happening because, physiologically, not much has yet.
Common Questions
Does alcohol make this worse? Yes, and predictably. Alcohol is a depressant that blunts the nervous signalling arousal depends on, which is why the pattern shows up on nights out more than mornings. See how alcohol affects a man sexually for the detail.
Should I do kegels right before sex? No. Pre-fatiguing the muscle you need for retention is counterproductive. Train on a schedule and leave the muscle fresh.
Can I train this at any age? Yes. The Dorey trial enrolled men from 22 to 78, and skeletal muscle responds to progressive loading throughout life. Older men typically need longer.
What if nothing changes after twelve weeks of consistent work? Then get assessed. Persistent difficulty can point to vascular disease, low testosterone, or medication side effects — see how to tell if you have low testosterone and raise it with a doctor rather than a supplement seller.
The Bottom Line
Staying hard is a retention problem with a muscular cause, an anxiety amplifier, and one of the few evidence-backed non-pharmaceutical fixes in men's sexual health.
The training is unglamorous and invisible: two sessions a day, both contraction speeds, full release between reps, twelve weeks. That is the same window the trials measured, and it is roughly how long it takes any muscle to change.
Train the muscle that holds the erection
Defy is built specifically for the male pelvic floor — fast pulses and long holds, progressive difficulty, twice-daily structure, and tracked sessions so you can see whether you actually finished the twelve weeks. Free to start.
Download Defy on iOSFrequently Asked Questions
Why do I get hard but lose it during sex?
Getting hard and staying hard are two different mechanical jobs. Arousal opens the arteries and fills the penis with blood, which is the inflow half. Keeping it there requires compressing the veins that drain the penis so the blood cannot escape, and that compression is done by two pelvic floor muscles — the ischiocavernosus and bulbospongiosus. If those muscles are weak, or if a spike of anxiety mid-sex switches your nervous system out of arousal mode, the seal fails and firmness drains away even though desire has not changed.
Can kegel exercises help me stay hard longer?
The trial evidence says yes for many men. Dorey and colleagues randomised 55 men with erectile dysfunction in the British Journal of General Practice to either pelvic floor muscle training with biofeedback or lifestyle advice alone. After three months the training group significantly outperformed the advice-only group, with normal erectile function restored in roughly 40% of men and improved in a further 35%. The muscles being trained are exactly the ones responsible for trapping blood during an erection.
How long does it take to see results?
Expect four to six weeks before you notice anything and about twelve weeks for the changes the research measured. The pelvic floor adapts on the same timeline as any other skeletal muscle, so there is no shortcut. Most men who conclude that kegels do not work stopped somewhere between week two and week four, before the adaptation had happened.
Is losing an erection during sex normal?
Occasionally, yes. Alcohol, fatigue, stress, a new partner, or a bad night of sleep can all do it to a man with a perfectly healthy pelvic floor, and one bad episode means nothing. The pattern worth acting on is when it happens repeatedly, follows a consistent shape — firm at the start, softening partway through — or is joined by dribbling after you urinate, which points at pelvic floor weakness rather than bad luck.
Do pills fix the problem of losing firmness partway through?
PDE5 medication like sildenafil works on the inflow side by relaxing the arteries so more blood arrives. It does nothing for the retention side, which is why some men find pills give them a strong start and still lose firmness during sex. That combination — good initial response, poor maintenance — is the classic pattern of venous leak, and it is the one situation where muscle training addresses something the medication does not.
When should I see a doctor about staying hard?
See a doctor if the problem started suddenly, if you no longer get spontaneous morning erections, or if it comes with chest pain, unusual fatigue, or leg cramps when walking. Erectile difficulty is often the first visible sign of cardiovascular disease, and the blood vessels in the penis are narrower than the coronary arteries, so they clog first. Persistent difficulty is worth a checkup rather than a supplement order.