Sleep is one of the strongest everyday regulators of testosterone in men, and the relationship runs in both directions: poor sleep drives testosterone down, and low testosterone makes sleep worse. Testosterone follows a pronounced daily rhythm tied to sleep, peaking in the early morning hours and bottoming out in the evening. When sleep is cut short, fragmented, or shifted to the wrong time of day, that rhythm gets disrupted and testosterone levels can drop measurably. Understanding how these two systems feed into each other matters for anyone wondering whether their fatigue, low libido, or mood changes trace back to a hormonal issue, a sleep problem, or some tangled combination of both.
Why Testosterone Peaks in the Morning
Testosterone doesn’t sit at a fixed level throughout the day. It follows a clear circadian pattern: concentrations climb during the night, hit their highest point between roughly 7:00 and 10:00 a.m., and then decline through the afternoon and evening before starting to rise again after sleep onset.1PubMed. Circadian rhythm of testosterone level in plasma. I. Physiologic 24-hour oscillations of the testosterone level in plasma In younger men, morning levels can run 20 to 25 percent higher than late-afternoon levels. That gap narrows with age, shrinking to around 10 percent by age 70.2PubMed Central. The effect of diurnal variation on clinical measurement of serum testosterone and other sex hormone levels in men
Interestingly, this morning rise doesn’t seem to depend on any particular sleep stage. Research comparing testosterone fluctuations with sleep architecture found that the early-morning surge in testosterone was not directly linked to specific sleep stages or to changes in other hormones like luteinizing hormone. Instead, testosterone appears to follow its own internal circadian clock, similar to cortisol.3The Journal of Clinical Endocrinology & Metabolism. Circadian Rhythm of Serum Testosterone and Its Relation to Sleep: Comparison with the Variation in Serum Luteinizing Hormone, Prolactin, and Cortisol in Normal Men That said, sleep itself is still essential to the process: research indicates that the testosterone rise requires at least three hours of sleep with normal architecture to occur properly.4PubMed Central. The relationship between sleep disorders and testosterone in men So while no single sleep stage “produces” testosterone, you need to actually be sleeping for the system to work.
This daily rhythm has a practical consequence that catches some men off guard: a testosterone blood draw taken in the late afternoon can come back looking abnormally low even if morning levels are perfectly normal. One study found that 17 men who had at least one afternoon reading below the clinical threshold for low testosterone all had normal levels when tested before noon.5PubMed Central. The effect of diurnal variation on clinical measurement of serum testosterone and other sex hormone levels in men This is why clinical guidelines generally recommend morning blood draws for testosterone testing. If your levels were checked at 4 p.m. and came back borderline, it’s worth asking whether the timing itself explains the result.
What Happens When You Don’t Sleep Enough
Cutting sleep short is one of the most reliable ways to push testosterone down, but the size of the hit depends on how badly sleep is disrupted. A meta-analysis pooling data from multiple studies found that partial sleep deprivation, meaning shortened but not eliminated sleep, did not produce a statistically significant drop in testosterone across the pooled results. Total sleep deprivation was a different story: staying awake for 24 hours or longer reduced testosterone levels significantly, and the effect grew slightly stronger when wakefulness extended to 40 or 48 hours.6PubMed. Effect of partial and total sleep deprivation on serum testosterone in healthy males: a systematic review and meta-analysis
That doesn’t mean a few nights of five-hour sleep are harmless, though. The timing of sleep restriction matters. When researchers restricted men to four and a half hours of sleep but placed that sleep in the first half of the night, morning testosterone and prolactin dropped markedly compared to normal eight-hour nights. The same subjects showed no testosterone change when their shortened sleep was distributed across a full sleep window.7Clinical Endocrinology. Sleep timing may modulate the effect of sleep loss on testosterone The implication is that not all short nights are equal: when you sleep and how your remaining sleep is structured can matter as much as sheer hours.
For older men, the connection between sleep duration and morning testosterone is even more direct. A study using objective sleep measurement (polysomnography, not just asking people how much they slept) found that nighttime sleep duration was a strong independent predictor of both total and free testosterone the next morning in healthy older men.8Sleep. Association Between Sleep and Morning Testosterone Levels In Older Men Since both sleep quality and testosterone naturally decline with age, the two losses can compound each other in a way that makes it hard to tell which came first.
Sleep Apnea and the Testosterone Drop
Obstructive sleep apnea (OSA) is one of the most common sleep disorders linked to low testosterone, and it tends to go undiagnosed for years. OSA involves repeated airway collapse during sleep, causing brief awakenings and oxygen dips that shatter sleep continuity even if the person doesn’t fully wake up. In middle-aged men, OSA is frequently associated with reduced testosterone, though the picture is tangled with two other factors that independently lower testosterone: obesity and aging.9PubMed Central. Obstructive Sleep Apnea and Testosterone Deficiency
Severity matters here. A systematic review and meta-analysis found that testosterone was not significantly reduced in men with mild or moderate OSA. In men with severe OSA, however, the drop was clear and statistically significant.10Andrology. Association between obstructive sleep apnea and male serum testosterone: A systematic review and meta‐analysis That suggests there may be a threshold of sleep disruption and oxygen deprivation below which the hormonal system can compensate, and above which it cannot.
Men with lower testosterone levels also show worse sleep architecture independently: more nighttime awakenings, less slow-wave (deep) sleep, lower sleep efficiency, and more time spent with dangerously low oxygen levels.11The Journal of Clinical Endocrinology & Metabolism. The Association of Testosterone Levels with Overall Sleep Quality, Sleep Architecture, and Sleep-Disordered Breathing Older men in particular show declining REM sleep alongside declining testosterone.12PubMed. The effects of testosterone on sleep and sleep-disordered breathing in men: its bidirectional interaction with erectile function This bidirectional loop is what makes the testosterone-sleep relationship so frustrating to untangle clinically: poor sleep reduces testosterone, and low testosterone degrades sleep quality, and both feed into each other.
Does CPAP Fix Testosterone Levels?
Given how clearly severe sleep apnea is linked to lower testosterone, you’d expect that treating the apnea would bring levels back up. The evidence is disappointingly mixed. A meta-analysis of CPAP therapy in sleep apnea patients found no significant overall change in total testosterone after treatment, though there was a trend toward improvement in men who were hypogonadal (clinically low) at baseline.13PubMed Central. Effects of CPAP on Testosterone Levels in Patients With Obstructive Sleep Apnea: A Meta-Analysis Study One individual study did find significant testosterone increases after CPAP in men with OSA who also had erectile dysfunction and low hormone levels.14PubMed. Efficacy of nasal continuous positive airway pressure on patients with OSA with erectile dysfunction and low sex hormone levels
The gap between these findings probably reflects how many other factors are at play. Most men with severe OSA also carry excess weight, and body fat independently suppresses testosterone through aromatase conversion of testosterone to estrogen. Treating the airway obstruction fixes the breathing but doesn’t eliminate the metabolic burden of obesity, the cortisol elevation from chronic stress, or other contributors to low testosterone. CPAP may be necessary but not sufficient for hormonal recovery in many men.
Testosterone Replacement Can Temporarily Worsen Breathing During Sleep
Here’s a catch-22 that often surprises men prescribed testosterone therapy: exogenous testosterone can make sleep apnea worse, at least in the short term. A randomized, placebo-controlled trial in obese men with severe OSA found that testosterone therapy worsened oxygen desaturation events and the time spent at dangerously low oxygen levels at seven weeks. The effect was modest and time-limited, disappearing by eighteen weeks.15Clinical Endocrinology. Effects of testosterone therapy on sleep and breathing in obese men with severe obstructive sleep apnoea: a randomized placebo‐controlled trial Still, this means that men starting testosterone replacement therapy who also have untreated or poorly controlled sleep apnea need monitoring, especially in the first couple of months. Some clinicians screen for sleep apnea before initiating testosterone therapy for exactly this reason.
Shift Work and Misaligned Clocks
Night shift workers face a particular problem: even if they get enough total hours of sleep, the timing is wrong relative to the body’s circadian clock. A study tracking hormones across a rotating shift cycle found that the peak of testosterone production shifted by nearly seven hours during the night-shift block compared to early-morning shifts.16PubMed Central. Changes in melatonin and sex steroid hormone production among men as a result of rotating night shift work – the HORMONIT study The body tried to follow the new schedule, but the hormonal rhythm couldn’t fully adapt, leaving testosterone peaks and troughs misaligned with both the work schedule and the environment.
This matters for more than just hormone levels on paper. Shift workers who developed shift work sleep disorder, a condition marked by chronic insomnia or excessive sleepiness tied to work schedules, had measurably worse erectile function compared to those who tolerated shifts without developing the sleep disorder. Testosterone replacement improved erectile function scores for men with the disorder, though baseline testosterone levels alone didn’t explain the difference.17PubMed Central. Shift Work Sleep Disorder and Night Shift Work Significantly Impair Erectile Function Meanwhile, separate research found that shift workers who were dissatisfied with their schedules had lower morning testosterone than shift workers who had adjusted well, and the best predictor of testosterone levels wasn’t cortisol or prolactin but the need for recovery after the work period.18Journal of Applied Physiology. Hormonal changes in satisfied and dissatisfied shift workers across a shift cycle In plain terms, feeling wrecked by your schedule is itself a signal that hormones may be paying the price.
The Cortisol-Testosterone Seesaw and Metabolic Fallout
Sleep loss doesn’t just suppress testosterone in isolation. It simultaneously raises cortisol, the body’s main stress hormone. These two shifts, less testosterone and more cortisol, act together to push the body toward insulin resistance. When researchers restricted men to three to four hours less sleep per night, the subjects developed higher blood sugar, higher insulin levels, and greater insulin resistance. Experimentally clamping cortisol and testosterone at their normal daytime values, preventing the sleep-loss-driven hormonal shift, cut the development of insulin resistance roughly in half.19PubMed Central. Clamping Cortisol and Testosterone Mitigates the Development of Insulin Resistance during Sleep Restriction in Men
This was a proof-of-concept study, not a practical therapy you can walk into a clinic and get. But it demonstrated something important: a meaningful portion of the metabolic damage from poor sleep is mediated through the hormonal changes rather than through sleep loss alone.20Reviews in Endocrine and Metabolic Disorders. Sleep, testosterone and cortisol balance, and ageing men For men who are chronically under-sleeping and gaining weight, or who are developing pre-diabetes alongside fatigue and low libido, the hormonal disruption from poor sleep may be actively contributing to the metabolic slide, not just coinciding with it.
Can You Bank Sleep or Catch Up?
The idea of sleeping extra on weekends to “repay” a workweek sleep debt is popular, and there’s some limited hormonal evidence in its favor. A study in men with chronic lifestyle-driven sleep restriction found that a period of extended catch-up sleep raised testosterone levels and improved markers of insulin sensitivity.21Clinical Endocrinology. Metabolic and hormonal effects of ‘catch‐up’ sleep in men with chronic, repetitive, lifestyle‐driven sleep restriction So the system is at least partially reversible in the short term.
Banking sleep in advance, however, is less effective. Six nights of extended sleep before a period of total sleep deprivation did not protect testosterone levels during the subsequent wakefulness period.22Journal of Neuroendocrinology. Effect of Sleep Extension on the Subsequent Testosterone, Cortisol and Prolactin Responses to Total Sleep Deprivation and Recovery You can recover somewhat after the fact, but you can’t stockpile sleep to prevent the hormonal hit in advance. For men who know a disrupted period is coming, whether from travel, work deadlines, or a new baby, the practical takeaway is that recovery sleep afterward is worth prioritizing, but don’t assume sleeping extra beforehand will shield your hormone levels.
Sleep Signals That Trigger Testosterone Production
The brain coordinates testosterone output through pulses of luteinizing hormone (LH), released by the pituitary gland in bursts. During sleep, LH pulse amplitude increases, meaning each burst carries a stronger signal to the testes to produce testosterone, even though the frequency of pulses stays about the same as during waking hours.23Neuroendocrinology. Sleep-Associated Augmentation and Synchronization of Luteinizing Hormone Pulses in Adult Men This amplification during sleep is one of the reasons that testosterone production is so dependent on actually being asleep rather than just resting quietly.
The sleep-associated increase in LH pulsing is especially pronounced during puberty, when the onset of sleep-linked LH surges is one of the hallmarks of the developing reproductive system.24The Journal of Clinical Endocrinology & Metabolism. Increased Luteinizing Hormone Pulse Frequency During Sleep in Early to Midpubertal Boys: Effects of Testosterone Infusion The fact that this mechanism persists in adulthood, though less dramatically, helps explain why chronically poor sleep doesn’t just lower testosterone temporarily but can shift the hormonal baseline over time.
Melatonin’s Role in the Testes
Melatonin is most familiar as the “sleep hormone,” but it also acts directly on the cells in the testes that produce testosterone. Leydig cells, the primary testosterone-producing cells, have melatonin receptors, and melatonin appears to modulate steroidogenesis locally. In Sertoli cells, which support sperm development, melatonin influences cellular energy metabolism and proliferation.25PubMed Central. Melatonin Regulates the Synthesis of Steroid Hormones on Male Reproduction: A Review This means the connection between sleep and testosterone isn’t just about the brain sending signals through LH pulses. The timing molecule that helps you fall asleep is also directly involved in regulating the hormone-producing machinery in the testes themselves.
Whether supplemental melatonin in the doses people commonly take for sleep has any meaningful effect on testosterone production is a different question, and one that hasn’t been well studied in humans. The research showing melatonin’s role in steroidogenesis comes largely from cell and animal models. But the finding does reinforce a broader point: the body’s sleep system and reproductive hormone system are not separate departments that occasionally overlap. They share molecular infrastructure in ways that make disrupting one almost impossible without disturbing the other.
Women, Androgens, and Sleep
Most of the research on testosterone and sleep focuses on men, but women produce testosterone too, at lower levels, and sleep disruption may affect their androgen balance as well. A systematic review examining associations between sex hormones, sleep problems, and depression found that higher endogenous estrogen was linked to better sleep in healthy controls, but the relationships between endogenous androgens and sleep quality in women were less consistent and largely inconclusive.26Neuroscience & Biobehavioral Reviews. Associations between sex hormones, sleep problems and depression: A systematic review Women with polycystic ovary syndrome (PCOS), who have elevated testosterone, report higher rates of sleep disturbance, but disentangling the hormonal effect from the metabolic and psychological features of PCOS has proven difficult. The honest state of the science is that we know far less about how sleep affects androgens in women than in men, and the research that exists hasn’t produced the same clean, directional findings.
Androgens in the Brain’s Master Clock
The suprachiasmatic nucleus, a tiny cluster of cells in the hypothalamus, serves as the body’s master circadian pacemaker. It synchronizes nearly every biological rhythm to the light-dark cycle. Androgen receptors have been identified in this structure, and research has shown that androgens acting through these receptors can modulate how the clock responds to light cues in males.27PubMed Central. Sleep, rhythms, and the endocrine brain: influence of sex and gonadal hormones This is a relatively new area of study, and it adds another layer to the bidirectional relationship: testosterone doesn’t just depend on the circadian system for its production pattern. It may actively shape how that system functions. If this line of research holds up, it could help explain why men with very low testosterone sometimes report disrupted sleep-wake timing, difficulty falling asleep at consistent times, or an overall sense that their internal clock is off.

