Men's Health · 10 min read · November 2026

Erectile Dysfunction: Common Causes and When to See a Doctor

Erection problems are very common, especially after 40, and usually treatable. Here's what causes them, why they can be an early warning about your heart, and how to get help without the embarrassment.

By OptiMen Health Research Desk, Evidence Review Team

Where you live matters

In the US

  • Sildenafil (Viagra) and tadalafil need a prescription in the US. Your doctor or a licensed telehealth service can prescribe them.
  • The FDA warns that many "male enhancement" supplements contain hidden prescription drugs. Avoid them.
  • If you drink, keep to 2 drinks a day or fewer.

In the UK

  • A pharmacist can supply sildenafil after a short private chat, without a prescription, or a GP can prescribe it.
  • The MHRA warns that some "herbal" erection products contain hidden medicines.
  • Keep alcohol to 14 units a week or less.

You're Not Alone

Erectile dysfunction (ED) means regularly struggling to get or keep an erection firm enough for sex. It's very common, and the chance of it rises with age, especially after 40.

Most men find it hard to talk about, so they put off getting help. That's a shame, because ED is usually treatable, and getting it checked can protect more than your sex life.

Occasional Problems Are Normal

Almost every man has times when things don't work as expected. One-off problems are usually down to stress, tiredness, anxiety or too much to drink, and aren't a sign of anything wrong.

It's when problems keep happening that it's worth looking for a cause.

Physical Causes

An erection depends on healthy blood flow, so anything that affects your blood vessels can affect erections. The most common physical causes include:

  • Narrowed blood vessels
  • High blood pressure
  • High cholesterol
  • Diabetes
  • Being overweight, smoking and drinking heavily
  • Low testosterone or other hormone problems
  • Side effects of some prescribed medicines

Why It Can Be an Early Warning About Your Heart

The blood vessels in the penis are smaller than those around the heart. That means narrowing can show up as erection problems before it causes heart symptoms.

This is one of the best reasons to see a doctor. A simple blood pressure, cholesterol and blood sugar check can pick up problems early, when they're easiest to treat. Our guide to ApoB explains which cholesterol test is worth asking about.

Psychological Causes

Your mind plays a big part too. Stress at work, money worries, anxiety, depression and relationship problems can all cause ED. So can worry about performance itself, which can turn one bad night into a cycle.

If problems happen with a partner but not on your own, or come and go with stress, a psychological cause is more likely. Counselling, CBT and sex therapy can all help.

Treatments That Work

Lifestyle changes help many men: losing weight if you're overweight, stopping smoking, moving every day, cutting alcohol to 14 units a week or less, and finding ways to manage stress.

Tablets such as sildenafil (Viagra) and tadalafil (Cialis) work by improving blood flow, and help most men. In the UK, a pharmacist can supply sildenafil after a short private chat, without a prescription, or your doctor can prescribe it. These tablets aren't safe for everyone, including men taking nitrate medicines for chest pain, which is why the pharmacist or doctor will ask a few questions first.

If tablets don't help, a doctor can refer you to a specialist for other options, such as injections, vacuum devices or pelvic floor physiotherapy.

ED Tablets Compared: Which Is Which?

All four main ED tablets work the same way, by boosting blood flow to the penis when you're aroused. They don't cause an erection on their own. The big differences are how fast they work and how long they last, which matters for how spontaneous you want to be.

Common side effects for all of them include headache, flushing, a blocked nose and indigestion, usually mild and short-lived. None are safe with nitrate medicines for chest pain. If you take an alpha-blocker for an enlarged prostate, such as tamsulosin, your doctor or pharmacist will advise on timing, as both can lower blood pressure.

  • Sildenafil (Viagra): works in 30 to 60 minutes and lasts about 4 to 5 hours. A heavy meal can slow it down. The most widely used option, cheap as a generic, and available from UK pharmacies without a prescription.
  • Tadalafil (Cialis): works in 30 to 45 minutes and lasts up to 36 hours, earning it the nickname 'the weekend pill'. Food doesn't affect it much. Also comes as a low daily dose, so you don't have to plan ahead, and the daily dose can help urinary symptoms of an enlarged prostate too.
  • Vardenafil (Levitra): similar to sildenafil, working in 30 to 60 minutes and lasting about 4 to 5 hours. An alternative if sildenafil gives you side effects.
  • Avanafil (Spedra): the fastest, often working in 15 to 30 minutes, and lasting around 6 hours or more. Food has little effect. Usually more expensive.

