Anxiety · 8 min read

By Kareeb Wellness · Published 27 September 2026

Anxiety and erectile dysfunction: is it psychological or physical?

How nerves interfere with erections, the patterns that point to mind or body — and why a check-up is worth it either way.

Losing an erection once, or struggling to get one on a night you were nervous, is extremely common. Almost every man experiences it at some point. But when it happens a few times, a worry can take root — what if it happens again? — and that worry can become the very thing that causes the next episode.

This is often called performance anxiety-related erectile dysfunction, or psychogenic ED. It's real, it's common, and it's very treatable. The tricky part is that erection problems can also be an early sign of physical health issues, and many men have a mix of both. This guide explains how anxiety affects erections, the clues that point towards a psychological or physical cause, and when you should see a doctor.

What erectile dysfunction actually means

Erectile dysfunction (ED) is the persistent difficulty getting or keeping an erection firm enough for satisfying sex. The key word is persistent. An occasional difficulty — after drinking, when exhausted, stressed, or with a new partner — is normal and isn't a diagnosis.

ED is common and becomes more so with age. Large studies such as the Massachusetts Male Aging Study found some degree of ED in around half of men aged 40 to 70. Among younger men, psychological factors — especially anxiety — account for a larger share of cases, though physical causes still need to be considered.

How anxiety affects erections

An erection depends on blood flowing into the penis, which is triggered by the parasympathetic nervous system — the "rest and digest" state. Anxiety activates the opposite system: the sympathetic, or "fight or flight", response. Stress hormones such as adrenaline tighten blood vessels and redirect blood towards muscles, which works against an erection.

In practical terms, your body can't easily be highly anxious and highly aroused at the same time. That's not a flaw; it's how the nervous system is designed.

Performance anxiety creates a loop:

  1. You have one difficult experience.
  2. Next time, you anticipate a problem and monitor yourself closely ("spectatoring").
  3. That monitoring triggers the stress response, which makes an erection harder to get or keep.
  4. The difficulty confirms the fear, and the next time you're even more anxious.

We go deeper into this cycle, and how to break it, in performance anxiety isn't a flaw.

Psychological or physical? The clues

Only a doctor can diagnose the cause, but certain patterns give useful clues. Doctors ask about these when taking a history.

Patterns that suggest a psychological cause:

Patterns that suggest a physical cause:

It's often both

Physical and psychological causes frequently overlap. A man with a mild physical cause may experience one difficulty, then develop anxiety that makes it much worse. That's why "it's all in your head" is rarely the full story — and why a check-up is sensible even if anxiety seems like the obvious explanation.

Why a check-up matters: ED and heart health

The blood vessels in the penis are smaller than those supplying the heart. So when vessels start to narrow due to atherosclerosis, erection problems can appear years before symptoms such as chest pain. Organisations including the American Urological Association and Mayo Clinic describe ED as a possible early warning sign of cardiovascular disease.

This doesn't mean ED is a sign of heart disease for most men — especially younger men with situational symptoms. It means ED is a good reason to get a basic health check, which might include blood pressure, blood sugar, cholesterol and, if indicated, hormone levels.

What helps anxiety-related ED

Take the pressure off. The most effective step is often to stop treating sex as a test. Many sex therapists use sensate focus, a structured programme where intercourse is temporarily off the table and couples practise touch purely for sensation. With nothing to fail at, erections often return on their own.

Calm the nervous system. Slow breathing with a longer exhale shifts the body towards the parasympathetic state that supports arousal. Practising it daily — not just in the moment — makes it more effective when you need it.

Challenge catastrophic thoughts. Cognitive behavioural therapy (CBT) techniques help you notice thoughts like "if I lose it, she'll leave" and test them against reality. Writing them down is often more powerful than thinking them through.

Talk to your partner. Secrecy fuels anxiety. A brief, honest conversation — "I've been nervous lately and it's affecting me; it's not about you" — usually relieves pressure on both sides.

Look after the basics. Regular exercise, good sleep, limiting alcohol, and not smoking all support erectile function. Pelvic floor exercises have also been shown in trials to help some men with ED.

Consider medication, with a doctor. PDE5 inhibitors such as sildenafil and tadalafil improve blood flow and can be helpful even when the cause is mainly psychological — a few successful experiences can break the anxiety loop. They require a medical assessment (in the UK, sildenafil is also available from pharmacies after a pharmacist consultation). They must never be combined with nitrate medicines used for chest pain, and should be avoided from unregulated online sellers, where counterfeit products are common.

Work with a professional. A sex therapist or psychologist experienced in sexual health can be extremely effective for psychogenic ED, especially where there's relationship strain, depression, or past trauma.

When to see a doctor

See a doctor if:

Seek urgent medical help if you ever have an erection that lasts longer than four hours (priapism), or chest pain, especially during sexual activity.

Doctors see ED every day. It's a routine conversation for them, and there's no need to feel embarrassed.

Educational content, not medical advice

This article is for general education and cannot diagnose the cause of your symptoms. Please speak to a qualified healthcare professional about your situation.

Break the anxiety loop, privately

Kareeb's performance anxiety track uses guided breathing, body awareness and sensate-focus-based exercises to take the pressure off. Anonymous, audio-guided, 5–10 minutes.

Try a free exercise — no signup →

→ Talk it through with the AI Coach, anonymously

The full 21-day performance anxiety reset is part of Kareeb Premium — $9.99/month, free tier available.

Frequently asked questions

Can anxiety cause erectile dysfunction?

Yes. Anxiety activates the fight-or-flight response, which works against the relaxed state needed for an erection. Worry about performance can create a loop where each difficulty increases anxiety next time.

How do I know if my ED is psychological?

Clues include sudden onset, problems only in certain situations, and still having normal morning or night-time erections. Gradual onset, problems in every situation and health risk factors point more towards a physical cause. Only a doctor can diagnose the cause, and many men have both.

Is erectile dysfunction a sign of heart disease?

It can be an early warning sign, because the penile blood vessels are small and may be affected by narrowing before the heart is. That is why a basic health check is recommended for persistent ED.

When should I see a doctor about erection problems?

If difficulties last more than a few weeks, came on gradually, started after a new medication, or you have risk factors such as diabetes, high blood pressure or smoking. Seek urgent help for an erection lasting more than four hours.

Sources
Feldman H.A. et al., "Impotence and its medical and psychosocial correlates: results of the Massachusetts Male Aging Study", Journal of Urology (1994) · Masters W.H. & Johnson V.E., Human Sexual Inadequacy (1970) · Dorey G. et al., BJU International (2005) — pelvic floor exercises for ED · American Urological Association · Mayo Clinic · NHS · Cleveland Clinic · International Society for Sexual Medicine (ISSM).