- Published on
Drugs That Cause ED: The Medication List
- Authors
- Name
- Defy Editorial Team
- Role
- Men's Health & Pelvic Floor Editorial • Defy

If erections changed noticeably within weeks of starting a new prescription, the drug is a reasonable suspect. Plenty of common medications interfere with the nerve signals, blood flow or hormones an erection depends on — and drug-related ED is one of the more fixable kinds, because the cause has a name and often an alternative.
One rule first, and it is not negotiable: do not stop a prescribed medication on your own. Stopping blood pressure drugs, antidepressants or heart medication abruptly can cause serious harm. The move is a conversation with your prescriber, not a decision made at home.
How Drugs Interfere With an Erection
An erection needs three systems working together. Nerve signals trigger the release of nitric oxide; arteries dilate and fill the erectile tissue; and the pelvic floor muscles compress the veins at the base of the penis so the blood stays put. Adequate testosterone keeps the whole system responsive.
Medications break in at different points. Some blunt the nerve signalling, some reduce arterial flow or drop pressure too far, some suppress testosterone or raise prolactin. That is why two drugs treating the same condition can affect you completely differently.
MedlinePlus maintains a well-organised list of drugs that may cause erection problems, and it is a better starting point than most search results.
Antidepressants and Psychiatric Medications
This is the class with the strongest and most consistent signal.
- SSRIs — sertraline, fluoxetine, paroxetine, citalopram. Sexual side effects are common, covering reduced desire, delayed ejaculation and erectile difficulty. Paroxetine tends to rank worst in comparisons.
- SNRIs — venlafaxine, duloxetine. Similar profile, sometimes milder.
- Tricyclics — amitriptyline, imipramine. Older agents with anticholinergic effects that interfere with erection.
- Antipsychotics — risperidone in particular raises prolactin, which suppresses testosterone and desire.
- Lithium and some anticonvulsants — less common, still reported.
Bupropion and mirtazapine are frequently raised as lower-risk alternatives, which is precisely the kind of swap worth asking about. Untreated depression is itself a major cause of ED, so stopping treatment usually makes the problem worse, not better.
Blood Pressure Medication: The Nuanced Picture
Beta blockers have a long-standing reputation here, and it deserves qualifying.
A 2024 review in Endocrine by Corona and colleagues, "Anti-hypertensive medications and erectile dysfunction: focus on β-blockers," examined the evidence directly. Beta blockers are indeed the antihypertensive class most often associated with ED — but the authors found the association frequently reflects patients knowing about the side effect rather than a pharmacological effect, and that when results were adjusted for confounders, no significant risk emerged. They also reported that nebivolol, a third-generation beta blocker that promotes nitric oxide release, produces better outcomes on validated erectile function scales. On thiazide diuretics, long blamed for ED, they noted that more recently published data do not confirm the negative association. You can read the full review on PMC.
The practical takeaway is not that blood pressure drugs are blameless. It is that the problem is usually solvable by switching within the class rather than abandoning treatment — and that untreated hypertension damages the arteries that erections depend on. Our article on high blood pressure and erection problems covers that trade-off in detail.
ACE inhibitors, ARBs and calcium channel blockers are generally considered the most erection-friendly options.
Hormonal and Prostate Medications
- Finasteride and dutasteride. Used for benign prostatic hyperplasia and male pattern hair loss, these 5-alpha reductase inhibitors block conversion of testosterone to dihydrotestosterone. Reduced libido and erectile difficulty are recognised side effects. A minority of men report symptoms persisting after stopping — how common this is remains genuinely contested, and the honest answer is that the evidence is not settled.
- Anti-androgens and GnRH agonists. Used in prostate cancer treatment, these deliberately suppress testosterone. ED here is an expected consequence of the treatment working, not an unexpected side effect.
- Spironolactone. A potassium-sparing diuretic with anti-androgen activity at higher doses.
- Cimetidine. An older heartburn drug with anti-androgen effects; largely superseded by alternatives that do not share the problem.
Other Prescription Culprits
Opioids. Long-term use suppresses the hypothalamic-pituitary-gonadal axis and lowers testosterone. Opioid-induced androgen deficiency is well documented and often missed.
Antihistamines. Older sedating agents like diphenhydramine have anticholinergic effects. Occasional use is unlikely to matter; daily use might.
Chemotherapy agents. Various, through direct nerve and vascular effects plus hormonal disruption.
Muscle relaxants and some sedatives. Through central nervous system depression.
It is worth separating these from the drugs that treat ED — our explainer on ED drugs covers how PDE5 inhibitors work and where they fall short.
Recreational Drugs and Alcohol
- Alcohol. Acutely depresses the nervous system; chronically damages nerves, lowers testosterone and harms the liver. We cover this properly in does alcohol cause ED.
- Tobacco and nicotine. Direct vasoconstriction plus long-term endothelial damage. One of the most reversible risk factors there is.
- Cocaine and amphetamines. Powerful vasoconstrictors. Chronic use is strongly associated with erectile difficulty.
- Cannabis. Evidence is mixed and dose-dependent; heavy regular use shows more consistent association than occasional use.
- Anabolic steroids. Shut down natural testosterone production. Recovery after stopping can take many months.
Train the muscle that holds the erection
Defy runs short guided pelvic floor sessions with timed holds and progressive difficulty — the mechanical side of firmness, whatever else is going on.
Download Defy on iOSWhat to Actually Do About It
- Build a timeline. Note when erections changed and when each medication started or changed dose. A clear timeline is the most useful thing you can bring to an appointment.
- Bring the full list. Include over-the-counter drugs and supplements. Interactions matter.
- Say it plainly. "Since starting X, my erections have changed." Doctors hear this constantly. Vagueness is what wastes the appointment.
- Ask about three options. Lower dose, different drug in the same class, or different class entirely. Most cases resolve at one of those three.
- Give a switch time. Sexual side effects often take several weeks to settle after a change.
- Fix what surrounds it. Sleep, weight, smoking, alcohol and exercise all affect erectile function independently. NIDDK and the NHS both list these alongside medication as causes.
Where Pelvic Floor Training Fits
Drug-related ED is a signalling and circulation problem. Pelvic floor training works on a third mechanism — the muscles that compress the veins at the base of the penis and keep blood trapped once it arrives.
That is why it is worth doing in parallel rather than instead. In a randomised controlled trial published in the British Journal of General Practice in 2004, Dorey and colleagues put men with erectile dysfunction on a supervised pelvic floor training programme; after six months, 40 percent had regained normal erectile function and a further 35.5 percent had improved significantly.
The protocol is not complicated — slow holds, quick lifts, three short sessions a day, progressed over weeks. Kegels for men walks through the technique. It takes about three months to produce measurable change, which is roughly the same window you will spend working through medication adjustments anyway.
Medication-related ED has a cause you can name, and named causes are the easiest kind to solve. The step that actually moves things is the appointment.
Start the training side today
Short guided sessions, progressive holds and streak tracking — Defy keeps pelvic floor training consistent enough to show measurable results.
Download Defy on iOSFrequently Asked Questions
Which medications are most likely to cause erectile dysfunction?
The classes most consistently implicated are antidepressants (especially SSRIs), antipsychotics, 5-alpha reductase inhibitors such as finasteride and dutasteride, older non-selective beta blockers, anti-androgens used in prostate cancer treatment, and opioids. Effects vary a lot between individuals and between drugs within the same class.
Should I stop taking a medication if I think it is causing ED?
No. Stopping a prescribed medication without medical advice can be genuinely dangerous, particularly with blood pressure drugs, antidepressants and heart medication. Book an appointment, say plainly that erections have changed since starting the drug, and ask about dose adjustment or an alternative within the same class.
Do blood pressure medications always cause erectile dysfunction?
No, and the evidence is weaker than the reputation. A 2024 review in Endocrine found that when results were adjusted for confounding factors, no significant risk emerged for beta blockers as a class, and that recent data do not confirm the older negative association with thiazide diuretics. Nebivolol appears to perform better than older beta blockers.
Is medication-related ED permanent?
Usually not. Erectile function typically returns within weeks of stopping or switching the drug under medical supervision. Finasteride is the debated exception, with a minority of men reporting persistent symptoms after discontinuation, though how common that is remains contested.
Can pelvic floor training help if a drug is the cause?
It can help, but it addresses a different mechanism. Kegels strengthen the muscles that trap blood in the penis, which improves firmness regardless of what triggered the problem. It is a useful addition while you and your doctor sort out the medication, not a replacement for that conversation.