Erectile Dysfunction

Can Stress and Anxiety Cause Erectile Dysfunction?

9/25/2026
7 min read
Can Stress and Anxiety Cause Erectile Dysfunction?

Yes, stress and anxiety can contribute to erectile dysfunction (ED). When you are stressed or anxious, it can become harder to relax, focus on sexual stimulation and maintain the level of arousal needed for an erection.

For some men, psychological factors may be the main reason for erection difficulties. For others, stress or anxiety may worsen an existing physical problem. This is why recurring erectile difficulties should not automatically be labelled as either “physical” or “psychological.” Both factors can sometimes be involved.

How Does Stress Affect an Erection?

An erection is not controlled by the penis alone. The brain, nervous system, blood vessels, hormones and sexual stimulation all play important roles. When you are under significant stress, your attention may shift away from sexual arousal toward the source of the stress.

For example, you may be thinking about:

  • Work pressure
  • Financial problems
  • Family responsibilities
  • Relationship concerns
  • Health worries
  • Sexual performance

This can make it more difficult to become or remain sexually aroused.

How Can Anxiety Cause Erectile Difficulties?

Anxiety can interfere with sexual arousal and may make you overly focused on whether your erection is strong enough. You may start monitoring your erection during sex instead of focusing on intimacy.

That can create a cycle: Anxiety → reduced sexual focus → erection becomes weaker → fear of losing the erection → more anxiety.

This is sometimes referred to as performance anxiety when the worry is specifically related to sexual performance.

What Is Performance Anxiety?

Performance anxiety is worry or fear about how you will perform sexually. You may be concerned about:

  • Getting an erection
  • Maintaining an erection
  • Satisfying your partner
  • Reaching orgasm
  • Lasting long enough
  • Being judged by your partner
  • Previous sexual experiences

These thoughts can increase pressure during intimacy and interfere with normal sexual arousal.

Can One Bad Sexual Experience Cause Future ED?

It can sometimes contribute to a cycle of anxiety. For example, suppose you lose your erection during sex once. During the next sexual encounter, you may worry: “What if it happens again?”

That thought can increase anxiety and make it harder to stay relaxed. If the experience repeats, your confidence may decrease further. The problem can therefore continue even when the original trigger was temporary.

Signs That Stress or Anxiety May Be Contributing to ED

Psychological factors may be worth considering when:

  • Erection problems occur mainly in certain situations
  • You have normal erections at other times
  • The problem started during a stressful period
  • You lose your erection when you start thinking about performance
  • You become anxious before sex
  • The problem is worse with a partner but not always when alone
  • You notice that erection difficulties vary depending on your mood

These signs do not prove that anxiety is the cause. They simply provide useful information for a professional evaluation.

Yes. Some men may experience spontaneous or morning erections but have difficulty getting or maintaining an erection during partnered sexual activity. This can occur when psychological or situational factors influence sexual arousal.

However, the presence of morning erections does not by itself diagnose psychological ED or rule out physical causes. A complete assessment is more useful than relying on one symptom.

Can Relationship Stress Affect Erections?

Yes. Relationship difficulties can affect sexual arousal and emotional comfort. Arguments, unresolved conflicts, lack of communication, insecurity or fear of disappointing a partner may contribute to sexual anxiety.

This does not mean that relationship problems are always responsible for ED. Physical and relationship factors can occur together.

How Does Overthinking Affect Sexual Performance?

Overthinking can shift your attention away from sexual stimulation. Instead of focusing on intimacy, you may start checking:

  • “Am I hard enough?”
  • “Will I lose my erection?”
  • “Is my partner satisfied?”
  • “How long will I last?”
  • “What if I fail again?”

This type of self-monitoring can increase pressure and make sexual activity feel like a test rather than an intimate experience.

Can Stress Cause Temporary Erectile Dysfunction?

Yes. A period of intense stress may temporarily affect sexual function. For example, you may notice erection difficulties during:

  • Work deadlines
  • Major personal problems
  • Financial stress
  • Lack of sleep
  • Emotional distress
  • Relationship conflict

If erections return to your usual pattern after the stressful period passes, the issue may have been situational. If difficulties continue or become frequent, professional evaluation may be appropriate.

Can Chronic Stress Cause Long-Term ED?

Long-term stress can affect overall physical and psychological health. Persistent stress may contribute to poor sleep, anxiety, unhealthy habits and other factors that can negatively influence sexual function.

However, chronic erection problems should not automatically be attributed to stress alone. A healthcare professional can help determine whether physical health conditions, medications, lifestyle factors or psychological issues are contributing.

Can Anxiety Cause You to Lose an Erection During Sex?

