Skip to content
Skin Over SteelGet support now

Foundations

Sleep and erections: the overnight connection

How sleep loss and sleep apnea drag down testosterone and erectile function, and why the airway is worth checking.

EstablishedEditorial review

Published · Last reviewed · How we review →

A lot of the machinery behind an erection gets maintained while you're asleep — the hormones, the blood-vessel health, the nighttime erections themselves. So it's not a stretch that bad sleep shows up below the belt. Two parts of this are well established, and one of them, sleep apnea, is a genuinely important medical lead that's easy to miss.

Sleep and testosterone

Testosterone is produced on a daily rhythm that leans heavily on sleep, and the clearest demonstration is a small, tightly controlled study: ten healthy young men restricted to about five hours of sleep for a week saw their daytime testosterone fall by roughly 10 to 15 percent, with the lowest levels in the afternoon, and they reported feeling worse as it dropped. It's a small study published as a research letter, so treat the exact number as preliminary rather than precise — but the direction is consistent with what's known: chronic short sleep works against the hormonal system that supports desire and tissue health. That makes sleep a real, and fixable, contributor rather than a vague wellness slogan.

The bigger lead: sleep apnea

Obstructive sleep apnea — where the airway repeatedly collapses in sleep, dropping blood oxygen dozens or hundreds of times a night — is strongly associated with erectile dysfunction. The leading mechanism is the lining of the blood vessels: those repeated oxygen dips and the surges of stress they trigger damage the endothelium, the same vessel lining that healthy erections (and heart health) depend on. Apnea also fragments the deep sleep that supports testosterone. So it hits erectile function from two directions at once.

Does treating the sleep problem fix the erection?

Honestly: sometimes, partly. Reviews suggest that treating apnea (most often with CPAP) can improve erectile-function scores for some men, but the high-quality evidence is limited and the effect is modest — and for the ED itself, PDE5 pills tend to outperform CPAP, with the two sometimes combined. So the honest framing isn't “fix your sleep and the ED disappears.” It's that untreated apnea is a drag on the system, a serious health risk in its own right, and worth addressing regardless — with better erections a plausible bonus rather than a promise. As everywhere in this library, the move is to find and treat the real cause, not to treat the symptom in isolation.

Sources & important note

Drawn from: Leproult R, Van Cauter E. Effect of 1 week of sleep restriction on testosterone levels in young healthy men, JAMA 2011;305(21):2173–2174; and the Cochrane review: positive airway pressure therapy for erectile dysfunction in men with obstructive sleep apnoea (the association is clear; the treatment benefit for ED is uncertain and modest).

General education, not medical advice. Whether sleep apnea or short sleep is driving your situation, and what to do about it, belong to a clinician who can evaluate you. If low mood is part of the picture, support is here.

Common questions

Can poor sleep cause erectile dysfunction or low testosterone?

Yes. In a small, tightly controlled study, cutting healthy young men to about 5 hours of sleep for one week lowered their daytime testosterone by roughly 10 to 15 percent. Chronically short or disrupted sleep works against the hormonal and vascular systems erections depend on, so it's a genuine, and fixable, contributor.

How does sleep apnea affect erections?

Obstructive sleep apnea is strongly associated with erectile dysfunction. The repeated drops in oxygen overnight strain the lining of the blood vessels (the endothelium) that erections rely on, and apnea also fragments the sleep that supports testosterone. If you snore heavily, wake unrefreshed, or stop breathing in your sleep, that's a medical lead worth following.

Will treating sleep apnea fix my ED?

It may help, but the evidence is mixed and modest, so it's not a guaranteed cure. Reviews suggest treating apnea can improve erectile-function scores for some men, though ED medications tend to work better for the ED itself, and the two are sometimes combined. The stronger reason to treat apnea is your overall heart and metabolic health; better erections can be a welcome bonus.

Is it worth getting checked for sleep apnea if I have ED?

Often, yes, especially if you have the classic signs: loud snoring, witnessed pauses in breathing, daytime sleepiness, or high blood pressure. Because ED, apnea, and cardiovascular risk travel together, a clinician may reasonably look at your sleep as part of the bigger picture rather than treating the erection in isolation.