• Customer Service Team available now: Mon-Fri 8:00-17:00
Home / Men's Health / Anxiety and erectile dysfunction: Why nerves affect erections & what helps
Performance anxiety is a common and well-described cause of erection problems, especially in younger men.
Short answer

Yes, anxiety can cause erectile dysfunction (ED), and psychological factors are thought to play a large part in ED in younger men.

Worry switches on the body's stress response, which works against the relaxed blood flow an erection needs.

There are well-studied ways to help: Understanding what is happening, talking therapy (CBT in particular), small lifestyle changes and, for some men, prescription treatment.

Guidelines recommend combining therapy with medication where suitable.

A basic health check is still worth having first, because physical causes are common and can exist alongside anxiety.

Before you read on

It often starts with a single night.

Maybe it was a new partner, a few drinks too many, or a week of pressure at work. The erection did not go to plan, and it stuck in your mind. The next time, the worry arrived before anything else did.

Performance anxiety is a common issue in men with ED, and it is well described in the medical literature. If this sounds familiar, you are in good company, and there are clear routes forward.

This article covers what is happening in your body, how to tell anxiety-related ED from a physical cause, and what helps.

Before you begin: A little bit about OnlineClinic

OnlineClinic has been operating since 2011 and has treated more than 2.1 million patients.

The pharmacy is registered with the General Pharmaceutical Council (GPhC), our prescribers are registered with the General Medical Council (GMC), and the service is regulated by the Care Quality Commission (CQC).

As of October 2026, on Trustpilot, the service rating is 4.6 out of 5 based on 7,073 reviews.

Can anxiety really cause erectile dysfunction

It can. Anxiety is a real, physical cause of erection problems, not "just in your head".

An erection needs two things at once.

You have to feel aroused, and your body has to be relaxed enough to let blood flow into the penis.

At rest, the muscle in the walls of the penis's blood vessels stays contracted, and one of the main chemicals holding it tight is noradrenaline (similar to adrenaline).

During arousal, other signals override this: The muscle relaxes, and blood flows in and is held there.

Anxiety switches on the body's "fight or flight" response, which releases stress chemicals, including noradrenaline.

A review in Nature Reviews Disease Primers calls noradrenaline the primary anti-erectile chemical, and describes psychogenic ED as "adrenaline-mediated" for this reason.

In plain terms, stress can push the body towards the state that works against an erection.

The same review is candid that this type of ED "has not been well studied", so the exact mechanism in any one man is not fully mapped out.

Did you know?

The word "psychogenic" simply means the trigger starts in the mind. The erection problem itself is still a real physical response.

Why does a one-off night turn into a pattern

Erection problems affect a considerable proportion of men at least occasionally, according to the same review. A one-off night is not a diagnosis.

The trouble starts when that night becomes something you brace for. Men and clinicians describe a similar loop:

  • A first "off" night, often linked to nerves, alcohol, poor sleep or stress
  • Worry before the next time, a quiet "what if it happens again?"
  • Watching yourself during sex, checking how firm you are instead of enjoying the moment
  • More stress chemicals, which make an erection harder to get or keep
  • The worry feels confirmed, so it is stronger the next time
  • Avoiding intimacy, which can strain a relationship and dent confidence

The Nature Reviews primer describes this pattern directly: Anxiety increases a man's focus on the firmness of his erection, leading to self-consciousness and distraction, and men who lose an erection this way tend to develop greater fears before the next encounter.

What is "spectatoring"?

The third step has a name.

Sex researchers Masters and Johnson described a "spectator role" in their 1970 book Human Sexual Inadequacy, and the term spectatoring has stuck.

It means part of your mind steps outside the moment and starts watching and judging your performance, like a spectator in the stands.

Arousal needs your attention, and spectatoring takes it away.

A survey study in the Archives of Sexual Behavior linked worries about penis appearance to sexual difficulties through spectatoring.

The authors also tested whether anxious and easily distracted personality traits strengthen those links, and their hypotheses were partly supported.

Here’s the good part

Because the loop runs on worry and attention, it can be tackled from more than one direction. Understanding it, working on the worry, moving your focus back to sensation and, for some men, using medication alongside therapy can each help.

More common than most men expect. ED is often thought of as an age-related problem, but younger men are affected too.

The studies below looked at different things in different groups of men, so read each row on its own rather than comparing across rows.

