
Key takeaways
- Medications are a recognized cause of ED, and a medication review is part of every proper ED evaluation.
- The strongest links are with serotonin-based antidepressants, some older blood pressure drugs, medicines that lower testosterone or DHT, opioids and some psychiatric medicines.
- Many blood pressure medicines get blamed unfairly; recent reviews find most classes neutral, and the condition itself is often the bigger factor.
- Never stop a prescribed medicine on your own. Switching, adjusting or adding a treatment is a decision to make with the prescriber.
- Timing is a useful clue: ED that starts within weeks of a new medicine or dose change is worth flagging.
Several common medication groups can cause or worsen erectile dysfunction, most notably serotonin-based antidepressants, certain blood pressure drugs such as older beta-blockers and centrally acting agents, hormone-lowering medicines, opioids and some antipsychotics. The effect is often real but uneven: many men take these medicines without any change, and the underlying condition being treated is frequently as important as the drug.
The American Urological Association guideline on erectile dysfunction includes a review of all current medications as part of the basic evaluation for exactly this reason. This guide walks through the main culprits, what the evidence actually shows for each, and the safe way to act on a suspicion.
How can a medication affect erections?
An erection needs several systems working together: desire signals in the brain, nerves carrying those signals, blood vessels that can relax and fill, and hormones that keep the system primed. A medicine can interfere at any of these points. Some dampen desire or delay orgasm through brain chemistry, some reduce blood pressure or blood flow, some lower testosterone or block its effects, and some cause fatigue or sedation that makes everything harder.
That variety is why a medication-related problem can look like low libido, difficulty getting an erection, difficulty keeping one, or difficulty reaching orgasm, and why describing exactly what changed helps the prescriber identify the likely cause.
The main medication groups linked to ED
MedlinePlus, the National Library of Medicine's consumer resource, lists the drug groups most often associated with erection problems. The evidence behind each varies a lot:
Serotonin antidepressants
- Examples (generic)
- Sertraline, paroxetine, citalopram, venlafaxine
- Strength of the link
- Strong, common
Older beta-blockers
- Examples (generic)
- Propranolol, atenolol, metoprolol
- Strength of the link
- Moderate; varies by drug
Centrally acting BP drugs
- Examples (generic)
- Clonidine, methyldopa
- Strength of the link
- Well documented
Hormone-lowering drugs
- Examples (generic)
- Prostate cancer hormone therapy, spironolactone
- Strength of the link
- Strong for some
5-alpha-reductase inhibitors
- Examples (generic)
- Finasteride, dutasteride
- Strength of the link
- Small; debated
Opioids
- Examples (generic)
- Long-term opioid pain medicine
- Strength of the link
- Strong with long-term use
Antipsychotics
- Examples (generic)
- Several, especially prolactin-raising ones
- Strength of the link
- Moderate
Some seizure medicines
- Examples (generic)
- Phenytoin and some others
- Strength of the link
- Reported; less certain
| Group | Examples (generic) | Strength of the link |
|---|---|---|
| Serotonin antidepressants | Sertraline, paroxetine, citalopram, venlafaxine | Strong, common |
| Older beta-blockers | Propranolol, atenolol, metoprolol | Moderate; varies by drug |
| Centrally acting BP drugs | Clonidine, methyldopa | Well documented |
| Hormone-lowering drugs | Prostate cancer hormone therapy, spironolactone | Strong for some |
| 5-alpha-reductase inhibitors | Finasteride, dutasteride | Small; debated |
| Opioids | Long-term opioid pain medicine | Strong with long-term use |
| Antipsychotics | Several, especially prolactin-raising ones | Moderate |
| Some seizure medicines | Phenytoin and some others | Reported; less certain |
Antidepressants: the most common culprit
Serotonin-based antidepressants are the best-documented medication cause of sexual problems in both men and women. A 2009 meta-analysis of studies that asked about sexual function directly found treatment-emergent sexual dysfunction in roughly a quarter to four in five patients depending on the drug, with sertraline, venlafaxine, citalopram and paroxetine near the top, while bupropion and mirtazapine did not differ significantly from placebo.
Depression itself also lowers desire and erectile function, so the picture is tangled. There are well-studied ways to handle it without abandoning effective treatment, covered in our article on antidepressants and sexual side effects.
Blood pressure medicines: often blamed, partly guilty
Blood pressure medicines are the drugs men most often worry about, and the reputation is only partly deserved. A 2025 review in Endocrine concluded that centrally acting drugs such as clonidine and methyldopa have a well-documented negative effect, that beta-blockers remain the class most often associated with ED, though nebivolol looks more favorable, and that ACE inhibitors, angiotensin receptor blockers and calcium channel blockers appear neutral or even beneficial. More recent evidence did not confirm the old concern about thiazide diuretics.
A 2022 network meta-analysis of randomized trials found no significant difference in erectile function between the major classes or versus placebo, although the authors noted the trials were of mixed quality. Meanwhile, high blood pressure itself damages the vessels that erections depend on. Our article on high blood pressure and ED explains why controlling blood pressure usually matters more than which pill does it.
Hormone-related and other medicines
Medicines that lower testosterone or block androgen signaling, such as hormone therapy for prostate cancer, commonly reduce desire and erections. Spironolactone has anti-androgen effects and can cause similar problems in some men. For finasteride and dutasteride, trial data show a small increase in sexual side effects that usually resolves; our article on finasteride side effects reviews the numbers.
Long-term opioid use can suppress testosterone production, one reason men on chronic pain treatment are sometimes checked for low testosterone. Some antipsychotics raise prolactin, a hormone that suppresses desire and erections. Antihistamines, some acid-reducing medicines and certain seizure drugs appear on lists of possible contributors, though for many of these the evidence is limited to reports rather than controlled trials. Alcohol, nicotine and recreational drugs belong on the same list even though they are not prescriptions.
How to tell if your medication is the cause
There is no single test, but a few patterns raise suspicion:
- Timing: the problem started within weeks of a new medicine or a dose increase.
- Type of problem: delayed orgasm or low desire alongside erection changes points toward antidepressants or hormone effects.
- Morning erections: if they persist, a blood-flow problem is less likely, which shifts suspicion toward medication effects on desire or the brain, or toward psychological factors.
- Other explanations: the condition being treated, such as depression, diabetes or heart disease, can cause ED on its own and often explains more than the drug.
Bring a full list of prescriptions, over-the-counter medicines and supplements to the conversation. Lab work can add useful context; a baseline panel can check testosterone, prolactin, blood sugar and lipids when the history suggests it.
What to do next, safely
Do not stop or cut down a prescribed medicine on your own. Stopping an antidepressant abruptly can cause withdrawal symptoms or relapse, and stopping a blood pressure medicine can cause a dangerous rebound. The safe options are worked out with the prescriber:
- Wait and watch: some side effects ease over the first weeks of treatment.
- Adjust: a lower dose may keep the benefit with fewer side effects.
- Switch: another drug in the same or a different class may suit you better, such as a different beta-blocker or a different antidepressant.
- Add treatment: PDE5 inhibitors such as sildenafil and tadalafil can be effective for medication-related ED and are often combined with existing treatment, provided there are no interactions such as nitrates.
If you would like a provider to review your medication list and discuss whether ED medication is appropriate, our sexual health program starts with an online questionnaire reviewed by a licensed provider, who coordinates with your existing treatment rather than replacing it.
Common questions
Which medications most often cause erectile dysfunction?
Serotonin-based antidepressants are the most consistently linked. Older beta-blockers, centrally acting blood pressure drugs, hormone-lowering medicines, long-term opioids and prolactin-raising antipsychotics are also recognized contributors.
Do all blood pressure medicines cause ED?
No. Recent reviews find ACE inhibitors, angiotensin receptor blockers and calcium channel blockers neutral or favorable, and the evidence against thiazides has weakened. Beta-blockers vary by drug. Uncontrolled blood pressure is itself a major cause of ED.
Should I stop my medication if I think it is causing ED?
No. Stopping on your own can cause withdrawal, relapse or dangerous rebound effects. Talk to the prescriber, who can adjust the dose, switch drugs or add an ED treatment.
Will erections return if I switch medications?
Often, if the drug was the main cause, though it can take weeks. Because ED usually has more than one contributor, switching does not always resolve it fully, which is why the underlying condition is assessed too.
Is ED from finasteride permanent?
In the large trials, sexual side effects were uncommon and usually resolved, often even while treatment continued. A small number of men report symptoms that persist after stopping; how often this happens and why is still debated. Discuss any concern with the prescriber before changing treatment.
Does the condition being treated matter more than the drug?
Often it does. Depression, high blood pressure, diabetes and heart disease all affect erections on their own, and studies that blame a medicine sometimes cannot fully separate the two. Treating the condition well is usually good for sexual function in the long run.
Can I take ED medication alongside the drug that is causing the problem?
Frequently yes. PDE5 inhibitors have been studied in men on antidepressants and on multiple blood pressure medicines. The important exceptions are nitrates and riociguat, and alpha-blockers need caution. Our guide to ED medication interactions has the details.
Can supplements cause ED?
Some can, and products sold as sexual enhancers have been found to contain hidden prescription drugs. Include every supplement on the list you give your provider.
Sources
- MedlinePlus (National Library of Medicine). Drugs that may cause erection problems. Link (opens in a new tab)
- Burnett AL, Nehra A, Breau RH, et al. Erectile dysfunction: AUA guideline. J Urol. 2018;200(3):633–641. Link (opens in a new tab)
- Serretti A, Chiesa A. Treatment-emergent sexual dysfunction related to antidepressants: a meta-analysis. J Clin Psychopharmacol. 2009;29(3):259–266. Link (opens in a new tab)
- Corona G, Vena W, Pizzocaro A, et al. Anti-hypertensive medications and erectile dysfunction: focus on β-blockers. Endocrine. 2025;87(1):11–26. Link (opens in a new tab)
- Farmakis IT, Pyrgidis N, Doundoulakis I, et al. Effects of major antihypertensive drug classes on erectile function: a network meta-analysis. Cardiovasc Drugs Ther. 2022;36(5):903–914. Link (opens in a new tab)
- National Institute of Diabetes and Digestive and Kidney Diseases (NIH). Symptoms and causes of erectile dysfunction. Link (opens in a new tab)
This article is for general education and is not medical advice. Protocols described here require an online consultation with a licensed provider who will determine if a prescription is appropriate for you. Explore sexual health options or read the FAQ.




