Blog
/
Sex

12 Reasons for Losing an Erection During Sex

Just about every guy will fail to perform in the bedroom at some point in life, and losing an erection is nothing you should feel ashamed or embarrassed about.

Feeling concerned, however, is totally normal, too — especially if the problem happens more than once.

You can lose your erection during sex for a lot of reasons, from sexual performance anxiety to alcohol consumption. Sometimes even an underlying health issue may make it hard for you to maintain an erection — yes, even when you’re “in the mood.” 

Getting this problem solved is a multi-step process. Below, we’ve explained how and where to start, including:

  • How and why erectile dysfunction can occur

  • The symptoms of ED you might experience

  • Reasons you may lose your erection during sex

Options for treating weak or inconsistent erections, improving your sexual performance and enjoying more satisfying sex with your partner.

Why Can’t I Stay Hard During Sex?

The right reaction to losing an erection is to start asking questions — questions like, Why can’t I stay hard? or Why do I lose my erection during sex?

Losing an erection can result from a number of factors. These can cause you to either lose your erection during sex or get an erection that isn’t quite firm enough for penetration, including:

  • Physical health conditions

  • Medications and recreational drugs

  • Factors related to your lifestyle

  • Mental health issues

Sometimes, a combination of factors can affect your erections and other aspects of your sexual health.

Getting hard may seem easy when you’re younger, but there are actually a number of complex processes that go into every erection. They include your sex hormones, nervous systems, and blood vessels.

An erection begins with stimulation. This could be something you see, hear, touch, or think. The stimulation triggers your nervous system and increases blood flow to your penile arteries, which continues until you climax or the arousal goes away. However, this process doesn’t work as well if you’re having erectile issues.

Take it from Him

"Since starting [treatment], my confidence has risen and my and my partner’s satisfaction in bed has increased dramatically...

"I have far more confidence in my performance, higher self-esteem, and less worry. It really makes a difference, not being worried about my body betraying me when I least want it to. It is so freeing."

- Daniel, 39

Incentivized Review

ED treatment

Hard facts on better erections

Does Losing an Erection Mean I Have Erectile Dysfunction (ED)?

Not necessarily. You can lose your erection for many reasons, including stress, anxiety, or alcohol use. However, if you notice a pattern of repeatedly losing your erection, ED may be the cause.

Some men think erectile dysfunction means your penis is always flaccid. In truth, ED can vary in severity and affect many parts of the sexual response cycle. Loss of erection during the excitement phase is a sign of ED, but ED can also make you lose your erection midway through sex or prevent you from getting an erection in the first place.

Whether you can’t get an erection or can’t keep one firm enough for sex, both are technically symptoms of erectile dysfunction if they happen regularly.

Men with severe erectile dysfunction might not be able to ever get any erections. In contrast, men with mild ED may be able to get an erection that just doesn’t last long enough to have satisfying, fulfilling sex every time.

According to the National Institutes of Health, around 30 million men in the US have some degree of erectile dysfunction. So, while the spectrum of symptoms can be wide, the reach of this health condition is even wider.

The truth is that failed erections happen to all of us, and reacting the right way can make them easier to deal with.


Why Does My Erection Go Away So Fast? 12 Reasons

“Why can’t I get hard during sex?” and “Why can’t I stay hard during sex?” are two very different questions. Still, whether you can’t keep an erection or aren’t able to get one in the first place, the potential causes are essentially the same.

Below, we’ve shared 12 key causes of erectile dysfunction and erection loss, where your erection might be getting stuck, stalled, or limited. If you suspect any of these to be factors that could apply to you, bring them up to a healthcare provider.

1. Cardiovascular Issues

Cardiovascular health issues like heart disease, atherosclerosis (clogged arteries), and hypertension (high blood pressure) may affect your blood vessels and stop your penis from getting adequate blood flow for a consistent erection.

2. Kidney Diseases and Diabetes

Chronic medical conditions like diabetes and chronic kidney disease can affect your cardiovascular system and harm the nerves around your penis, potentially affecting blood flow and nerve function.

3. Neurological Disorders

Nervous system disorders like multiple sclerosis (MS) can also affect your ability to get an erection and maintain it while you’re having sex.

4. Hormone Imbalances

Sometimes, physical issues that don’t directly affect your blood flow or nerve function can also have an impact on your ability to maintain an erection by affecting your sex drive and everyday level of interest in sexual activity.

In particular, maintaining adequate testosterone levels is important for keeping your sex drive healthy and consistent.

Not only is low testosterone associated with EDit can also reduce your sexual desire and may play a role in some forms of sexual dysfunction. This could affect your level of sexual enjoyment and desire for sex in general, making it more difficult to keep an erection.

5. Injuries

Penile injuries that affect the function of your penis may make it more difficult for you to get hard and stay hard in general, and some of them can also cause erections to become painful.

