Losing your erection during sex is common, and in most cases it comes down to a handful of predictable causes involving blood flow, stress hormones, or both. About 4% of men in their 20s and 30s report inconsistent erections, and that number climbs to around 12% for men in their 40s and 50s. It doesn’t automatically mean something is wrong with you, but understanding the mechanics can help you figure out what’s actually going on.
How Erections Stay Firm
An erection depends on two things happening at once: blood flowing in and blood being trapped there. When you’re aroused, the smooth muscle tissue inside the penis relaxes, allowing arteries to fill the two spongy chambers with blood. As those chambers expand, they compress the veins against a tough outer layer of tissue, which prevents blood from draining back out. That compression is what keeps you hard.
If either side of that equation fails, the erection weakens. Not enough blood coming in, or too much blood leaking out, and firmness drops. This can happen because of a physical issue with the blood vessels themselves, or because your nervous system sends the wrong signal at the wrong time. Most cases of going soft during sex involve one of those two problems.
Stress and Anxiety Shut It Down Fast
Your nervous system has two competing modes. The one responsible for erections is the same one that handles relaxation, digestion, and rest. The other mode, your fight-or-flight response, does the opposite. It diverts blood away from non-essential functions (like erections) and toward your muscles and brain so you can deal with a perceived threat.
Performance anxiety triggers that fight-or-flight response. The moment you start worrying about staying hard, your brain treats it like a stressor and releases adrenaline. Adrenaline constricts the smooth muscle in the penis, which is the exact opposite of what needs to happen. The cruel part is that once you lose your erection from anxiety, the anxiety gets worse, which makes it even harder to recover. This cycle is the single most common reason younger men lose erections during sex, and it can happen even when you’re genuinely attracted to your partner and physically healthy.
It’s not limited to performance pressure, either. Work stress, financial worry, relationship tension, or general mental health struggles all keep your sympathetic nervous system running at a higher baseline. That makes it harder for the relaxation response to take over and do its job.
Alcohol Is a Reliable Erection Killer
Alcohol interferes with erections in multiple ways at once. It inhibits the part of your nervous system responsible for relaxing penile smooth muscle, which is the critical first step in getting and staying hard. It also dilates blood vessels throughout your body, causing a temporary drop in blood pressure that reduces the force of blood flow into the penis. On top of that, alcohol is a depressant that dulls your sensitivity to touch, making it harder to stay physically aroused even if you’re mentally into it.
A drink or two might loosen inhibitions without causing problems, but beyond that, the pharmacological effects start working against you. If you’re consistently losing your erection after drinking, the alcohol is almost certainly the explanation.
Medications That Interfere
Several common medications can cause erection problems, and many men don’t realize the connection. The most frequent culprits include:
- Blood pressure medications: Thiazide diuretics (water pills) are the most common offender in this category, followed by beta-blockers
- Antidepressants: SSRIs and other psychiatric medications frequently affect sexual function
- Antihistamines: Both allergy medications and certain heartburn drugs
- Pain medications: Opioid painkillers and even over-the-counter anti-inflammatory drugs like ibuprofen
- Recreational drugs: Nicotine, cocaine, amphetamines, and marijuana can all contribute
If your erection problems started around the same time you began a new medication, that’s a strong clue. Don’t stop taking prescribed medication on your own, but it’s worth a conversation with your prescriber about alternatives.
Blood Vessel Health Matters More Than You Think
The arteries supplying the penis are smaller than the ones supplying the heart. That size difference is medically significant: damage to the inner lining of blood vessels shows up in erection quality years before it causes heart symptoms like chest pain. Erection problems can be an early warning sign of cardiovascular disease.
This doesn’t mean every soft erection signals a heart problem. But if you’re in your 30s or 40s, you’re not particularly anxious, you’re not drinking, and erection quality has been gradually declining, it’s worth paying attention. The same process that narrows heart arteries, a buildup of plaque from damage to the vessel lining, narrows penile arteries first. Risk factors are the usual suspects: smoking, high cholesterol, high blood pressure, diabetes, and a sedentary lifestyle. Research from the Mayo Clinic suggests that men with unexplained erection problems and no obvious cause like injury should be evaluated for underlying cardiovascular risk.
Condoms and Interruptions
Stopping to put on a condom is one of the most commonly reported triggers for losing an erection. Research suggests this isn’t really about the physical sensation of the condom itself. Studies comparing latex and non-latex condoms found that the material didn’t make a meaningful difference in physiological arousal. The problem is more psychological: the pause in stimulation, the fumbling, the shift from being in the moment to performing a mechanical task. Negative attitudes about how condoms affect pleasure also play a role, creating a self-fulfilling expectation.
Men who already have slightly weaker erectile function (even within the normal range) are more likely to experience this. Practicing putting condoms on during solo sessions, or having your partner apply it as part of foreplay, can reduce the disruption.
Occasional vs. Persistent Problems
Losing your erection once in a while is normal. The clinical definition of erectile dysfunction requires the problem to be “consistent or recurrent,” meaning it happens regularly enough to interfere with your sexual satisfaction. A bad night after too many drinks, a stressful week at work, or a new partner making you nervous are all common, temporary explanations.
Patterns matter more than individual episodes. If it keeps happening across different situations (not just with one partner, not just after drinking, not just when you’re stressed), or if your morning erections have also become weaker or less frequent, that points more toward a physical cause worth investigating. A gradual decline over months suggests blood flow or hormonal changes. A sudden onset, especially if morning erections are still normal, points more toward psychological factors.
What You Can Do About It
The approach depends on the cause. For anxiety-driven erection loss, the most effective strategy is breaking the worry cycle. Shifting focus away from your erection and toward physical sensations, your partner’s body, or your breathing can interrupt the adrenaline response. Some men benefit from using medication temporarily to rebuild confidence, then tapering off once the anxiety cycle is broken.
For lifestyle-related causes, the fixes are straightforward if not always easy: cutting back on alcohol before sex, improving cardiovascular fitness, quitting smoking, and getting enough sleep. Regular aerobic exercise improves the health of your blood vessel lining directly, which translates to better blood flow where you need it.
Treatment options range from oral medications to devices to therapy, and current guidelines from the American Urological Association emphasize that there’s no mandatory first step. You and your provider decide together based on what’s causing the problem and what you’re comfortable with. Some men prefer to start with the least invasive option, while others want the most effective one immediately. Both approaches are valid. The evaluation typically starts with a detailed history of your erections, including whether morning erections are still happening, how firm they are, and whether the problem is situational or consistent.