Study Who was studied What it found
Capogrosso et al., 2013 439 men with newly developed ED at one Italian clinic 114 (26%) were aged 40 or under. Nearly half of the younger men (48.8%) had severe ED, similar to older men
Papagiannopoulos et al., 2015 Review of studies of young men with ED Psychogenic ED was more common in younger men, but at least 15 to 20% had a physical cause (individual studies ranged from 15% to 72%)
Velurajah et al., 2021 12 studies of men with anxiety disorders such as panic disorder, OCD and PTSD Median ED prevalence of 20% (about 1 in 5), ranging from 0 to 85% across studies.
Morcos et al., 2026 535 men aged 18 to 40 with ED at one hospital in Ottawa 15.1% had a mental health condition. Of those, fewer than 3 in 10 had been referred to psychiatry and around 1 in 7 to psychology

Two of these are single-centre studies, so they show what one clinic or hospital saw rather than the whole population.

The balance between psychological and physical causes is debated, and it changes with the age group and the study.

The Nature Reviews primer says current evidence suggests more than 80% of ED overall has an organic (physical) cause, yet it also says most cases in younger men are likely to have a psychogenic basis.

That is why a check-up matters even when nerves look like the obvious explanation.

How can I tell if my ED is anxiety or a physical problem

No single test says "this is anxiety". Most cases have more than one cause, so guidelines from the European Association of Urology (EAU) use the terms "primary psychogenic" and "primary organic" rather than a strict either/or. The Nature Reviews primer lists some clues doctors use.

Signs that point more towards anxiety or another psychological cause:

  • It started suddenly, often around a major life event or a period of stress
  • It comes and goes, or happens in some situations but not others
  • It happens with a partner but not on your own
  • You still get good-quality morning, night-time or self-stimulated erections
  • The erection starts well but fades when nerves kick in
  • It began alongside low mood, relationship changes or earlier psychological difficulties

Signs that point more towards a physical cause:

  • It came on gradually and has slowly gotten worse
  • It happens every time, including on your own
  • Morning erections have become rare or stopped
  • You have a health condition such as diabetes, high blood pressure, or heart disease
  • You smoke, drink heavily, or use recreational drugs
  • It began after surgery, an injury, or a new medicine

These are clues, not proof. Many men have a mix of both.

Quick tip

Spend a couple of weeks noticing three things: Whether you wake up with erections, whether it is different on your own versus with a partner, and when it started. It gives a prescriber a much clearer picture, and many men find the pattern reassuring in itself.

Do I still need a health check if I think it's nerves

Yes.

British Society for Sexual Medicine (BSSM) guidance is clear that all men with ED should have a history, examination, and investigations, even when a psychological cause is suspected.

Its guidelines say fasting glucose, a lipid profile, and a morning testosterone level should be considered mandatory in newly presenting patients.

EAU guidance adds a blood pressure check, and BSSM's practical guide adds a review of your current medicines.

The reason is simple.

ED can be an early sign of other health problems.

The Nature Reviews primer describes ED as a harbinger of coronary heart disease, and BSSM guidance notes it can appear around 3 to 5 years before a cardiovascular event.

Diabetes, heart disease and low testosterone are all far easier to manage when caught early.

A prescriber may want to check:

  • Heart and circulation health, including blood pressure and cholesterol
  • Blood sugar, to look for diabetes
  • Testosterone, usually with an early-morning blood test (see our guide to testosterone and ED)
  • Your current medicines, because some antidepressants and blood pressure tablets can affect erections
  • Mood and stress, including signs of depression or ongoing anxiety

See a doctor first

See your GP in person, rather than starting treatment online, if you:

  • Have chest pain or breathlessness, especially during activity or sex
  • Have had a heart attack or stroke recently
  • Take a nitrate medicine (such as GTN spray or isosorbide) or nicorandil (another angina medicine), or use poppers
  • Have symptoms of diabetes, such as extreme thirst, passing lots of urine, or unexplained weight loss
  • Notice pain, a lump, or a curve in your penis
  • Have never been able to get or keep an erection
  • Feel very low or hopeless, or have thoughts of harming yourself (your GP can help, and Samaritans are free to call on 116 123, day or night)

Not sure whether it is worth seeing a doctor? Our guide to when to see a doctor about ED walks through it.

Therapies that help with performance anxiety