Peyronie’s disease — a condition characterized by ​​fibrous scar tissue in the penis that can cause painful, curved erections — can affect your erections. Similarly, nerve damage from surgery or injuries may increase your risk of losing your erection during sex.

6. Smoking or Using other Nicotine Products

Smoking is a major risk factor for erectile dysfunction, both because of the damage it can cause to your heart system and the effects of nicotine.

7. Drinking Alcohol, Especially to Excess

Alcohol and erectile dysfunction can go hand in hand. In an intoxicated condition, you may find it more difficult to maintain an erection if you’ve had a few drinks before going to bed.

8. Overweight or Obese

Having a Body Mass Index (BMI) that is overweight or obese is associated with a significantly higher risk of developing erectile dysfunction. Obesity also increases your risk of other related health conditions like cardiovascular disease.

9. Using Steroids

Although testosterone is linked to a higher sex drive in the short term, research suggests that the use of testosterone and other steroids may increase your risk of developing ED after discontinuation.

10. Medication Side Effects

Many medications can affect your sex life in different ways, including dulling sexual excitement or reducing your general level of sexual function. Sometimes, these changes can make it more challenging to maintain an erection during sexual intercourse.

Medications that may cause you to lose your erection include:

  • Antidepressant drugs, such as selective serotonin reuptake inhibitors (SSRIs)

  • Medications that affect androgen levels or cause hormone imbalances

  • Anti-anxiety medications

  • Prescription drugs used to promote sleep

  • Appetite suppressants and/or weight loss medications

  • Antihistamines used to treat colds and allergies

  • Medications for Parkinson’s disease

  • Blood pressure medications

  • Medications for stomach ulcers

  • Other medications

If you’re prescribed a new medication and notice that you’re now losing your erection during sex, it’s best to talk to your healthcare provider. They may adjust your dosage or prescribe a different medication with a lower risk of causing erection issues. Never stop taking a prescribed medication without asking your doctor first.

11. Recreational Drugs

In addition to over-the-counter and prescription medications, many recreational drugs and illicit substances can cause erection difficulties and affect your general sexual function.

These include:

  • Amphetamines

  • Barbiturates

  • Marijuana

  • Cocaine

  • Heroin

If you use drugs and think you may have a substance use disorder, it’s important to talk to your provider as soon as you can.

12. Depression, Stress and Anxiety

Lastly, some psychological factors may affect your ability to remain hard while you’re having sex.

Anxiety and depression are both linked to a higher risk of ED. Feelings of anxiety, fear, or guilt about sex can cause you to lose your erection when they become severe.

Sometimes, even occasional stress can affect your erections and ability to properly connect with your sexual partner.

How to Stay Hard During Sex

Losing an erection in the middle of sex can be frustrating. But it's not uncommon. You don’t necessarily have ED if this happens once in a while, but if it starts to become a pattern, these and other factors may indicate that you should seek erectile dysfunction treatment.

The good news is a variety of treatment options are available to help you more easily maintain your erection during sex, ranging from lifestyle changes to medication.

Make Changes to Your Lifestyle

Promoting healthy erections is largely about living a healthy, balanced, and active lifestyle.

If you’re flaccid due to some obvious physical causes, you should look at your body for solutions. Small, simple changes can have a huge impact on your sexual performance — sometimes without medication.

Science generally agrees. In a 2011 meta-analysis, researchers found that aerobic exercise correlates with a measurable improvement in the symptoms of erectile dysfunction.

In our guide to naturally protecting your erection, we shared several approaches to try for better erections naturally. They basically boil down to the following medical advice:

  • Keep your body weight in the healthy range

  • Pay attention to your blood pressure, and treat it if it’s elevated

  • Eat a diet that’s built around fruit, vegetables, whole grains, and other nutritious foods

  • Keep track of mental health concerns and don’t be afraid to seek treatment

  • Make aerobic exercise part of your daily routine (even if it’s just a little bit)

  • If your sex drive feels weak, get your testosterone levels checked

  • Improve your sleep habits and aim for seven hours or more per night

  • Limit your consumption of porn, as it may affect your erections

While these techniques aren’t guaranteed to improve your erections, they can have a noticeable impact, especially if you only lose your erections occasionally.

We’d also like to point to two common habits changes you may want to make today:

  • Avoid smoking cigarettes or consuming nicotine in other ways. One study published in the Journal of Sexual Medicine in 2008 found that men given nicotine showed low erectile response to erotic material — a factor that may make it harder to feel aroused during sexual activity.

  • Reduce your alcohol intake to no more than two servings per day. In one study from 2007 of men with alcohol dependence, researchers found that the amount of alcohol a person consumes is the most significant predictor of developing sexual dysfunction out of the things they tested for.

If any of these pieces of advice resonates with you, it may be time to make some changes.

Talk To a Therapist

