
Opioid Pain Medication and Erectile Function
Stay up to date.
Long-term use of opioid pain medication is associated with erectile dysfunction and low testosterone. Opioids include morphine, oxycodone, hydrocodone, codeine, tramadol, fentanyl and methadone. The effect is related to the dose and how long the medication has been taken.
How opioids affect erections
Hormones
Testosterone production is controlled by two hormones from the brain. The hypothalamus releases gonadotropin-releasing hormone, which signals the pituitary gland to release luteinizing hormone, which in turn signals the testicles to make testosterone. Opioids act on receptors in the hypothalamus and suppress the first step. Luteinizing hormone and testosterone fall as a result. This is called opioid-induced hypogonadism.
Low testosterone reduces sexual desire and can weaken the response of the erectile tissue to arousal and to PDE5 inhibitors such as sildenafil and tadalafil.
Other factors
Men who take opioids long term often have chronic pain, poor sleep, reduced activity and depression, and may take sedatives. Each of these is associated with erectile dysfunction independently of the opioid.
What the evidence shows
In a 2002 study of 54 men taking sustained-release opioids for pain not caused by cancer, 89% had low levels of free testosterone or estradiol. Of the men who had normal sexual function before starting opioids, 87% reported erectile dysfunction or reduced desire afterwards.
A 2013 study examined the medical and pharmacy records of 11,327 men with back pain in a large health plan. It used prescriptions for erectile dysfunction medication or testosterone as a marker of erectile problems.
- Men on long-term opioids had 45% higher odds of receiving these prescriptions than men not taking opioids, after adjustment for age and other illness (odds ratio 1.45).
- Men taking 120 mg or more of morphine-equivalent per day had 58% higher odds (odds ratio 1.58).
- Age, other illness, depression and sedative use were also each independently associated with these prescriptions.
The 2013 study was based on records rather than direct measurement of erections, and it shows an association. The 2002 study measured hormones directly but was small.
What can be done
- Testing. A morning blood test for testosterone and luteinizing hormone can show whether opioid-induced hypogonadism is present.
- Reviewing pain treatment. A doctor may be able to lower the dose, change the medication or add treatments that reduce the need for opioids. Opioid doses should only be reduced under medical supervision, because stopping suddenly causes withdrawal and can worsen pain.
- Testosterone treatment. Where low testosterone is confirmed, testosterone replacement may be considered. It has its own risks and is not suitable for every man. Our article on testosterone and erectile dysfunction covers what it can and cannot do.
- Erectile treatment. PDE5 inhibitors can be used by most men taking opioids. Never combine them with nitrates.
Where Xialla fits
Where erections form but fade, the limiting step is holding blood in the penis. Xialla is an anchored constriction ring that slows venous outflow at the base of the penis and stays in place during intercourse. It has no interactions with pain medication. It does not raise testosterone or desire. Opioids and some other pain medications can dull sensation, so wear time limits should be followed by the clock rather than by feel. Men taking anticoagulants should consult a physician before using any constriction device. Our guide to using a constriction device safely covers wear time and warning signs.
Related reading
- Medications That Affect Erections: What the Evidence Shows and What to Ask Your Doctor
- Depression and Erectile Dysfunction: A Two-Way Link
- Recovery From Steroid-Induced Erectile Dysfunction
- Cannabis and Erectile Function
References
- Daniell HW. Hypogonadism in men consuming sustained-action oral opioids. Journal of Pain. 2002;3(5):377-384. https://doi.org/10.1054/jpai.2002.126790
- Deyo RA, Smith DH, Johnson ES, et al. Prescription opioids for back pain and use of medications for erectile dysfunction. Spine. 2013;38(11):909-915. https://doi.org/10.1097/BRS.0b013e3182830482
If you have questions about anything in this article, write to us at hello@xialla.com. We read and answer every message.
This article is for general education and is not medical advice. Consult a qualified healthcare provider about your individual situation.


