Why Do I Lose My Erection? The Real Reasons (It's Not About Attraction)

Dr. Nicole Irving, Ph.D., LPC, AASECT-Certified Sex Therapist  |  Restorative Solutions Therapy  |  www.restorativesolutionstherapy.com

Man sitting alone on the edge of a bed looking worried about erectile dysfunction

Erectile dysfunction is one of those topics that most people would rather avoid talking about, which means many men are left sitting with a whole lot of shame, confusion, and unanswered questions. And that silence? It does real damage. It leads to thoughts like, "Am I broken?""Does this mean I don't find my partner attractive?""Is something seriously wrong with me?" It can fuel self-doubt, anxiety, and, for some men, a gradual withdrawal from intimacy altogether

Let's start with one of the biggest myths about erectile dysfunction: losing your erection during sex does not mean you aren't attracted to your partner. In fact, that's one of the most common—and most damaging—misconceptions I hear. It leaves many men questioning themselves and many partners wondering if they've somehow done something wrong.

The reality is much less dramatic. Erectile dysfunction affects an estimated 30 to 50 million men in the United States, and more than half of men between the ages of 40 and 70 experience difficulty getting or maintaining an erection at some point. If this is happening to you, you're far from alone. And more importantly, it doesn't automatically say anything about how much you desire or love your partner.

The causes are…you might be surprised….incredibly varied. Physical health conditions, lifestyle habits, and psychological factors all play a role. We are going to break all of that down, bust the myths that have been doing the most harm, and look at what you can actually do about it.

Understanding Why You Lose Your Erection (It's Not About Attraction)

What Actually Happens When You Get an Erection

Here's something most people don't realize: getting an erection is actually a pretty remarkable process. When you become sexually aroused—whether through something you see, think, feel, touch, or hear—your brain sends a cascade of chemical signals through your nerves to the blood vessels in your penis. Those signals tell the arteries to relax and widen, allowing blood to flow into two sponge-like chambers called the corpora cavernosa. At the same time, the veins that would normally carry blood back out become compressed, trapping the blood inside. As pressure builds within the corpora cavernosa, an erection develops.

So what does all that mean? It means your brain, hormones, nerves, muscles, and blood vessels all have to show up and do their job at the same time. Every single one of them. If any part of that chain gets disrupted — even temporarily — you can lose your erection. It's not a character flaw. It's plumbing.

Why Losing an Erection Doesn't Mean Lack of Attraction

One of the biggest myths about erectile dysfunction is that it means a man isn't attracted to his partner. I can't say this clearly enough: that is usually not the case.

The reality is that most cases of erectile dysfunction have a physical component. Things like cardiovascular disease, diabetes, hormonal changes, neurological conditions, certain medications, poor sleep, and even stress can all interfere with the body's ability to get or maintain an erection. None of those automatically have anything to do with attraction.

An erection is not a perfect measure of desire. A man can be deeply attracted to his partner and still experience erectile dysfunction. Likewise, men sometimes have erections that have nothing to do with sexual desire at all. Human bodies simply don't work that neatly.

Partners often get pulled into the story, too. Many women immediately wonder, "Is it me?""Am I not attractive anymore?" or "Did I do something wrong?" Those thoughts are completely understandable—but they're usually not accurate. Erectile dysfunction is much more likely to be a medical or physiological issue than a reflection of your desirability. Unfortunately, when couples don't talk about it, it's easy for both partners to fill in the blanks with fears that simply aren't true.

If You Can Get an Erection Alone, Attraction Isn't the Problem

A really good example of this is when a man can get an erection during masturbation or wakes up with morning erections but struggles during partnered sex. When that happens, it often points more toward a psychological cause than a physical one. Performance anxiety alone can set off a cascade of mental and physical changes that make it difficult to get or maintain an erection—even when attraction is very much present. Sometimes your mind and your body simply aren't on the same page, and that's more common than most people realize.

When Losing Erection Becomes a Pattern

Occasional erection problems are normal. Really, truly normal. Most men will experience a time when they can't get or keep an erection because they're stressed, exhausted, distracted, anxious, or maybe they've had one too many drinks. That's part of being human.

The concern isn't that it happened once. It's when it starts happening consistently. If you're having difficulty getting or maintaining an erection more than about half the time you have sex, it's worth paying attention. Erectile dysfunction is defined as the persistent inability to achieve or maintain an erection that's firm enough for satisfying sexual activity. When it becomes a pattern, it can sometimes be an early sign of underlying health conditions like cardiovascular disease, diabetes, or hormonal changes.

The takeaway is simple: once is usually just life. A pattern is worth talking to your healthcare provider about.

Common Physical Causes of Erectile Dysfunction

Here's the good news albeit sometimes the frustrating news: erectile dysfunction is often your body's way of asking you to pay attention.

Because an erection depends on healthy blood flow, nerve function, hormones, and communication between your brain and body, there are a lot of things that can get in the way. Some of the most common include:

  • Heart disease, high blood pressure, and poor circulation

  • Diabetes and other chronic health conditions

  • Low testosterone or other hormone imbalances

  • Neurological conditions or pelvic injuries

  • Certain medications (especially some antidepressants and blood pressure medications)

  • Smoking or vaping

  • Excessive alcohol use

  • Recreational drug or anabolic steroid use

  • Poor sleep

  • Carrying excess weight

  • Chronic stress and a sedentary lifestyle

One fact that's worth knowing is that the blood vessels in the penis are some of the smallest in the body. That means erection problems can sometimes show up years before someone develops symptoms of cardiovascular disease. In other words, persistent ED isn't just a sex issue—it can be a health issue.

The takeaway? If erection difficulties are becoming a pattern, don't ignore them or assume it's "just getting older." It's worth talking with your healthcare provider to rule out medical causes. Taking care of your overall health often improves your sexual health, too.

Psychological Causes of Erectile Dysfunction

If you've ruled out a medical cause, or your doctor says you're physically healthy, you might be wondering, "So why is this happening?"

The answer is that erections don't just happen in the body. They happen in the brain, too.

An erection depends on your nervous system feeling safe enough to shift into a relaxed, sexually responsive state. When your brain starts scanning for danger, stress, or failure, it becomes much harder for your body to do what it normally knows how to do.

Let's look at some of the most common psychological causes.

Performance Anxiety: The More You Try, the Harder It Gets

Performance anxiety is one of the most common causes of erectile dysfunction that I see. Sometimes it starts after a single experience where an erection didn't happen because you were tired, stressed, distracted, or had too much to drink. Those situations are completely normal, but our brains don't always treat them that way.

The next time you're intimate, it's easy for a thought to creep in: "What if it happens again?" Instead of focusing on your partner or enjoying the moment, your attention shifts toward monitoring your erection. Ironically, the harder you try to make an erection happen, the more difficult it often becomes. Anxiety activates your body's stress response, and stress is one of the biggest enemies of sexual arousal.

Spectatoring: When You Become an Observer Instead of a Participant

One of the concepts we talk about a lot in sex therapy is spectatoring, a term coined by Masters and Johnson. Instead of experiencing sex, you're observing yourself having sex. You're wondering whether your erection is firm enough, whether your partner notices, whether you'll lose it, or what might happen next.

The problem is that your attention has shifted away from pleasure and connection toward evaluation and self-monitoring. Your body is trying to become aroused while your brain is busy grading your performance. Those two processes don't work very well together

One Bad Experience Can Create a Cycle

One of the biggest surprises for many men is how quickly erectile dysfunction can become a cycle. It often starts with one completely understandable experience. Maybe you were exhausted after a long week, had one too many drinks, or were feeling stressed. You lose your erection, brush it off, and move on.

But then the next time you're intimate, there's a small thought in the back of your mind: "What if it happens again?" That anticipation creates anxiety, and anxiety makes it much harder for your body to respond naturally. Before long, sex starts to feel like something you have to succeed at rather than something you get to enjoy. The good news is that this cycle is common, and it's absolutely something that can be broken.

Stress Doesn't Stay at Work

Stress has a way of showing up everywhere, including your sex life. When you're worried about work, finances, parenting, your health, or simply trying to keep up with life, your nervous system spends more time in "go" mode than in "rest" mode. The problem is that erections rely on your body being able to slow down and relax.

That doesn't mean you have to live a stress-free life to have great sex. It simply means that chronic stress can make it much harder for your mind and body to shift into a state where arousal comes naturally.

Relationship Conflict Changes the Emotional Climate

Relationships don't have to be perfect for couples to have a healthy sex life. But if you've been feeling disconnected, arguing more often, avoiding difficult conversations, or carrying unresolved resentment, those experiences don't magically disappear when you get into bed.

For some couples, erectile dysfunction becomes another source of pressure. One partner worries about losing an erection, while the other wonders if they're no longer attractive. Without honest conversations and good communication, both people start filling in the blanks with stories that usually aren't true. Addressing the relationship, not just the erection, and working together as a couple is often an important part of the solution.

Depression Can Quiet Sexual Desire

Depression affects much more than mood. It can lower desire, reduce energy, make it harder to experience pleasure, and contribute to erectile difficulties. Some antidepressant medications can also affect erections or make orgasm more difficult.

If you've noticed changes in both your mood and your sexual functioning, don't assume you simply have to live with it. A conversation with your healthcare provider can help determine whether depression, medication, or something else is contributing to the problem.

What About Pornography?

This is one of the questions I get asked most often: Can pornography cause erectile dysfunction?

The answer is that it can, but it's rarely the whole story. For some men, frequent pornography use, highly stimulating content, or a very specific masturbation routine can make partnered sex feel different by comparison. For many others, pornography isn't the primary issue at all.

Rather than assuming pornography is the cause, I encourage people to look at the bigger picture. Stress, anxiety, relationship dynamics, overall health, and sexual habits all play a role. Most of the time, it's not one single factor—it's several working together.

How Sex Therapy Helps Break the Cycle

One of the most rewarding parts of my work is watching men realize they aren't broken. Erectile dysfunction is rarely about willpower or simply "trying harder." In fact, trying harder is often what keeps the cycle going.

Sex therapy helps you understand what's getting in the way. Together, we identify the factors contributing to the problem, reduce performance anxiety, quiet spectatoring, improve communication with your partner, and rebuild confidence in your body's ability to respond naturally.

The goal isn't to create perfect erections. It's to help you feel confident, connected, and able to enjoy intimacy again without fear running the show.

When Is It Time to Reach Out?

If erectile dysfunction has become a pattern rather than an occasional experience, it's worth talking with someone. The earlier you address it, the easier it often is to break the cycle before anxiety, avoidance, and relationship strain become part of the problem.

For men whose erectile dysfunction is primarily driven by stress, anxiety, or other psychological factors, sex therapy can be remarkably effective. In fact, research suggests that when a partner participates in treatment, 50% to 70% of stress-related erectile dysfunction can be successfully resolved.

Sex therapy isn't about teaching you how to "perform." It's about helping you understand what's getting in the way. Together, we identify the factors contributing to the problem, reduce performance anxiety, quiet spectatoring, improve communication with your partner, and help your mind and body work together again.

You don't have to navigate this alone. Reaching out for help isn't a sign that you're broken, it's often the first step toward feeling confident, connected, and able to enjoy intimacy again.

Frequently Asked Questions About Erectile Dysfunction

Q1. Can anxiety cause erectile dysfunction even if I'm attracted to my partner?

Yes. In fact, anxiety is one of the most common psychological causes of erectile dysfunction. You can feel completely attracted to your partner and still have difficulty getting or maintaining an erection. Performance anxiety activates your body's stress response, making it much harder for your body to respond naturally.

Q2. Why can I get an erection by myself but not with my partner?

This is more common than many men realize. If you're able to get an erection during masturbation or wake up with morning erections but struggle during partnered sex, it often points toward a psychological rather than physical cause. Performance anxiety, spectatoring, relationship stress, or fear of losing your erection can all interfere with arousal, even when attraction is strong.

Q3. Can stress really cause erectile dysfunction?

Absolutely. Chronic stress keeps your nervous system in a heightened state of alert, making it difficult for your body to relax into sexual arousal. Work stress, financial worries, parenting, poor sleep, and other everyday pressures can all contribute to erectile difficulties.

Q4. Can sex therapy help with erectile dysfunction?

Yes. Sex therapy can be highly effective for erectile dysfunction caused by anxiety, stress, relationship concerns, or other psychological factors. Rather than focusing only on erections, therapy helps reduce performance anxiety, improve communication, rebuild confidence, and break the cycle that often keeps erectile dysfunction going.

Q5. When should I see a doctor or sex therapist for erectile dysfunction?

If you're having difficulty getting or maintaining an erection more than about half the time you have sex, it's worth seeking help. A medical evaluation can rule out underlying health conditions such as cardiovascular disease, diabetes, or hormonal changes. If physical causes have been ruled out—or anxiety, stress, or relationship concerns seem to be playing a role—working with a certified sex therapist can help address the psychological side of erectile dysfunction..

About the Author

Dr. Nicole Irving, Ph.D., is the founder and owner of Restorative Solutions Therapy, a private practice specializing in sex therapy and couples therapy. She is an AASECT Certified Sex Therapist and holds a Ph.D. in Clinical Sexology from the Modern Sex Therapy Institutes, as well as a Master of Arts in Counseling for Mental Health and Wellness from New York University.

Dr. Nicole specializes in helping individuals and couples overcome sexual concerns, strengthen intimacy, and build healthier, more connected relationships. Her approach combines evidence-based treatment with warmth, practicality, and a deep understanding of the emotional and relational factors that shape our sexual well-being. Her approach blends evidence-based interventions with warmth, practicality, and a deep understanding of the emotional and relational factors that influence sexual well-being.

She is licensed to provide therapy in Oregon, Washington, Virginia, and Washington, DC, allowing her to work with clients across multiple regions through secure telehealth. Based in the Pacific Northwest, Nicole enjoys helping clients move beyond shame and self-criticism so they can build healthier relationships with themselves, their partners, and their sexuality.

If you're struggling with erectile dysfunction, performance anxiety, or another sexual concern, you don't have to navigate it alone. With the right support, these challenges are highly treatable, and meaningful change is possible.

Next
Next

I Cheated on My Partner. Can Individual Therapy Help?