Losing an erection during sex is common, and it usually comes down to a handful of fixable causes. Roughly 16% of men aged 40 to 60 and 57% of men aged 60 to 80 experience erectile difficulties, but trouble staying hard affects men of all ages, including those who have no underlying medical condition. The good news: most of the factors involved, from anxiety to blood flow to alcohol, are things you can directly influence.
How Erections Work (and Why They Fade)
An erection depends on smooth muscle inside the penis relaxing enough to let blood flow in and stay trapped. When those muscles relax, the tissue expands and compresses the veins that would normally drain blood away. This creates a pressurized system that keeps the penis rigid with very little ongoing blood flow needed. Anything that interferes with that muscle relaxation, restricts blood flow, or triggers the nervous system to tighten things back up can cause you to lose firmness mid-act.
The most common disruptors fall into three categories: psychological (anxiety, distraction, stress), vascular (poor circulation from inactivity, smoking, or diet), and chemical (alcohol, certain medications). Often it’s a combination. Knowing which ones apply to you is the first step toward fixing the problem.
Performance Anxiety Is the Most Common Culprit
If you can get hard on your own but lose it with a partner, the issue is almost certainly in your head. When you shift from being in the moment to monitoring whether your erection is holding up, you activate your stress response, which directly opposes the relaxation signals your penis needs. As one Cleveland Clinic specialist put it: if you’re in your head thinking about whether you’re going to sustain an erection instead of being in the moment, it’s going to be harder to enjoy sex.
A few strategies that work:
- Talk to your partner. Saying “I sometimes lose my erection and it’s not about you” removes the secrecy that feeds anxiety. Partners who understand the situation create less pressure, not more.
- Broaden your definition of sex. Using your hands, mouth, or toys takes the spotlight off penetration. When an erection isn’t the only path to pleasure, the pressure to maintain one drops significantly.
- Stay sensory, not analytical. Focus on what you’re physically feeling (temperature, texture, pressure) rather than evaluating your performance. This is the core principle behind sensate focus, a structured technique used in sex therapy.
Sensate Focus: A Structured Approach
Sensate focus was developed by Masters and Johnson and remains a standard tool in sex therapy. The idea is to rebuild physical intimacy from the ground up, removing goal-oriented pressure entirely. You and your partner take turns touching each other, starting with non-genital areas only, for about 15 minutes each. The person being touched simply pays attention to the sensations without guiding or commenting unless something is uncomfortable.
In later sessions, genital touching is introduced, but the goal is still exploration rather than arousal. The toucher spends no more time on the genitals than on any other body part. Eventually, the exercises progress to what Masters and Johnson called “sensual intercourse,” where penetration happens slowly and mindfully, with both partners noticing physical sensations rather than chasing orgasm. Over several weeks, this retrains your brain to associate sex with pleasure rather than performance.
Aerobic Exercise Makes a Measurable Difference
Erections are a cardiovascular event. The same blood vessel health that protects your heart determines how well blood flows into your penis and stays there. Research compiled by Harvard Health found that men who exercised for 30 to 60 minutes, three to five times a week, saw more improvement in erectile function than men who didn’t exercise. The effective activities were straightforward: walking, running, and cycling.
The mechanism is simple. Regular aerobic exercise keeps the lining of your blood vessels flexible and responsive, which improves the signaling that relaxes penile smooth muscle during arousal. If you’re currently sedentary, even brisk walking most days of the week is a meaningful starting point.
Pelvic Floor Exercises Build Staying Power
Your pelvic floor muscles play a direct role in trapping blood inside the penis during an erection. Strengthening them through Kegel exercises can improve erectile rigidity and help you maintain firmness longer. Clinical trials typically use a three-month daily training protocol, with improvements measured at one, four, six, and twelve months after starting.
To do a Kegel, tighten the muscles you’d use to stop urinating midstream. Hold for five seconds, release for five seconds, and repeat 10 to 15 times. Do this once daily. It takes consistency over weeks before you’ll notice a difference, so treat it like any other exercise program rather than expecting immediate results.
What You Eat Affects Blood Flow
A Mediterranean-style diet, heavy on vegetables, fruits, olive oil, nuts, whole grains, and fish, is consistently associated with lower risk and severity of erectile problems. The benefits come from multiple angles: improved cholesterol and blood sugar metabolism, stronger antioxidant defenses, and higher levels of arginine, an amino acid your body uses to produce nitric oxide. Nitric oxide is the key chemical signal that relaxes smooth muscle in the penis and allows blood to flow in.
Tomatoes deserve a specific mention. They’re rich in lycopene and vitamin C, both of which reduce inflammation in blood vessels and improve nitric oxide availability. Extra-virgin olive oil has a particularly strong effect on nitric oxide levels, based on findings from the large PREDIMED dietary study. You don’t need to overhaul your diet overnight, but shifting toward these foods and away from processed ones will support erectile function over time.
Alcohol: One Drink Helps, Three Hurts
A drink or two can lower inhibitions and make you feel more relaxed. Beyond that, alcohol actively works against erections through several pathways. It dampens your parasympathetic nervous system, which is the branch responsible for relaxing the smooth muscle in your penis. It dilates blood vessels throughout your body, causing a drop in blood pressure that reduces the focused blood flow an erection requires. And it slows your central nervous system’s ability to process arousal signals.
The practical threshold is low. If you’re having trouble staying erect, limit yourself to one or two drinks before sex, or skip alcohol entirely and see if the problem resolves.
Constriction Rings Can Help in the Moment
A constriction ring (often called a cock ring) fits around the base of the penis and physically slows venous drainage, helping you stay hard longer. It’s a simple mechanical solution that works well for men who can get an erection but lose it during sex.
Safety guidelines are straightforward: never wear one for more than 30 minutes. Choose a flexible or adjustable ring rather than rigid metal, which can be difficult to remove in an emergency. Use water-based lubricant and avoid numbing products. Remove it immediately if you notice numbness, coldness, a pale or blue color, pain, or unusual swelling. Never fall asleep wearing one, since nocturnal erections can create problems with a ring still in place.
When Medication Makes Sense
Prescription PDE5 inhibitors are the most widely used medical treatment for erectile difficulties. The three main options differ primarily in timing. Sildenafil starts working in 20 to 30 minutes, peaks at 60 minutes, and lasts 4 to 6 hours. Vardenafil has a similar profile. Tadalafil takes longer to kick in (60 to 120 minutes, peaking at 2 hours) but lasts 36 to 48 hours, which removes much of the need to time sex around a pill.
These medications don’t create erections on their own. They amplify the natural process by making it easier for smooth muscle to relax and blood to stay trapped. You still need arousal. For some men, simply knowing the medication is available provides enough of a psychological safety net that anxiety drops and the problem improves even without taking a dose. Having a prescription in the drawer can be its own form of confidence.
Combining Approaches Works Best
Erection difficulties rarely have a single cause, so the most effective strategy usually layers several changes together. Reducing alcohol, adding regular exercise, and practicing mindfulness during sex addresses psychological, vascular, and chemical factors simultaneously. A constriction ring or medication can provide reliable short-term support while longer-term habits like diet, exercise, and pelvic floor training take effect over weeks to months. If anxiety is deeply rooted in relationship dynamics or past experiences, working with a sex therapist can help you identify and address patterns that self-help strategies alone won’t reach.