Yes. Anxiety can make it difficult to maintain sexual arousal and may contribute to losing an erection during sex. The more worried you become about maintaining the erection, the more difficult it may become to stay relaxed.

If this happens repeatedly, addressing the anxiety as well as the erection problem may be useful.

How Can I Break the Performance Anxiety Cycle?

There is no single approach that works for everyone, but several strategies may help reduce pressure around sex.

Focus on Intimacy Rather Than Performance

  • Try not to treat an erection as a measure of sexual success.
  • Sexual intimacy involves more than maintaining an erection throughout intercourse.
  • Reducing the pressure to “perform” may help some men feel more relaxed.

Communicate With Your Partner

  • Open communication can reduce fear and misunderstanding.
  • Letting your partner know that stress or anxiety may be affecting your sexual response can sometimes reduce the pressure to perform.

Improve Sleep and Daily Routine

  • Poor sleep and exhaustion can increase stress and affect sexual wellbeing.
  • A consistent sleep routine, regular physical activity and healthy daily habits can support overall wellbeing.

Manage Sources of Stress

  • If work, financial concerns or relationship problems are contributing to stress, addressing those underlying issues is important.
  • Relaxation techniques, exercise, counselling or other appropriate forms of support may help depending on the situation.

Consider Professional Support

If anxiety around sex is persistent, a qualified healthcare professional or mental-health professional can help identify contributing factors and discuss appropriate support.

Psychological counselling or therapy can be useful when anxiety, stress, depression or relationship factors contribute to erectile difficulties. The specific type of support depends on the underlying issue.

For example, someone experiencing significant performance anxiety may benefit from professional help focused on anxiety and sexual concerns.

Should I Take ED Medicine If Stress Is Causing My Problem?

Do not assume that medication is automatically the right answer. If stress or anxiety is contributing to ED, addressing the psychological factor may be an important part of managing the problem.

Some men may also require treatment for physical causes. A healthcare professional can assess your symptoms and medical history before recommending whether medication or another approach is appropriate.

What If I Have Both Physical ED and Anxiety?

This is possible. For example, a physical condition may initially cause difficulty getting an erection. After experiencing the problem, you may develop anxiety about sexual performance. The anxiety can then make the original problem worse. In these situations, addressing both the physical and psychological factors may be important.

When Should You See a Doctor?

Consider professional evaluation if:

  • Erection problems happen repeatedly
  • Anxiety about sex is becoming intense
  • You frequently lose your erection during sex
  • The problem is affecting your relationship
  • You have diabetes, high blood pressure or cardiovascular risk factors
  • You take medicines that may affect sexual function
  • Your erection difficulties occur in multiple situations
  • The problem continues despite reducing stress

A healthcare professional can help determine whether physical, psychological or combined factors may be involved.

Final Takeaway

Stress and anxiety can affect sexual arousal and may contribute to difficulty getting or maintaining an erection. Performance anxiety can also create a cycle in which worrying about an erection makes it harder to maintain one.

At the same time, recurring ED should not automatically be blamed on stress. Physical health conditions, medicines, lifestyle factors and psychological issues can occur together.

If erection difficulties are persistent or causing distress, a confidential consultation with a qualified healthcare professional can help identify the possible contributing factors and determine the appropriate next step.

SexVeda provides confidential online sexual-health consultations for men seeking professional guidance for erectile dysfunction, performance anxiety and related sexual health concerns.

Can stress cause erectile dysfunction?

Yes. Stress can interfere with sexual arousal and may contribute to difficulty getting or maintaining an erection.

Can anxiety cause ED even if I am physically healthy?

Yes. Anxiety and performance pressure can interfere with sexual arousal even when there is no obvious physical health problem.

Can overthinking cause you to lose an erection?

Overthinking can increase anxiety and shift your attention away from sexual stimulation, which may make maintaining an erection more difficult.

Why do I lose my erection when I start thinking about sex?

If thoughts about sexual performance trigger anxiety, the resulting stress may interfere with arousal. This can create a cycle of worry and erection loss.

Can performance anxiety be treated?

Yes. When performance anxiety contributes to sexual difficulties, professional counselling or therapy may be considered. Treatment depends on the individual situation.

Can stress-related ED go away?

It can improve when the contributing stress or anxiety is addressed, but persistent symptoms should still be evaluated because physical and psychological factors can coexist.

Is ED always caused by stress or anxiety in young men?

No. Young men can experience ED for psychological, lifestyle, medication-related or physical reasons. Age alone does not determine the cause.

Occasional nervousness is common and does not necessarily indicate ED. If nervousness repeatedly interferes with sexual activity, professional guidance may help.