Seeking psychotherapy could be beneficial, as it can be used to treat performance anxiety, stress, and other factors that can contribute to erection problems and loss of erection when you want it most.

If you think that a psychological problem could be contributing to weak, partly flaccid, or inconsistent erections, talk to a medical professional.

Depending on your needs, your therapist may suggest an approach such as cognitive-behavioral therapy (CBT) to overcome negative thoughts and work on your self-esteem to return your erectile function.

Use Erectile Dysfunction Medication

Contrary to popular belief and advertising campaigns, ED medications like sildenafil aren’t just used by middle-aged and older men (not that there’s anything wrong with being one of either!).

Data show that about 40 percent of men experience some level of erectile dysfunction by the age of 40, with an increasing number of younger men using sildenafil and other drugs to deal with ED as it develops.

Medication works. Currently, the FDA has approved four prescription oral medications for erectile dysfunction. All of these medications belong to a class of drugs referred to as PDE5 inhibitors, which make getting and maintaining an erection easier by increasing blood flow to your penis.

They include:

There are also other medications available for ED that aren’t PDE5 inhibitors, such as the injectable medication alprostadil.

Each erectile dysfunction medication is slightly different — some drugs last for longer, while others produce fewer side effects. Learn more about the key differences between these ED drugs here.

ED Treatment

Enjoy sex like you used to

Staying Hard During Sex: A Final Word

For men who can’t stay hard and find themselves wondering, Why does my erection go away so fast?, sex can be an anxiety-inducing activity. But, chances are,  it’s not where all of the problems lie.

Health is a check engine light problem for most guys — it doesn’t get much attention until a problem puts you in park. Dealing with a lost erection can feel like a serious blow to your confidence, but it doesn’t need to be something you dwell on or experience again.

To get back on the road, remember the following:

  • It’s completely normal to lose your erection during sex occasionally. However, you should seek treatment if it’s a constant and consistent issue in the bedroom.

  • ED is often a sign of a bigger problem that needs treatment. Common causes of ED include obesity, cardiovascular disease, or mental health issues.

  • ED medications can make keeping an erection easier. These drugs increase blood flow to the penis to promote healthy erections. They can also give you a confidence boost in bed.

Interested in learning more about factors that can affect your sexual performance? Find out more about how to know if you have ED, explore 7 psychological causes of ED, and learn why sudden erectile dysfunction happens.

  1. Arackal B, et al. (2007). Prevalence of sexual dysfunction in male subjects with alcohol dependence. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2917074/
  2. Armstrong J, et al. (2018). Impact of anabolic androgenic steroids on sexual function. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6043738/
  3. CIALIS- tadalafil tablet, film coated. (2017). https://www.accessdata.fda.gov/spl/data/05dbd8b6-1b9d-436a-a67c-8a16713f753f/05dbd8b6-1b9d-436a-a67c-8a16713f753f.xml
  4. Dhaliwal A, et al. (2022). PDE5 Inhibitors. https://www.ncbi.nlm.nih.gov/books/NBK549843/
  5. Ferrini MO, et al. (2017). Aging related erectile dysfunction-potential mechanism to halt or delay its onset. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5313305/
  6. Harte C, et al. (2008). Acute Effects of Nicotine on Physiological and Subjective Sexual Arousal in Nonsmoking Men: A Randomized, Double-Blind, Placebo-Controlled Trial. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2864030/
  7. Kovac J, et al. (2015). Effects of cigarette smoking on erectile dysfunction. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4485976/
  8. Lamina S, et al. (2011). Effects of Aerobic Exercise in the Management of Erectile Dysfunction: A Meta Analysis Study on Randomized Controlled Trials. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3275865/
  9. National Institute of Diabetes and Digestive and Kidney Diseases. (2017). Definition & Facts for Erectile Dysfunction. https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/definition-facts
  10. National Institute of Diabetes and Digestive and Kidney Diseases. (2017). Symptoms & Causes of Erectile Dysfunction. https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes
  11. Skrypnik D, et al. (2014). Obesity—significant risk factor for erectile dysfunction in men. Retrieved from https://pubmed.ncbi.nlm.nih.gov/24720114/
  12. VIAGRA- sildenafil citrate tablet, film coated. (2017). https://www.accessdata.fda.gov/spl/data/40578e70-350a-4940-9630-55d90989c146/40578e70-350a-4940-9630-55d90989c146.xml
Editorial Standards

Hims & Hers has strict sourcing guidelines to ensure our content is accurate and current. We rely on peer-reviewed studies, academic research institutions, and medical associations. We strive to use primary sources and refrain from using tertiary references. See a mistake? Let us know at blog@forhims.com!

This article is for informational purposes only and does not constitute medical advice. The information contained herein is not a substitute for and should never be relied upon for professional medical advice. Always talk to your doctor about the risks and benefits of any treatment. Learn more about our editorial standards here.