Why Am I Not Staying Hard: Physical and Mental Causes

Losing an erection during sex is one of the most common sexual health issues men experience, and it usually has a clear, fixable cause. Roughly 8 to 11% of men under 40 deal with this, and the numbers climb with age: about 40% of men in their 40s and 50% in their 50s report erection difficulties. The issue can be physical, psychological, or a combination of both.

How Erections Are Maintained

Getting hard and staying hard are actually two slightly different processes, and understanding the second one helps explain why things go wrong. When you’re aroused, blood vessels in the penis widen and spongy tissue inside the shaft fills with blood. As that tissue expands, it compresses the veins that would normally drain blood back out of the penis, essentially trapping blood inside. That trapped blood is what creates and holds rigidity.

The key player in this whole chain is nitric oxide, a molecule released by the lining of blood vessels. Nitric oxide tells the smooth muscle in the penis to relax, which lets blood flow in and stay in. Anything that reduces nitric oxide production or damages those blood vessel linings can make it harder to maintain an erection, even if you can get one initially.

Blood Vessel Problems Are the Most Common Cause

The same process that clogs arteries around the heart can affect the much smaller arteries in the penis. Damage to the inner lining of blood vessels (called the endothelium) reduces blood flow throughout the body. In the penis, this means less blood gets in and the trapping mechanism doesn’t work as well. High blood pressure accelerates this damage over time.

This is why erection problems are sometimes an early warning sign of cardiovascular disease. The penile arteries are narrower than coronary arteries, so they tend to show the effects of vascular damage first, sometimes years before heart symptoms appear. If you’re losing erections and also have high blood pressure, high cholesterol, or diabetes, that connection is worth taking seriously.

Anxiety Can Shut Things Down Mid-Act

If you’ve noticed you can get hard on your own or wake up with erections but lose them during sex, the cause is more likely psychological than physical. Performance anxiety triggers the body’s fight-or-flight response, flooding your system with adrenaline and noradrenaline. These stress hormones constrict blood vessels in the penis, directly counteracting the relaxation that keeps blood trapped inside. Anxiety also suppresses nitric oxide release in penile tissue, so even a physically healthy man can lose an erection simply because his nervous system is working against him.

The frustrating part is that this creates a cycle. You lose your erection once, worry about it happening again, and that worry itself makes it more likely to happen. Breaking the cycle often requires addressing the anxiety directly rather than focusing solely on the erection.

Medications That Interfere With Erections

Several common prescription drugs can make it difficult to stay hard. If your erection problems started around the same time you began a new medication, that’s a strong clue.

  • Blood pressure medications: Thiazide diuretics (water pills) are the most common culprits. Beta-blockers are second. Alpha-blockers tend to cause fewer erection issues.
  • Antidepressants and anti-anxiety drugs: SSRIs and several other classes of psychiatric medications are well-known for sexual side effects, including difficulty maintaining erections.
  • Anti-seizure medications can also contribute.

If you suspect a medication is the cause, don’t stop taking it on your own. There are often alternative drugs in the same class with fewer sexual side effects.

Alcohol, Smoking, and Lifestyle Factors

Alcohol dilates blood vessels throughout your body, which temporarily drops blood pressure and reduces the blood flow your penis needs to stay firm. You might get partially hard after a few drinks but find you can’t maintain it. This is a direct hydraulic problem: not enough pressure to keep blood trapped in place.

Chronic smoking damages blood vessel linings the same way high blood pressure and high cholesterol do. Over time, this makes the vascular component of erections progressively worse. The effect is cumulative, so the longer someone smokes, the more likely erection quality declines. Poor sleep, a sedentary lifestyle, and obesity all contribute through similar pathways: reduced vascular health and lower nitric oxide production.

Testosterone Is Often Misunderstood

Low testosterone is one of the first things men suspect when they can’t stay hard, but the connection is more complicated than most people think. Testosterone primarily drives libido (your desire for sex), not the mechanical process of getting and keeping an erection. Many men with low testosterone have normal erectile function but reduced interest in sex. And many men with erection problems have perfectly normal testosterone levels.

There’s a common misconception, even among some physicians, that testosterone therapy will significantly improve erections. In reality, treating low testosterone helps desire more than it helps rigidity. If you’re losing erections but your sex drive feels normal, testosterone is unlikely to be the issue.

Pelvic Floor Strength Plays a Role

Your pelvic floor muscles help control blood flow to and from the penis, and weak ones can contribute to erections that fade too quickly. These are the same muscles you’d use to stop yourself from urinating mid-stream or to prevent passing gas.

Strengthening them is straightforward. Squeeze and hold those muscles for five seconds, relax for five seconds, and repeat 10 times. Do three sets per day, working up to 10-second holds. Most men notice changes after six to eight weeks of consistent practice. This won’t solve a vascular or anxiety problem on its own, but it’s a free, low-effort intervention that can make a real difference for mild cases.

How to Tell What’s Causing It

A few patterns can help you narrow things down before you see anyone about it. If you still get firm erections during sleep or when you wake up, the plumbing is likely working and the issue is more situational, pointing toward anxiety, relationship stress, or alcohol. If erections are weaker across the board, including morning erections, a physical cause is more likely.

Clinically, erectile dysfunction is defined as a consistent or recurrent inability to get or maintain an erection sufficient for sexual satisfaction. The key word is “consistent.” Losing an erection occasionally, especially when tired, stressed, or after drinking, is normal and not a sign of dysfunction. If it’s happening regularly over several weeks, that’s when it warrants a closer look. A doctor will typically ask about your medical history, current medications, and lifestyle before running any tests, because those conversations alone often point to the cause.