Losing your erection during sex is one of the most common sexual complaints men report, and it almost always has an identifiable cause, whether physical, psychological, or both. The pattern matters more than any single episode: stress, a few too many drinks, or plain exhaustion can make anyone go soft once in a while. When it keeps happening, though, the causes tend to cluster around a few well-studied categories, and most of them respond to straightforward changes or treatment.
How an Erection Holds Up in the First Place
Understanding why you lose firmness is easier when you know what has to go right. An erection depends on blood flooding into the spongy tissue of the penis and then staying trapped there. The signal to open the floodgates comes from nitric oxide, a chemical released by nerves and blood vessel linings that relaxes the smooth muscle in penile arteries, letting blood rush in.1International Journal of Impotence Research. Physiological regulation of penile arteries and veins Once blood fills the erectile chambers, the expanding tissue compresses the veins that would normally drain blood away. On top of that, the pelvic floor muscles squeeze the base of the penis from the outside, pushing internal pressure even higher than what arterial inflow alone can achieve.2PubMed. Erectile hydraulics: maximizing inflow while minimizing outflow If any link in that chain weakens, whether the arteries don’t open fully, the veins don’t seal, the pelvic floor is too weak, or the nerve signal gets interrupted, you lose rigidity.
Performance Anxiety and the Spectator Trap
Anxiety is probably the most recognized psychological cause of going soft, and for good reason. When your sympathetic nervous system fires up (the “fight or flight” response), it actively works against the relaxation that arteries need to deliver blood to the penis. Research has shown that heightened sympathetic activity makes it easier to lose an erection, particularly after the initial arousal phase has passed.3PubMed. Effects of demand for performance, self-monitoring of arousal, and increased sympathetic nervous system activity on male erectile response So the erection might start fine, then fade as worry takes hold.
The real damage often comes from a mental habit called “spectatoring,” where you mentally step outside your body and start monitoring yourself rather than staying absorbed in what’s happening. A study of over 850 sexually active men found that concerns about how their penis looked led to more spectatoring, which in turn predicted more problems with erections and orgasm.4PubMed. Anxiousness and Distractibility Strengthen Mediated Associations Between Men’s Penis Appearance Concerns, Spectatoring, and Sexual Difficulties: A Preregistered Study This creates a vicious loop: you go soft once, start watching yourself the next time, and the watching itself causes it to happen again. Laboratory studies back this up, showing that when men with erection difficulties were put under performance pressure, those instructed to self-monitor showed different arousal patterns than those allowed to focus on the erotic stimulus.5Behaviour Research and Therapy. The effects of anxiety and attentional focus on sexual responding—I: Physiological patterns in erectile dysfunction
Depression and general emotional distress are also significant. Data from the Massachusetts Male Aging Study found that men who reported depressive symptoms were roughly three times more likely to have erectile difficulties, and those with a pessimistic outlook nearly four times as likely.6Urologic Clinics of North America. PSYCHOGENIC ERECTILE DYSFUNCTION: Classification and Management The same study found a strong link with emotional stress. If you’ve been feeling low or carrying chronic stress, your erections are often one of the first things to suffer.
Blood Vessel Problems and Venous Leakage
Erections are fundamentally a vascular event. Anything that damages blood vessels throughout your body will eventually affect the ones in your penis. Erectile difficulty is now recognized as closely tied to endothelial dysfunction, the same process that underlies cardiovascular disease.7PubMed Central. Endothelial dysfunction, erectile dysfunction and phosphodiesterase 5 inhibitors. An update of the current data and future perspectives. When the lining of your blood vessels stops functioning well, the arteries in the penis can’t dilate the way they need to. High blood pressure, high cholesterol, diabetes, and obesity all contribute to this kind of damage over time.
A less well-known vascular cause is venous leakage. Think of it as trying to inflate a balloon with a hole in it: blood flows into the penis normally, but it drains back out through veins that aren’t being properly compressed.8PubMed Central. MRI-Cavernosography: A New Diagnostic Tool for Erectile Dysfunction Due to Venous Leakage: A Diagnostic Chance The underlying problem is often structural, with excess fibrous tissue in the erectile chambers preventing proper compression of the veins.9PubMed. Mechanisms of venous leakage: a prospective clinicopathological correlation of corporeal function and structure
Venous leakage has a recognizable pattern. In a study of 60 men with confirmed dorsal venous leaks, researchers found a distinctive “wavering” erection pattern. Over 90% reported losing hardness when they changed positions during sex, about 87% said external distractions caused softening, roughly 80% lost it when switching between lying down and standing, and about two-thirds lost it specifically when putting on a condom.10The Journal of Sexual Medicine. WAVERING PATTERN OF ERECTION AS A CLINICAL MANIFESTATION OF DORSAL VENOUS LEAKS OF THE PENIS If that combination sounds familiar, it’s worth bringing up with a urologist.
Hormones and Testosterone
Testosterone doesn’t act like an on/off switch for erections, but it plays a coordinating role. It helps link sexual desire to the physical erectile response, so that when you’re aroused, the machinery actually engages.11Nature Reviews Urology. The role of testosterone in erectile dysfunction At a tissue level, testosterone influences nearly every component involved in erections, from nerve signaling in the pelvis to the smooth muscle and blood vessel lining in the erectile chambers themselves.12European Urology. A Critical Analysis of the Role of Testosterone in Erectile Function: From Pathophysiology to Treatment—A Systematic Review
Low testosterone is more common than many men realize, particularly after age 40, though younger men can have it too. Symptoms often include reduced desire alongside softer erections, plus fatigue, mood changes, and difficulty concentrating. If you’ve noticed that your interest in sex has dropped alongside your erection quality, a blood test is a reasonable step. That said, not all erection problems trace back to testosterone; men with perfectly normal hormone levels lose erections for all the other reasons discussed here.
Medications That Interfere
Some of the most commonly prescribed drugs in the world carry erectile difficulties as a side effect. A large-scale analysis of the FDA’s adverse-event database identified antidepressants, particularly SSRIs like sertraline, citalopram, and escitalopram, as having elevated reporting rates for erectile problems. Antipsychotics, gabapentin, pregabalin, and opioids like oxycodone also showed up frequently.13PubMed Central. Medications Most Commonly Associated With Erectile Dysfunction: Evaluation of the Food and Drug Administration National Pharmacovigilance Database If you started going soft around the time you began a new medication, the connection is worth discussing with your prescriber. Stopping psychiatric medications on your own carries serious risks, but switching to a different drug in the same class sometimes resolves the sexual side effects without sacrificing mental health treatment.
Finasteride, widely used for hair loss, deserves a separate mention. In a study of men who developed sexual side effects on finasteride, over 90% reported low desire and erectile dysfunction that persisted for an average of 40 months after stopping the drug.14The Journal of Sexual Medicine. Persistent Sexual Side Effects of Finasteride for Male Pattern Hair Loss These persistent effects remain controversial in medicine, and not everyone experiences them, but if you’re on finasteride and noticing erectile changes, it’s a conversation worth having with your doctor.
Alcohol, Sleep, Smoking, and Pornography
A drink or two might help you relax, but alcohol has a dose-dependent effect on erections. Research measuring penile response under controlled conditions found that low to moderate doses caused a small but real dip in arousal, while high doses suppressed every measure of erectile response by a large degree.15PubMed. Effects of alcohol on male sexual responding The acute effects are temporary, but chronic heavy drinking can damage blood vessels and nerves in ways that make erection problems stick around even when you’re sober.
Sleep disorders hit erections from multiple angles. During normal sleep, your penis goes through several erection cycles tied to REM phases, typically three to six episodes per night. These nighttime erections aren’t just idle; they deliver oxygenated blood to the erectile tissue and help maintain its health. Conditions like obstructive sleep apnea reduce REM sleep and lower nitric oxide levels, shrinking both the number and quality of these maintenance erections.16PubMed Central. Erectile Dysfunction and Obstructive Sleep Apnea: A Review Over time, that oxygen deprivation can structurally degrade the tissue. If you snore heavily, wake up tired regardless of hours slept, or your partner has noticed you stop breathing at night, sleep apnea screening is worth pursuing for your erection health alone.
Nicotine is another vascular culprit, and this applies to vaping as well as smoking. A nationally representative U.S. survey found that daily e-cigarette users were more than twice as likely to report erectile difficulties compared to men who had never used them.17American Journal of Preventive Medicine. Association of E-Cigarettes With Erectile Dysfunction: The Population Assessment of Tobacco and Health Study The mechanism is similar to traditional cigarettes: nicotine constricts blood vessels and damages their lining over time.
Pornography use comes up frequently in online discussions, and the research picture is still forming. In a large international survey of over 2,400 young men, about one in five reported needing increasingly extreme content to achieve the same arousal, and roughly one in ten said they needed it specifically to maintain penile hardness.18PubMed Central. Associations Between Online Pornography Consumption and Sexual Dysfunction in Young Men: Multivariate Analysis Based on an International Web-Based Survey Whether this reflects a direct physiological desensitization or more of a psychological habituation pattern is still debated. If you find you can stay hard easily when watching porn but not with a partner, the mismatch is worth paying attention to, and a trial period of abstaining from pornography is a cost-free experiment.
When Relationship Problems Show Up in the Bedroom
Sexual response doesn’t happen in a vacuum. Relationship satisfaction and erection quality are closely linked, with research consistently finding that men with erectile difficulties report lower relationship satisfaction than men without them.19Current Opinion in Psychology. Sexual dysfunction and relationship stress: how does this association vary for men and women? The tricky part is that causation runs in both directions. Unresolved conflict, emotional disconnection, resentment, or attraction issues can all suppress arousal. And once erection problems start, they add a new layer of stress to the relationship that can make things worse. If you go soft consistently with one partner but not on your own, relationship dynamics are worth exploring honestly, whether through direct conversation or couples therapy.
Why It Happens Differently at Different Ages
Younger men and older men tend to go soft for different reasons, which matters for treatment. In a comparative study, younger men with erection problems were far more likely to still have morning erections (about 71% vs. 16% in older men) and normal desire (72% vs. 37%).20PubMed. Predisposing factors for erectile dysfunction and response to treatment in younger males: Are they different from those of older men? An observational-comparative study This suggests that in younger men, the plumbing is usually working fine and the problem is more likely driven by psychological factors or, when hormone levels are involved, by treatable testosterone issues. In older men, accumulated vascular damage, medication use, and declining hormone levels all become bigger players. The good news is that the fixes are effective at any age; they just target different things.
Exercise, Diet, and Pelvic Floor Training
If your erection problems are related to lifestyle (and statistically, they often are), exercise is one of the strongest interventions available. A systematic review of intervention studies concluded that roughly 40 minutes of moderate-to-vigorous aerobic exercise four times per week, sustained over six months, meaningfully improved erections in men whose difficulties were tied to inactivity, obesity, high blood pressure, or metabolic syndrome.21PubMed Central. Physical Activity to Improve Erectile Function: A Systematic Review of Intervention Studies That’s about 160 minutes a week, which is in line with what cardiovascular guidelines recommend anyway.
Diet matters too. A meta-analysis spanning over 27,000 participants found that plant-based, low-fat, and Mediterranean-style diets rich in fruits, vegetables, and nuts were all associated with lower risk of erectile dysfunction. Combining dietary changes with exercise was even more effective than either alone.22PubMed Central. Association between improved erectile function and dietary patterns: a systematic review and meta-analysis The connection makes sense given what we know about vascular health: the same eating patterns that protect your heart protect the blood vessels in your penis. Clinical trials have shown that lifestyle modifications can not only improve erectile function but in some cases fully restore it in men with obesity or metabolic syndrome.23PubMed Central. Lifestyle modifications and erectile dysfunction: what can be expected?
Pelvic floor exercises are underappreciated. The muscles at the base of your pelvis compress the veins that drain blood from the penis and add rigidity beyond what blood pressure alone can achieve.24The Journal of Sexual Medicine. CHARACTERIZATION OF PELVIC FLOOR MUSCLE PERFORMANCE IN MEN WITH ERECTILE DYSFUNCTION: A CROSS-SECTIONAL STUDY A randomized trial found that these muscles are active during normal erectile function, which led researchers to test whether strengthening them could help men with erectile difficulties.25PubMed Central. Randomised controlled trial of pelvic floor muscle exercises and manometric biofeedback for erectile dysfunction The exercises are simple: tighten the muscles you’d use to stop urinating midstream, hold for a few seconds, and release. Doing several sets daily over a few months is the typical approach, and the investment costs nothing but time.
Medications and Devices
PDE5 inhibitors like sildenafil (Viagra) and tadalafil (Cialis) remain the first-line medical treatment. They work by prolonging the effect of nitric oxide, making it easier for blood to flow in and stay in. Sildenafil has been shown to have a large effect on both erection hardness and the ability to maintain an erection, with modeling suggesting that roughly half of its benefit on maintenance comes directly and the other half through achieving a harder erection in the first place.26The Journal of Sexual Medicine. Understanding the Effects of Sildenafil Treatment on Erection Maintenance and Erection Hardness Tadalafil offers a longer window, with effects lasting over 24 hours and supporting improved ability to achieve penetration and sexual satisfaction.27The American Journal of Cardiology. Efficacy and tolerability of tadalafil, a novel phosphodiesterase 5 inhibitor, in treatment of erectile dysfunction These drugs don’t create arousal from nothing; they support the erection process once arousal is already happening. If the underlying problem is purely psychological, they can still help by breaking the anxiety loop: knowing the medication is working reduces the fear of failure.
Vacuum erection devices are a non-drug option that’s been around for decades. A cylinder placed over the penis creates negative pressure, drawing blood in, and a constriction ring at the base holds the blood in place after the device is removed. They produce erections firm enough for penetration in over 90% of users.28Urologic Clinics of North America. Vaccum Constriction and External Erection Devices in Erectile Dysfunction The erection feels different from a natural one, since the blood trapping is mechanical rather than physiological, and the ring shouldn’t stay on for more than about 30 minutes. But for men who can’t or prefer not to take medication, it’s a reliable option.
How to Tell What’s Going On With You
One of the most useful pieces of self-assessment is whether you still get erections at other times. If you wake up with a firm morning erection but lose it with a partner, the vascular and hormonal machinery is likely intact and the cause is more likely psychological, relational, or situational. If you don’t get full erections even during masturbation or upon waking, a physical cause becomes more probable. Clinicians use this same logic formally: measuring nighttime erections is one of the standard methods for distinguishing physical from psychological origins.29The Journal of Urology. Erection Problems in Medical Practice: Differential Diagnosis with Relatively Simple Method
The reality is that many men have overlapping causes. A guy with mild cardiovascular risk factors might never have noticed erection issues until work stress piled on and tipped him over the edge. Someone taking an SSRI might have been coping fine until a relationship hit a rough patch. Addressing only one layer often isn’t enough, which is why the most effective approaches tend to be multifactorial: optimize your sleep, move your body, examine your stress, review your medications, and talk to a doctor if the changes you make on your own aren’t enough. Going soft during sex is frustrating, but the encouraging part is that it’s one of the most treatable sexual complaints in medicine, especially when you’re willing to look at the whole picture.