Other Treatment Options and Their Benefits

Tablets aren't the only route, and they don't suit everyone. Your doctor can talk you through these:

  • Lifestyle changes: free, no side effects, and they improve your heart health at the same time. Often the best long-term fix when ED is linked to weight, smoking, alcohol or inactivity.
  • Talking therapy (counselling, CBT or sex therapy): tackles the cause when stress, anxiety or performance worry is behind it, so the benefit lasts.
  • Vacuum pumps: a drug-free device that draws blood into the penis. Works for many men who can't take tablets.
  • Injections or a cream (alprostadil): work directly on the penis and often help when tablets haven't.
  • Pelvic floor physiotherapy: strengthens the muscles that help maintain an erection, with no medication.
  • Penile implants: a surgical option for when nothing else has worked, with high satisfaction rates among men who have them.

How Regular Cardio Helps ED

Because erections depend on healthy blood flow, cardio is one of the most effective natural treatments there is. Aerobic exercise keeps blood vessels flexible, helps the body make nitric oxide (the molecule that relaxes blood vessels in the penis), lowers blood pressure, helps with weight loss and eases stress.

A 2018 review in the journal Sexual Medicine looked at the research and found that about 40 minutes of moderate to vigorous aerobic exercise, four times a week, for six months reduced erection problems. That's 160 minutes a week. The benefit was clearest in men whose ED was linked to inactivity, being overweight, high blood pressure or heart disease.

You don't need to start at 160 minutes. Build up gradually, and check with your doctor first if you have a heart condition.

  • Brisk walking: fast enough that you can talk but not sing
  • Cycling: great cardio, but the NHS suggests keeping it under about three hours a week if you have ED, and using a well-fitted saddle
  • Swimming, rowing or jogging
  • Start with 20 minutes, three times a week, and add 5 to 10 minutes each week
  • Our Zone 2 training guide explains how to build steady, heart-healthy cardio

A Warning About Buying Online

Many websites selling erection tablets without proper checks sell fakes, with unknown ingredients and doses. The UK medicines regulator, the MHRA, also warns that some 'herbal' erection products have been found to contain hidden medicines. Only use medicines supplied by a registered UK pharmacy or prescribed by a doctor.

How to Bring It Up With Your doctor

Doctors talk about erection problems every day, and it's far less awkward than you'd think. If it helps, write it down and show them, or simply say: 'I've been having problems with erections and I'd like to get checked.' You can also visit a sexual health clinic without a doctor referral.

Key takeaways

  • Occasional erection problems are normal and usually linked to stress, tiredness or alcohol.
  • Ongoing problems are worth a doctor visit: they can be an early sign of heart or blood vessel problems.
  • Effective treatments exist, from lifestyle changes to tablets a pharmacist or doctor can supply.
  • Regular cardio, around 160 minutes a week, has been shown to reduce erection problems.
  • Never buy erection tablets from unregulated websites; many are fake or unsafe.

What to do next

  • If problems keep happening, book a doctor appointment or visit a sexual health clinic.
  • Ask your doctor for a blood pressure, cholesterol and blood sugar check.
  • Cut alcohol to 14 units a week or less, and stop smoking if you smoke.
  • Move every day and aim for a healthy weight.
  • Build up to 40 minutes of brisk cardio, four times a week.
  • Only take medicines supplied by a UK pharmacy or prescribed by a doctor.

Read next

Free download: The Men's Health Checklist (PDF), US edition or UK edition

References

  • nidirect (NHS information for Northern Ireland): Erectile dysfunction (impotence), nidirect.gov.uk.
  • NHS: Erectile dysfunction (impotence), nhs.uk/conditions/erection-problems-erectile-dysfunction.
  • MHRA: guidance on unlicensed herbal remedies and counterfeit medicines bought online.