Roughly a quarter of men with ED have a medication contributing to it. That's a large number, and a hopeful one, because a medication-related cause is often the most fixable: switch the drug, adjust the dose, or add a PDE5 inhibitor, and the problem changes. The difficulty is recognizing it. Men rarely connect the pill for their mood or blood pressure with what's happening in bed, and prescribers rarely ask. This guide lists the main culprits by class, explains how to spot the pattern, and sets out what to do — which never includes stopping a medication on your own.
The Main Culprits
| Class | Examples | How it affects sexual function | Alternatives to discuss |
|---|---|---|---|
| SSRIs / SNRIs | Sertraline, fluoxetine, paroxetine, citalopram, venlafaxine | Reduced libido, delayed orgasm, ED; very common | Bupropion, mirtazapine; dose reduction; adding a PDE5 inhibitor |
| Thiazide diuretics | Hydrochlorothiazide, chlorthalidone | ED; mechanism unclear | ARB, ACE inhibitor, calcium channel blocker |
| Non-selective beta-blockers | Propranolol | ED, reduced libido | Nebivolol, or a different class |
| Spironolactone | Spironolactone | ED, low libido, breast tissue (anti-androgen) | Eplerenone, other agents |
| 5-alpha-reductase inhibitors | Finasteride, dutasteride | ED, low libido, reduced ejaculate | Alpha-blocker alone for BPH; reconsider for hair loss |
| Antipsychotics | Risperidone, haloperidol, others | ED, low libido via raised prolactin | Aripiprazole, quetiapine have lower rates |
| Opioids | Long-term use of any | Suppresses testosterone; low libido, ED | Pain management review; testosterone check |
| Sedating antihistamines | Diphenhydramine, hydroxyzine | ED with regular use | Non-sedating antihistamines |
| H2 blockers | Cimetidine | ED, breast tissue (anti-androgen) | Famotidine, PPIs |
| Anti-seizure drugs | Carbamazepine, phenytoin, others | Reduced testosterone, ED | Neurology review |
| Benzodiazepines | Diazepam, alprazolam | Reduced libido, ED with regular use | Review need; alternatives for anxiety |
How to Spot the Pattern
The clue is almost always timing. Ask yourself:
- Did the ED start, or clearly worsen, within a few weeks of starting a new medication or increasing a dose?
- Did libido or orgasm change at the same time? (SSRIs particularly affect all three.)
- Are morning erections still present? If a drug affects libido or nerve signalling rather than vessels, nocturnal erections may be preserved.
- Have you had a period off the drug, and did things improve?
If the timing fits, that's a strong lead. It isn't proof — the condition being treated (depression, hypertension) can itself cause ED — but it's enough to raise with the prescriber. Broader pattern-reading: Psychological vs Physical ED.
Compare current alternativesWhat Not to Do
What to Do
- Write down the timeline. When the drug started, when the ED started, what else changed. Bring it to the appointment.
- Ask the prescriber directly: “I think this may be affecting my erections. Is there an alternative, or a dose adjustment, that treats my condition with less sexual side effect?” For most classes above, there is.
- Consider a PDE5 inhibitor alongside. For SSRI-related ED in particular, adding sildenafil or tadalafil is a standard, evidence-based strategy, and it works for most men without changing the antidepressant. It's also the practical bridge while a switch is trialled.
- Give a switch time. Sexual function may take weeks to recover after changing drugs, especially SSRIs and finasteride.
- Check testosterone if the drug is one that suppresses it (opioids, some anti-seizure drugs, spironolactone). See ED and Low Testosterone.
Antidepressants: The Most Common Case
SSRIs are the single most frequent medication cause of sexual dysfunction, affecting a large proportion of men who take them, across libido, erection and orgasm. Because depression itself reduces sexual function, it's easy to blame the illness. The tell is that SSRI effects usually appear soon after starting and often persist even as mood improves. Options, all decided with the prescriber: reduce the dose if mood allows; switch to bupropion or mirtazapine, which have much lower rates; add bupropion to the SSRI; or add a PDE5 inhibitor, which addresses the erection component well and is the least disruptive option. Stopping the antidepressant to fix sex is rarely the right trade.
Blood Pressure Drugs: The Second Case
Thiazides and non-selective beta-blockers are the ones to suspect. The good news is that hypertension has many treatment options, and ARBs, ACE inhibitors and most calcium channel blockers are neutral for erections. A swap is often straightforward. Full detail in ED and High Blood Pressure.
PDE5 Inhibitors With These Medications
Sildenafil and tadalafil are compatible with nearly every drug on the list above. The interactions that matter are different ones: nitrates (absolute), alpha-blockers (additive blood pressure effect; note that tamsulosin and doxazosin are common BPH drugs), and CYP3A4 inhibitors like certain antifungals, antibiotics and HIV protease inhibitors, which raise PDE5 inhibitor levels. A clinician who sees your full list — Roman's evaluation asks for it — can set a safe dose around all of it.
Bottom line — September 2026
If your ED started after a new prescription, say so to the prescriber; there's usually an alternative. In the meantime, or if the drug can't change, a PDE5 inhibitor works alongside almost all of them and is the standard fix for SSRI-related ED. Bring your full medication list to Roman's evaluation and let the clinician set the dose around it. What you shouldn't do is quietly stop something important because of a side effect nobody asked about.
Frequently Asked Questions
Which medications commonly cause erectile dysfunction?
SSRIs and SNRIs, thiazide diuretics, non-selective beta-blockers, spironolactone, 5-alpha-reductase inhibitors (finasteride, dutasteride), some antipsychotics, opioids, sedating antihistamines, and certain anti-seizure drugs are the most frequently implicated.
How do I know if my medication is causing ED?
Timing is the main clue: ED that began or clearly worsened within weeks of starting or increasing a drug. Improvement on a supervised dose reduction or switch confirms it.
Can I stop the medication to fix my ED?
Not on your own. Many of these drugs treat serious conditions, and stopping abruptly can be dangerous (antidepressants, blood pressure drugs, beta-blockers). Ask your prescriber about alternatives or dose changes.
Can I take sildenafil with antidepressants?
Generally yes. PDE5 inhibitors are commonly used to counter SSRI-related sexual side effects and don't interact dangerously with them. Tell your prescriber so everything is on record.
Does finasteride cause permanent ED?
Most men who develop sexual side effects on finasteride recover after stopping. A small number report persistent symptoms; the science is unsettled. Discuss the balance with your prescriber, especially for cosmetic use.
Which antidepressants are least likely to cause ED?
Bupropion and mirtazapine have lower rates of sexual side effects than SSRIs. Switching or adding one is a common strategy, decided with your prescriber.
Do statins cause ED?
Evidence suggests statins are neutral or slightly beneficial for erectile function via vascular effects. They're not a common culprit, despite the reputation.