Drugs that cause erectile dysfunction: medications with sexual side effects

Reviewed by Chimene Richa, MD, 

Written by Michael Martin 

Reviewed by Chimene Richa, MD, 

Written by Michael Martin 

last updated: Nov 08, 2022

4 min read

Here's what we'll cover

Here's what we'll cover

Erectile dysfunction (ED) affects people of all ages and across the globe. Though ED is most common in men over 40 years old, erectile dysfunction can happen frequently in younger men, too. Experiencing occasionally low sex drive or difficulty getting or maintaining an erection every now and then is perfectly normal. However, ongoing erectile dysfunction could be a sign of an underlying medical issue or a side effect of certain medications (Sooriyamoorthy, 2022). Drugs that can cause erectile dysfunction include antidepressants, blood pressure medications, stimulants, antihistamines, and more.

Continue reading to learn more about what common drugs can cause ED and why.

Ro Sparks

Harder erections, faster than Viagra/Cialis

(sildenafil/tadalafil)

Drugs with sexual side effects

Believe it or not, an erection is a highly complex and surprisingly fragile process. It involves chemical signals, nerve impulses, complicated blood flow and blood pressure changes, along with the interplay between your heart, hormones, and even your mood. 

When a medication changes how one of these systems works, it’s possible that a person’s ability to get or maintain an erection sufficient for satisfying sex will be impacted. Premature ejaculation, delayed ejaculation, reduced sensation, and decreased libido (sex drive) can also occur as a result of taking certain medications (Huri, 2017). In other words, ED and sexual dysfunction are possible side effects of many prescription drugs. 

Medications that cause erectile dysfunction

Many medications affect the body through mechanisms that may help resolve a significant health problem (like high blood pressure or depression) but can also affect sexual function. Some drugs that cause erectile dysfunction include:

Antidepressants

  • Selective serotonin reuptake inhibitors (SSRIs)Several antidepressants, especially SSRIs, can impact your ability to get an erection. Researchers believe this happens because of their impact on hormones and chemical signals involved in sexual function (Rothmore, 2020). Because ED can itself be a symptom of depression and anxiety, treating it can be tricky in patients whose medication exacerbates sexual dysfunction, potentially worsening mental health issues (Jing, 2016). But don’t fret. There are options available to help you address your mental health issues without exacerbating ED. 

Blood pressure medications

  • Thiazide diuretics (e.g., hydrochlorothiazide): These diuretics (medications that cause you to urinate excess fluid) may impact sexual function through their influence on blood pressure and blood flow (including to the penis). Still, we don’t fully understand how these drugs affect ED. 

  • Beta-blockers (e.g., metoprolol, propranolol, atenolol): Beta-blockers are blood pressure drugs that frequently cause erectile dysfunction. This happens because they dampen the sympathetic nervous system, which plays a key role in getting and maintaining an erection (Terentes-Printzios, 2021).

Stimulants

  • Amphetamine/dextroamphetamine (Adderall): Amphetamines, like Adderall, may cause erectile dysfunction and other sexual side effects. It impacts the cardiovascular system (including blood flow and constriction of blood vessels), which can impede a person’s ability to get and maintain an erection (Sharbaf Shaor, 2022; Chou, 2015). 

Antihistamines

  • Diphenhydramine (Benadryl): Benadryl and other antihistamines can temporarily reduce sexual desire and cause ED through their impact on histamines. While histamines cause allergic discomfort, they play a positive role in the process of getting and maintaining a healthy erection (Mondillo, 2018).

Cancer treatment

  • Chemotherapy and radiation: Sexual function and desire can be impacted in many ways by a cancer diagnosis. Chemotherapy and radiation can cause erectile dysfunction with their physiological impact on sexual function, as well as the emotional stress and physical discomfort of undergoing these treatments (MedlinePlus, 2021).

Opioids

  • Oxycodone (OxyContin and Percocet) and hydrocodone (Vicodin): Opioid pain medications are effective for managing pain but can also suppress other bodily systems. They can lower the body’s testosterone levels, which can impact sex drive and the ability to have an erection (Sooriyamoorthy, 2022; Semet, 2017).

Acid reflux medication 

  • Cimetidine (Tagamet), famotidine (Pepcid), and ranitidine (Zantac): Like antihistamines, these acid reflux drugs are known to reduce sexual desire and function in men by affecting histamine, which plays a role in getting and maintaining an erection (MedlinePlus, 2021; Chou, 2015).

Other medications

  • Finasteride (Propecia or Proscar): Finasteride is used to treat benign prostatic hypertrophy (BPH) and hair loss in men. There is some evidence that the drug can impact sexual desire and function through its effects on testosterone and dihydrotestosterone (Shin, 2019). 

  • Some antiepileptic drugs (e.g., gabapentin, valproate, topiramate, pregabalin): Some drugs used to treat epileptic seizures are known to decrease libido and make it difficult for a person with a penis to orgasm or ejaculate. However, other antiepilepsy drugs like lamotrigine may improve sexual function (Yang, 2016).

  • Antipsychotics (e.g., risperidone, haloperidol): Some drugs that are used to treat psychosis (a symptom of some mental health disorders like schizophrenia) can reduce libido, which can impact sexual performance (Park, 2012).

Finasteride Important Safety Information: Read more about serious warnings and safety info.

Addressing ED that arises when taking a new medication can be a complex and sensitive process. Unfortunately, many patients respond by stopping an important medication, which can be unsafe and often unnecessary (Scranton, 2013). 

There are many available options to treat ED caused by medication. You can work with your healthcare provider to adjust your dose, try a different medication, or—if stopping treatment isn’t an option—try ED medication (like Viagra), which is safe and effective for most people. Some people with certain medical conditions or who take certain medications may not be eligible for ED medication. Talk to your healthcare provider to find out if ED medication is the right choice for you. 

It’s important to remember that the interplay between physical, emotional, and pharmaceutical factors contributing to ED are complicated. Erections are closely linked to mental and emotional factors like confidence, mood, and stress (all of which can be affected by a serious medical condition, too). What’s more, ED is often a symptom of the health conditions that necessitate the medications, which themselves may also cause ED as a side effect (Huri, 2017).

If you experience erectile dysfunction after taking a new medication, have an honest conversation with your healthcare provider. Fortunately, there are many options you and your provider can explore to ensure you are physically and sexually healthy, without sacrificing necessary medication.

Viagra Important Safety Information: Read more about serious warnings and safety info.

DISCLAIMER

If you have any medical questions or concerns, please talk to your healthcare provider. The articles on Health Guide are underpinned by peer-reviewed research and information drawn from medical societies and governmental agencies. However, they are not a substitute for professional medical advice, diagnosis, or treatment.


How we reviewed this article

Every article on Health Guide goes through rigorous fact-checking by our team of medical reviewers. Our reviewers are trained medical professionals who ensure each article contains the most up-to-date information, and that medical details have been correctly interpreted by the writer.

Editorial Guidelines | Medical Review Process

Current version

November 08, 2022

Written by

Michael Martin

Fact checked by

Chimene Richa, MD


About the medical reviewer

Dr. Richa is a board-certified Ophthalmologist and medical writer for Ro.