Free express shipping over $999 · Verified pharmaceuticals · Discreet packaging worldwide
Home › Health Library › Erectile Dysfunction › Erectile Dysfunction in Young Men: Anxiety, Lifestyle or Something Physical?
Erectile Dysfunction Medically reviewed 5 min read

Erectile Dysfunction in Young Men: Anxiety, Lifestyle or Something Physical?

Erection problems are not just an older man's issue. How common ED is under 40, the clues that point to anxiety or to a physical cause, lifestyle factors, the dangerous combination to avoid, and where to get help.

DK
David Kelly B.Pharm
Updated Oct 16, 2026
Erectile Dysfunction in Young Men: Anxiety, Lifestyle or Something Physical?
For information only. This article does not replace medical advice. Always consult a licensed healthcare professional before starting, changing, or stopping any medication.

Erection problems are often thought of as something that happens to older men. They are not. In one study of men seeking help for new erection problems, one in four was under 401. If it is happening to you, it is common, it is treatable, and it is worth understanding the cause.

Occasional problems are normal

Most men sometimes fail to get or keep an erection. The NHS says this is usually caused by stress, tiredness or drinking too much alcohol, and is nothing to worry about2. It becomes worth looking into when it happens often.

Is it anxiety or something physical?

In younger men, psychological causes are common, but physical causes still need to be ruled out. Some clues help, though they are not a diagnosis:

  • Morning erections. Depending on the cause, you may still get erections at other times, such as when you wake up2. Normal erections at night or on waking suggest the blood vessels and nerves are working, which points more towards a psychological cause3.
  • The situation. European guidelines describe “situational” ED, linked to a particular partner, worry about performance, or distress3. If erections are fine when you are alone but not with a partner, anxiety is a likely part of the picture.
  • A gradual change in every situation, including on waking, makes a physical cause more worth checking.

A doctor will usually ask about your erections, sex drive and general health, and check your blood pressure, blood sugar, cholesterol and an early-morning testosterone level3.

Performance anxiety and the stress cycle

Anxiety, depression, stress, feeling isolated and low self-esteem can all cause ED or make it worse4. A single bad experience can start a cycle: you worry it will happen again, the worry gets in the way, and it does happen again.

Breaking that cycle is very possible. A counsellor or sex therapist can help lower anxiety and stress about sex, and may suggest your partner comes to some sessions5. European guidelines recommend cognitive behavioural therapy, including the partner where it helps, alongside medical treatment3.

Lifestyle factors

Several everyday habits are linked to ED43:

  • Alcohol: heavy drinking, both on a night out and over time.
  • Smoking.
  • Recreational drugs, including cannabis, cocaine, heroin and synthetic drugs.
  • Anabolic steroids, used for bodybuilding.
  • Too little physical activity, and being overweight.

Changing these can help: doctors may suggest stopping smoking, cutting down on alcohol, stopping recreational drugs, being more active and keeping to a healthy weight5.

Physical causes not to miss

Even in young men, ED can be the first sign of a health problem4:

  • Diabetes. Erection problems can be an early sign. See our guide to diabetes and erectile dysfunction.
  • High blood pressure or cholesterol. In one study, younger men with ED had a higher estimated risk of future heart disease, so European guidelines treat ED as a possible early warning sign3.
  • Hormone problems, such as low testosterone or thyroid problems.
  • A curved penis (Peyronie’s disease).
  • Medicines, especially antidepressants. See our guide to medicines that can cause ED.

Do ED pills help if the cause is anxiety?

They can. Sildenafil (Viagra) was tested in men with physical, psychological and mixed causes of ED, and the label reports that it worked regardless of the cause6. Guidelines suggest combining talking therapy with medical treatment, so a tablet works best alongside tackling the anxiety itself, not instead of it3.

ED tablets are prescription medicines (in the UK, sildenafil is also available from a pharmacy after a consultation with a pharmacist)7. Get a check-up rather than borrowing a friend’s tablets, so other causes are not missed.

A dangerous combination: poppers and ED pills

Never take an ED tablet with poppers (amyl nitrite and similar). European guidelines list recreational nitrites as an absolute no with ED tablets, because together they can make blood pressure fall dangerously and unpredictably3. The same applies to nitrate medicines for chest pain.

Getting help

  • Your GP or a sexual health clinic is a good first step. They see erection problems every day.
  • A counsellor or sex therapist if anxiety, stress or relationship issues are part of it5.
  • Do not stop any prescribed medicine on your own, even if you think it is the cause; ask your doctor about alternatives5.

For an overview of treatments, see what is erectile dysfunction? If you also have premature ejaculation, see our guide to premature ejaculation treatment. Our ED medicines page lists the treatments we supply.

ED tablets we supply include Viagra 50 mg, Cialis 10 mg and generic sildenafil such as Suhagra 100 mg. All need a prescription, and a check-up first is a good idea.

Frequently asked questions

Is ED normal at 25?

Occasional problems are normal at any age, often due to stress, tiredness or alcohol. Erection problems that happen often are not something you just have to live with. They are common in young men and treatable, but worth a check-up.

Can anxiety cause ED?

Yes. Anxiety, stress and depression are common causes, and worry about performance can create a cycle. Counselling or therapy, sometimes with an ED tablet, can help break it.

Can young men take Viagra?

Adult men of any age can be prescribed ED tablets if they are suitable. It is still worth seeing a doctor first, because ED in a young man can be the first sign of another health problem.

How do I know if my ED is psychological?

Normal erections when you wake up or when you are alone, with problems only in certain situations, point towards a psychological cause. A doctor can check for physical causes to be sure.

Can cannabis or steroids cause ED?

Yes. European guidelines list cannabis, other recreational drugs, anabolic steroids and heavy drinking among the causes of ED.

Sources & references

  1. European Association of Urology. EAU Guidelines on Sexual and Reproductive Health: Epidemiology and prevalence.
  2. NHS. Erectile dysfunction (impotence). Page last reviewed 28 July 2023.
  3. European Association of Urology. EAU Guidelines on Sexual and Reproductive Health: Management of erectile dysfunction.
  4. National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms and Causes of Erectile Dysfunction. Last reviewed October 2024.
  5. National Institute of Diabetes and Digestive and Kidney Diseases. Treatment for Erectile Dysfunction. Last reviewed October 2024.
  6. US National Library of Medicine, DailyMed. Viagra (sildenafil) prescribing information.
  7. NHS. Sildenafil (Viagra). Page last reviewed 29 July 2026.

This content is for informational purposes only and is not medical advice. If erection problems are affecting you, talk to a doctor or sexual health clinic. Used as prescribed by a licensed medical professional.

DK
Written by
David Kelly

David Kelly is a licensed clinical pharmacist with 13 years of experience. He holds a B.Pharm from Delhi University. At OnlineMeds, he reviews medicine and health content to help ensure it is accurate, evidence-based, and easy to understand.

SR
Medically reviewed by
Shah Sam Riddhi

Shah Sam Riddhi is a licensed clinical pharmacist with 9 years of experience. She holds a B.Pharm and M.Pharm from Gujarat University. At OnlineMeds, she reviews medicine and health content to help ensure it is accurate, evidence-based, and easy to understand.

Shopping cart
Shop
Sidebar
0 items Cart
My account