For many men, the longest-lasting change comes from working on the worry itself.

CBT and sex therapy

Cognitive behavioural therapy (CBT) helps you spot anxious thoughts ("it's going to happen again") and challenge them, with practical steps to reduce pressure during intimacy.

EAU guidelines carry a strong recommendation to direct men to CBT, including the partner where possible, combined with medical treatment to maximise outcomes.

The research behind combining approaches is encouraging but still limited:

  • A 2014 meta-analysis of eight studies (562 men) found combined psychological and PDE5 inhibitor treatment more effective than PDE5 inhibitors alone or psychological treatment alone. The authors described the individual studies as inconclusive and called for stronger trials.
  • A 15-to-18-month follow-up of 20 Pakistani men found that those given CBT plus a PDE5 inhibitor kept improving, while men on medication alone showed no further improvement or some decline. It was a small study, so treat it as a promising sign, not a promise.

Psychosexual therapy is a specialist form of talking therapy. Therapists often use sensate focus, an approach that goes back to Masters and Johnson: Couples take intercourse off the table for a while and rediscover touch without any performance goal.

Mindfulness

Mindfulness trains you to bring your attention back to what you can feel, rather than what you are worrying about, which is a natural fit for spectatoring.

The evidence is early.

A small Canadian pilot of a four-week group programme for men with situational ED found improvements in self-reported erectile function and satisfaction.

Think of mindfulness as a useful tool alongside other support, not a stand-alone fix.

Finding a therapist in the UK

  • Your GP, who can talk through options
  • Sex therapists listed on the public register of the College of Sexual and Relationship Therapists (COSRT), or registered with the Institute of Psychosexual Medicine
  • Counsellors and psychotherapists registered with a body such as the British Association for Counselling and Psychotherapy (BACP)
  • Relate, which offers sex therapy for individuals and couples

Here’s the good part

You do not need a partner to benefit, and you do not need a "problem" in your relationship. Many men see a therapist on their own simply to feel calmer and more confident.

What should I do next

There is no rush and no single right path. Most men find it helps to take one small step:

  • Notice your pattern for a couple of weeks: morning erections, solo versus partnered, and when it started
  • Have a basic health check with your GP, especially if you have not had blood pressure, blood sugar or cholesterol checked recently
  • Look into talking support, such as a COSRT-registered sex therapist, a BACP-registered counsellor or Relate
  • Consider treatment if you would like to, once you and a prescriber have talked it through

Many men find that once they understand what is happening and the pressure comes off, their confidence starts to return. The research on combining therapy with medication is encouraging, and there are options if one approach does not suit you.

Can ED tablets help if the cause is anxiety

For many men, they can.

It may seem odd to use a medicine for a problem that starts with worry, but the Nature Reviews primer notes that men with psychological stressors such as performance anxiety may benefit from "confidence restoration" with erection medicines and/or counselling.

PDE5 inhibitors help blood flow into the penis when you are sexually aroused.

They do not cause an erection on their own, and they do not increase desire.

A couple of good experiences can quieten the "what if" voice. Guidelines suggest pairing medication with therapy rather than relying on tablets alone.

Four PDE5 inhibitors are approved for ED in Europe:

A 2009 meta-analysis of 130 randomised trials, mostly lasting 12 weeks or less, found PDE5 inhibitors led to successful intercourse attempts about 69% of the time versus 35% with placebo (Tsertsvadze et al., Annals of Internal Medicine).

Is daily low-dose tadalafil better for anxious men

Planning when to take a tablet can become part of the pressure. That is why some men prefer daily tadalafil.

Tadalafil is usually taken as needed, at least 30 minutes before sex (10 mg to start, with 20 mg possible, up to once a day).

The UK prescribing information (SmPC) also says a once-daily regimen may be considered for men who expect to have sex at least twice a week, based on patient choice and prescriber judgement: 5 mg once a day, lowered to 2.5 mg if needed.

EAU guidance notes there is no clinically significant difference in effectiveness between daily and on-demand tadalafil, and that dosing and sex no longer need to be linked.

The SmPC also says the need for the daily regimen should be reassessed periodically.

Quick tip

EAU guidance says incorrect use or a lack of information is a main reason men do not respond to PDE5 inhibitors.

Sexual stimulation is still needed, timing matters, and a high-fat meal can delay absorption of sildenafil and vardenafil (EAU also lists avanafil, while tadalafil is less affected).

