The Hard Facts.
← Back to ED Pill Guide
Affiliate Disclosure: This article may contain links to telehealth providers and products. If you click through and make a purchase or sign up, we may earn a commission at no extra cost to you. All recommendations are based on independent research. See our full disclosure.

The Sleep-Erection Axis: Apnea, Testosterone, and Nighttime Function

·ED Pill Guide Editorial

The connection between sleep quality and erectile function runs deeper than most men realize. Poor sleep doesn't just make you tired — it disrupts hormone production, suppresses nocturnal erections, and when sleep apnea is the cause, creates direct vascular damage that compounds the problem.

Nocturnal Erections and REM Sleep

Normal nocturnal penile tumescence (NPT) — the 3–5 erections per night that healthy men experience — occurs during REM sleep. If your REM sleep is disrupted, truncated, or absent, nocturnal erections decline or disappear.

This matters because nocturnal erections serve a maintenance function: they oxygenate penile tissue, maintain smooth-muscle health, and prevent the fibrotic changes that can lead to permanent structural ED. Chronic REM suppression — from any cause — can progressively impair erectile tissue health.

Sleep Apnea and ED

Obstructive sleep apnea (OSA) is one of the most underdiagnosed causes of ED. The connection operates through multiple pathways:

Studies estimate that 60–70% of men with OSA report ED, compared to 15–20% in the general population of the same age. Yet many of these men are treated for ED without anyone screening for sleep apnea.

CPAP and Erectile Function

Continuous positive airway pressure (CPAP) therapy for OSA has been shown to improve erectile function in several studies. The improvements are measurable but variable — some men see dramatic improvement, others modest. The benefit correlates with adherence: men who use CPAP consistently (4+ hours per night) see better results than intermittent users.

CPAP doesn't replace ED medication, but it addresses one of the underlying causes. Some men who start CPAP find their PDE5 inhibitors work better, and a few can discontinue ED medication entirely.

Screening Questions

If you have ED, consider sleep apnea if any of the following apply:

A home sleep study or in-lab polysomnography can diagnose OSA. Given the strong ED-OSA connection, screening for sleep apnea should be part of a thorough ED evaluation in men with risk factors.

Explore Treatment Options

Care Bare Rx
Licensed telehealth ED prescriptions with compounded options and discreet delivery
Plans from $99/mo
Get Started →
Paid link · Advertiser disclosure
⚠️ Compounded medications are not FDA-approved. They are prepared by licensed pharmacies to meet individual patient needs and should only be used under medical supervision.
RxSpan MD
Telehealth men's health platform with ED, TRT, and wellness prescriptions
Multi-category men's health
Get Started →
Paid link · Advertiser disclosure

Frequently Asked Questions

Can sleep apnea cause ED?+
Yes. Sleep apnea causes ED through intermittent oxygen deprivation (damaging blood vessels), chronic sympathetic activation (opposing erectile function), testosterone suppression, and disrupted REM sleep (reducing nocturnal erections). An estimated 60–70% of men with OSA report ED.
Does CPAP help with ED?+
Studies show CPAP therapy can improve erectile function in men with OSA, though results vary. Consistent use (4+ hours nightly) produces the best outcomes. CPAP may also boost testosterone levels and improve PDE5 inhibitor effectiveness.
Should I get a sleep study if I have ED?+
If you snore loudly, have been told you stop breathing during sleep, wake with headaches, or have a BMI above 30, a sleep study is worth discussing with your provider. Untreated OSA can worsen ED and undermine the effectiveness of ED treatments.

Related Guides

The Morning Erection SignalTestosterone's Real Role in EDThe Cardiology Connection
Medical Disclaimer: The information on this page is for general informational and educational purposes only and is not medical advice. Nothing on this site should be interpreted as a recommendation for a specific treatment plan, product, or healthcare provider. Always seek the advice of your physician or other qualified healthcare provider with any questions about a medical condition. Never disregard professional medical advice or delay in seeking it because of something you have read on this website. If you think you may have a medical emergency, call your doctor or 911 immediately.