Back to Sexual Health

Which Medicines Can Cause Erectile Dysfunction?

Mens Health Guide Editorial 23 April 2026

Many common medicines can cause erectile dysfunction as a side effect. Medication is thought to be responsible for a significant proportion of ED cases, particularly in older men who take several medicines. If your erection problems started around the time you began a new medicine or changed a dose, it is worth considering whether it could be involved. The answer is rarely simply to stop taking it, but alternatives are often available.

Which antidepressants can affect erections?

Selective serotonin reuptake inhibitors, known as SSRIs, such as sertraline, citalopram, fluoxetine and paroxetine, commonly cause sexual side effects. These include reduced sex drive, difficulty getting or keeping an erection, and delayed or absent orgasm. Some other antidepressants, such as venlafaxine, can have similar effects.

Depression itself can cause sexual problems, which can make it hard to tell whether the illness or the medicine is responsible. Some antidepressants, such as mirtazapine and bupropion, are less likely to cause sexual side effects. Your doctor may suggest switching, adjusting the dose or adding an ED tablet.

Which blood pressure medicines can affect erections?

Thiazide diuretics, such as bendroflumethiazide, and some beta blockers, particularly older ones such as atenolol and propranolol, have been linked to erectile problems. Spironolactone can reduce libido and cause breast enlargement.

Other blood pressure medicines, such as ACE inhibitors, angiotensin receptor blockers and calcium channel blockers, are less likely to cause ED. Some newer beta blockers are less likely to cause problems. High blood pressure itself damages blood vessels and causes ED, so controlling it remains important.

Which prostate and hair loss medicines are involved?

Finasteride and dutasteride, used for an enlarged prostate, can reduce sex drive, cause erection problems and reduce the volume of semen. Finasteride at a lower dose is also used for male pattern hair loss and can cause sexual side effects in some men. These usually resolve after stopping, though a small number of men report persistent symptoms.

Alpha blockers such as tamsulosin can affect ejaculation, reducing semen or causing dry orgasms, though they rarely affect erections.

Which other medicines can cause ED?

Opioid painkillers, such as codeine, tramadol and morphine, can lower testosterone and affect erections when used long term. Some antipsychotic medicines can raise prolactin levels, which reduces libido and erectile function.

Some medicines for epilepsy, some antihistamines, some treatments for heartburn such as cimetidine, and hormone therapy for prostate cancer can all contribute. Long-term steroid use and anabolic steroids can suppress natural testosterone.

What should you do if you suspect a medicine?

Do not stop taking a prescribed medicine without talking to your doctor or pharmacist first. Stopping some medicines suddenly, such as antidepressants, beta blockers or blood pressure tablets, can be harmful.

Make an appointment to discuss it. Your doctor may be able to reduce the dose, switch to an alternative that is less likely to cause sexual side effects, change the timing of the dose, or add a treatment for ED such as sildenafil. Many men find a solution that allows them to continue treating their underlying condition.

How can you tell if a medicine is responsible?

Clues include erection problems that began shortly after starting or increasing a medicine, and problems that improve during a break from the medicine under medical supervision. The patient information leaflet lists common side effects, and your pharmacist can advise.

Sometimes the underlying condition is the main cause rather than the medicine, so both need considering.

Is it worth raising?

Yes. Some men stop taking important medicines because of sexual side effects without telling anyone, which can put their health at risk. Being open with your doctor allows a solution that works for both your health and your sex life.

Bring a full list of everything you take, including anything bought over the counter or online.

A medicine review with your GP or pharmacist is a good opportunity to check that all your medicines are still needed and working well together.

The sexual health section covers related topics in more detail.

This page is general information rather than medical advice.