Your prescriber can talk you through it.

Who shouldn't take ED tablets

Most men can take them safely, but not everyone. That is why a proper consultation matters.

Never combine ED tablets with nitrates or poppers

PDE5 inhibitors must not be taken with nitrate medicines (such as GTN spray or isosorbide), nicorandil (another angina medicine), or "poppers" (amyl nitrite).

The combination can cause a dangerous drop in blood pressure.

If you have taken an ED tablet and need emergency care, tell the doctor or paramedic.

According to the UK prescribing information for sildenafil (Viagra), these medicines are also not suitable if you:

  • have been told sex is inadvisable because of a heart condition, such as unstable angina or severe heart failure
  • have had a stroke or heart attack recently
  • have very low blood pressure (below 90/50 mmHg)
  • have severe liver problems
  • have a known inherited eye condition such as retinitis pigmentosa (which gradually affects eyesight), or have had NAION (a sudden loss of vision in one eye, caused by reduced blood flow to the optic nerve)
  • take riociguat (a lung blood pressure medicine)

Other medicines can interact with PDE5 inhibitors too, and tadalafil has its own list, so your prescriber will go through everything you take. This is not a complete list.

When medication isn't the right first step

For some men, a tablet is not the best place to begin. That can be because:

  • the problem happened once or twice around a stressful time, and reassurance and time may be enough
  • low mood, ongoing anxiety or a relationship issue needs support first
  • a medicine you already take may be the cause and needs reviewing with your GP
  • there are health concerns that need checking in person

If a prescriber does not think treatment is right for you, they say so and explain why. You are not charged for treatment that is not issued.

Lifestyle changes will not fix everything. EAU guidance recommends starting lifestyle changes and risk factor modification before or alongside ED treatment, and rates the evidence for exercise and weight loss as good.

  • Alcohol: A drink can feel like it takes the edge off nerves, and the Nature Reviews primer notes mild drinking might reduce anxiety. Heavy or long-term drinking, though, is a recognised cause of ED. UK Chief Medical Officers advise keeping to no more than 14 units a week.
  • Smoking: The risk of ED rises with the amount and years smoked, and one study suggested stopping can improve erectile function.
  • Exercise: Regular aerobic activity is linked to better erectile function in EAU guidance.
  • Sleep: Sleep disorders are listed among ED risk factors in EAU guidance.
  • Weight: Losing weight, where it applies to you, is associated with improved erections and general health.

Does porn cause erection problems

This is one of the most searched questions about ED in younger men, and the research is mixed.

A 2021 survey of 942 men aged 18 to 44 found no link between how much porn men used and ED. There were small to moderate links between ED and men feeling their porn use was out of control (Whelan and Brown, Journal of Sexual Medicine).

It was a self-selected online sample, so it cannot prove cause and effect.

A 2019 review of observational studies found little if any evidence that porn use induces ED, while noting that better long-term studies are needed.

If you feel it is affecting your sex life, cutting back for a while and talking it through with a therapist are both reasonable steps. There is no need for shame either way.

How do I talk to my partner about anxiety and ED

For many men, the hardest part is not the erection problem.

It is the silence around it.

Partners often assume it is about them ("Am I not attractive any more?") while the man is quietly panicking about performance.

The Nature Reviews primer notes that men with ED and depression are less likely to discuss it with their partners.

A few gentle ways in:

  • Pick a calm moment outside the bedroom, not straight after a difficult night
  • Keep it simple, for example: "I've been feeling anxious about sex lately, and it's affecting things. It isn't about you."
  • Take intercourse off the table for a while and focus on other kinds of closeness
  • Invite them in: EAU guidance recommends including the partner in CBT

Our guide on how to talk to your partner about ED goes further.

How do I get ED treatment online safely

Embarrassment is one of the main reasons men put off getting help, and criminals exploit it.

In February 2026, the MHRA reported that nearly 20 million doses of illegal ED medicines were seized in the UK between 2021 and 2025, with a peak of 5.5 million in 2024.

The MHRA warned that illegal products may contain no active ingredient, the wrong dose, hidden drugs or toxic ingredients, and urged men to use registered pharmacies and seek medical advice.

All pharmacies in Great Britain, including those online, must be registered with the General Pharmaceutical Council (GPhC).

