Our Services
Medical Information
Helpful Resources
Published on: 9/24/2026
Many common medications can trigger or worsen erectile dysfunction, including blood pressure drugs (thiazide diuretics, beta-blockers, clonidine), antidepressants (SSRIs, SNRIs, tricyclics, MAOIs), antipsychotics, benzodiazepines, opioids, antihistamines, older ulcer drugs like cimetidine, hormone-related agents such as finasteride, spironolactone, and anti-androgens, plus substances like alcohol, nicotine, anabolic steroids, cocaine, and cannabis. Dosage, duration, underlying conditions, and drug combinations all influence whether a medication is truly the cause, and some drugs affect desire or ejaculation rather than erections themselves. There are several important details to consider before changing or stopping anything, so see below for the full breakdown by drug class and what to discuss with your prescriber.
Because ED can also signal cardiovascular disease, diabetes, low testosterone, or anxiety rather than your prescription, pinpointing the real driver matters for your health and your next steps. Take a free, instant, online symptom check to see which causes fit your situation and how to approach the conversation with your doctor.
Last reviewed for medical accuracy: 09/24/2026
Erectile dysfunction (ED) can affect quality of life and intimate relationships. While many factors contribute to ED—including age, lifestyle, and medical conditions—certain medications can also play a significant role. This guide explains which drugs are commonly linked to erectile problems, why they have that effect, and what you can do if you suspect a medication is to blame.
Medications can interfere with the complex process of getting and maintaining an erection in several ways:
Understanding which medications carry a risk can help you talk with your doctor about alternatives or mitigation strategies.
Below is a detailed list of the drugs that are associated with erectile dysfunction, organized by category. If you take any of these, discuss potential side effects and alternatives with your healthcare provider.
Many blood pressure treatments can lead to ED by reducing blood flow:
Selective serotonin reuptake inhibitors (SSRIs) and other antidepressants can interfere with libido and erectile function:
Drugs used for schizophrenia, bipolar disorder, and other mental health conditions may lead to ED:
Any therapy that alters sex hormones can impact erectile function:
Chronic opioid use can reduce testosterone and impair sexual function:
Drugs that block male hormones or mimic estrogen can lead to ED:
Used for acid reflux and ulcers:
Though not prescription drugs, these substances can cause or worsen ED:
Some causes of ED can signal serious health issues such as cardiovascular disease or diabetes. Always speak to a doctor if you experience:
Don’t ignore changes in sexual health—early intervention may improve your overall well-being.
A wide range of medications can interfere with erectile function. By understanding the drugs that are associated with erectile dysfunction and working closely with your healthcare provider, you can find strategies to manage ED without compromising treatment for other conditions. Always consult a doctor before making any changes to prescribed therapies, especially if you suspect a drug is affecting your sexual health. If you have concerns about any serious or life-threatening symptoms, seek medical attention promptly.
(References)
* Sidi AA, Cameron JS, Duffy LM, Lange PH. Intracavernous drug-induced erections in the management of male erectile dysfunction: experience with 100 patients. J Urol. 1986 Apr;135(4):704-6. doi: 10.1016/s0022-5347(17)45825-3. PMID: 2421014.
* Morley JE. Impotence. Am J Med. 1986 May;80(5):897-905. doi: 10.1016/0002-9343(86)90635-2. PMID: 3518438.
* Cooke M. Evaluation of impotence. West J Med. 1986 Jul;145(1):106-10. PMID: 3751023; PMCID: PMC1306846.
* Keene LC, Davies PH. Drug-related erectile dysfunction. Adverse Drug React Toxicol Rev. 1999 Mar;18(1):5-24. PMID: 10401520.
* Lue TF. Erectile dysfunction. N Engl J Med. 2000 Jun 15;342(24):1802-13. doi: 10.1056/NEJM200006153422407. PMID: 10853004.
* Keijzers GB. Aviptadil (Senatek). Curr Opin Investig Drugs. 2001 Apr;2(4):545-9. PMID: 11566015.
* van der Hooft CS, Heeringa J, van Herpen G, Kors JA, Kingma JH, Stricker BH. Drug-induced atrial fibrillation. J Am Coll Cardiol. 2004 Dec 7;44(11):2117-24. doi: 10.1016/j.jacc.2004.08.053. PMID: 15582307.
* Mishra K, Bukavina L, Mahran A, Bobrow A, Buzzy CA, Jain N, Gnessin E, Loeb A, Ponsky LE. Variability in Prices for Erectile Dysfunction Medications-Are All Pharmacies the Same? J Sex Med. 2018 Dec;15(12):1785-1791. doi: 10.1016/j.jsxm.2018.10.011. PMID: 30527054.
* Mao Y, Sun J, Wang Z, Liu Y, Sun J, Wei Z, Wang M, Yang Y. Combining transcriptomic analysis and network pharmacology to explore the mechanism by which Shaofu Zhuyu decoction improves diabetes mellitus erectile dysfunction. Phytomedicine. 2023 Oct;119:155006. doi: 10.1016/j.phymed.2023.155006. Epub 2023 Aug 6. PMID: 37567007.
* Su Y, Zhao Y, Shui J, Qi D, Bai J, Xu X, Zhu F, Ma X, Wang H, Yixizhuoma, Su Z, Weng Y, Zhang S. Cynomorium Songaricum polysaccharides ameliorate erectile dysfunction through potent inhibition of phosphodiesterase-5. J Ethnopharmacol. 2026 Apr 24;361:121228. doi: 10.1016/j.jep.2026.121228. Epub 2026 Jan 17. PMID: 41554452.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.