How to Stay Hard in Bed: What Actually Works

Maintaining a firm erection during sex comes down to a combination of blood flow, nervous system signals, and mental state. An erection works by trapping blood inside the penis: as spongy tissue fills with blood, it expands against a tough outer sheath, which compresses the veins that would normally drain blood away. When any part of that process is disrupted, whether by anxiety, poor cardiovascular health, or something as simple as a poorly fitting condom, firmness drops. The good news is that most of the factors involved are things you can directly influence.

Why Erections Fade During Sex

The chemical that kicks off and sustains an erection is nitric oxide, a signaling molecule that relaxes smooth muscle in the blood vessels of the penis, allowing them to open wide and let blood rush in. Testosterone supports the production of nitric oxide, and it also helps maintain the structural integrity of the outer sheath that traps blood in place. When nitric oxide drops or the nervous system shifts gears, blood escapes faster than it flows in, and you lose firmness.

That “shift in gears” is often the real culprit during sex. Erections are controlled by the parasympathetic nervous system, which runs on calm and arousal. Anxiety, self-consciousness, or even a momentary distraction activates the sympathetic nervous system, your body’s fight-or-flight mode. This triggers a release of cortisol and adrenaline, which constrict blood vessels and actively work against erection. Cortisol also suppresses testosterone, reducing the hormonal support that keeps blood flow going. In other words, the more you worry about losing your erection, the more likely it is to happen.

Break the Anxiety Cycle

Performance anxiety is the most common reason otherwise healthy men lose erections during sex. The pattern usually looks like this: you lose firmness once, then the next time you’re in bed, you’re watching yourself for signs of it happening again, which puts you right into sympathetic mode. Recognizing this loop is the first step to breaking it.

Shifting your attention from “how hard am I” to the physical sensations you’re experiencing helps keep you in the parasympathetic state that supports erection. Slow, deep breathing during sex isn’t just relaxation advice; it directly dials down sympathetic activation. Some men find it helpful to take penetration off the table temporarily and focus on other forms of contact until the pressure fades. The goal is to stop treating your erection as a performance metric and let arousal build without surveillance.

Strengthen Your Pelvic Floor

The muscles at the base of your pelvis play a direct role in trapping blood inside the penis. Strengthening them with Kegel exercises can improve both firmness and your ability to maintain an erection. The routine is simple: squeeze the muscles you’d use to stop the flow of urine, hold for five seconds, then relax for five seconds. Do 10 repetitions per session, three sessions per day (morning, afternoon, and evening). Over time, work up to holding each squeeze for 10 seconds with a 10-second rest between them.

Consistency matters more than intensity. Most men notice improvements within a few weeks of daily practice. You can do these anywhere, sitting at your desk, driving, watching TV, since no one can tell you’re doing them.

Aerobic Exercise Makes a Real Difference

Erection quality is essentially a cardiovascular issue. The blood vessels in the penis are smaller than those in the heart, which means they’re often the first place where poor circulation shows up. Regular aerobic exercise, 30 to 60 minutes of moderate-to-vigorous activity three to five times per week, has been shown to improve erectile function at rates comparable to medication. Running, cycling, swimming, or even brisk walking all count. The effect comes from improved blood vessel health, better nitric oxide production, and lower resting levels of stress hormones.

Foods That Support Blood Flow

Since nitric oxide is the key chemical behind erection, eating foods that boost its production can help over time. Beets are one of the richest dietary sources of nitrates, which your body converts into nitric oxide. Drinking just 100 milliliters (about 3.4 ounces) of beet juice has been shown to significantly raise nitric oxide levels. Watermelon juice has a similar effect: 300 milliliters daily for two weeks improved nitric oxide availability in a small study of men. Dark chocolate, about 30 grams (roughly one ounce) daily, also increased blood levels of nitric oxide over a 15-day period.

These aren’t magic fixes, but they complement exercise and other habits. Leafy greens like spinach and arugula are also high in dietary nitrates and worth including regularly.

L-Citrulline for Nitric Oxide

L-citrulline is an amino acid your kidneys convert into L-arginine, which then gets converted into nitric oxide. Some men supplement with it specifically to support erection quality. Dosages in studies have gone up to 6 grams per day, though an optimal dose for erectile function hasn’t been formally established. L-citrulline is generally preferred over taking L-arginine directly because it survives digestion more effectively and produces a more sustained increase in nitric oxide.

Practical Fixes During Sex

Condom Fit and Technique

Losing your erection while putting on a condom is extremely common and usually has nothing to do with an underlying problem. The pause in stimulation, combined with the mental shift of fumbling with packaging, is enough to pull you out of the moment. The simplest fix is to keep stimulation going while the condom goes on, either from your partner or yourself. A drop of lubricant inside the condom before rolling it on increases sensation and helps maintain firmness. Outside the condom, lubricant reduces friction that can dull feeling.

Size matters here too. A condom that’s too tight restricts blood flow uncomfortably, while one that’s too loose reduces sensation. If standard sizes don’t feel right, try a different brand or width. You can also practice wearing condoms during solo sessions or oral sex to get comfortable with the sensation so it doesn’t feel like an interruption.

Constriction Rings

A constriction ring (sometimes called a cock ring) fits around the base of the penis and works by slowing the outflow of blood, helping you stay firm after achieving an erection. They’re a straightforward, effective tool, but safe use requires a few rules: always choose one made of stretchy material that you can remove easily, never leave it on for more than 30 minutes, and never substitute a random household item. A ring that’s too tight or left on too long can cut off circulation entirely, which is a medical emergency.

Sleep and Hormonal Health

Testosterone production peaks during sleep, particularly during deep and REM sleep stages. REM sleep is also when your body produces sleep-related erections, the involuntary cycles of firmness that happen throughout the night in healthy men. These erections aren’t just a side effect of dreaming. They’re a sign that the vascular and neurological systems supporting erection are working properly.

Poor sleep, especially from conditions like sleep apnea that repeatedly interrupt REM cycles, directly undermines both testosterone levels and erectile function. If you snore heavily, wake up feeling unrested despite enough hours in bed, or rarely notice morning erections, those are signals worth investigating. Getting consistent, quality sleep of seven to nine hours isn’t just general health advice; it’s one of the most impactful things you can do for erection quality.

Reducing Alcohol and Nicotine

Alcohol is a vasodilator in small amounts but a central nervous system depressant in larger doses. More than two drinks dulls the nerve signals needed to maintain an erection and impairs the veno-occlusive mechanism that keeps blood trapped. Nicotine does the opposite kind of damage: it constricts blood vessels chronically, reducing baseline blood flow to the penis over time. Cutting back on either one, or both, often produces noticeable improvements within weeks.