You can check a pharmacy on the GPhC register.

Since February 2025, GPhC guidance for online pharmacies also says there should always be a way for you and the prescriber to talk to each other in both directions, and that for higher-risk medicines the prescriber must verify what you tell them rather than relying on a questionnaire alone.

What happens when you order from OnlineClinic

Our process is straightforward. From start to finish, this is what happens when you order with us:

  1. Fill in the medical questionnaire. It takes 5 to 10 minutes. The questions are thorough on purpose
  2. A GMC-registered prescriber reviews your answers. If they need more details, they will message you through your account
  3. If treatment is approved, it is dispensed and dispatched. Next-day delivery, with the full patient information leaflet included
  4. If it is not approved, the prescriber explains why. You are not charged for treatment that is not issued

Every price includes the prescription, the consultation, the packaging, and delivery. There are no hidden fees.

Operating since 2011

More than 2.1M patients treated

CQC · GPhC · GMC regulated

Trustpilot 4.6 / 5 from 7,073+ reviews

Frequently asked questions

Is anxiety-related ED all in my head?

How do I know if my ED is psychological or physical?

Is it normal to lose an erection because of nerves?

Will ED tablets work if my problem is anxiety?

Do I need to stay on ED tablets long term?

How long does anxiety-related ED last?

Who is daily tadalafil suitable for?

Can I take ED tablets with antidepressants or anxiety medication?

Is OnlineClinic safe to use?

Was this article helpful?

Trial evidence

  • Yafi FA, Jenkins L, Albersen M, et al. (Hellstrom WJG, senior author). Erectile dysfunction. Nature Reviews Disease Primers, 2016. Read the review
  • Wyatt RB, de Jong DC. Anxiousness and distractibility strengthen mediated associations between men's penis appearance concerns, spectatoring, and sexual difficulties. Archives of Sexual Behavior, 2020. Read the study
  • Capogrosso P et al. One patient out of four with newly diagnosed erectile dysfunction is a young man. Journal of Sexual Medicine, 2013. Read the study
  • Papagiannopoulos D, Khare N, Nehra A. Evaluation of young men with organic erectile dysfunction. Asian Journal of Andrology, 2015. Read the study
  • Velurajah R et al. Erectile dysfunction in patients with anxiety disorders: a systematic review. International Journal of Impotence Research, 2022 (online 2021). Read the study
  • Morcos M et al. Evaluating mental health risk and psychiatric care access in 18-40 year old men with erectile dysfunction. Journal of Sexual Medicine, 2026. Read the study
  • Tsertsvadze A et al. Oral phosphodiesterase-5 inhibitors and hormonal treatments for erectile dysfunction: a systematic review and meta-analysis. Annals of Internal Medicine, 2009. Read the study
  • Schmidt HM et al. Combination of psychological intervention and phosphodiesterase-5 inhibitors for erectile dysfunction: a narrative review and meta-analysis. Journal of Sexual Medicine, 2014. Read the study
  • Khan S, Amjad A, Rowland D. Potential for long-term benefit of cognitive behavioral therapy as an adjunct treatment for men with erectile dysfunction. Journal of Sexual Medicine, 2019. Read the study
  • Bossio JA et al. Mindfulness-based group therapy for men with situational erectile dysfunction: a mixed-methods feasibility analysis and pilot study. Journal of Sexual Medicine, 2018. Read the study
  • Whelan G, Brown J. Pornography addiction: an exploration of the association between use, perceived addiction, erectile dysfunction, premature (early) ejaculation, and sexual satisfaction in males aged 18-44 years. Journal of Sexual Medicine, 2021. Read the study
  • Dwulit AD, Rzymski P. The potential associations of pornography use with sexual dysfunctions: an integrative literature review of observational studies. Journal of Clinical Medicine, 2019. Read the study

Product information and regulation

Disclaimer

ED medicines are prescription-only. Decisions about whether any treatment is suitable for you are made by a GMC-registered prescriber based on your individual medical history. The information here is for general guidance and is not a substitute for professional medical advice. Our ED service is for men aged 18 and over.

Further reading

Fill out a short
medical form
Select
medication
Doctor issues
prescription
Medication sent
from pharmacy

Not sure which treatment is right for you?

No obligation · Reviewed by GMC-registered prescribers · CQC regulated

Check your eligibility Takes 2 minutes