How Sleep Affects Testosterone & Cortisol Levels

Hormone therapy clinical care image for How Sleep Affects Testosterone & Cortisol Levels

At a glance

  • Testosterone nadir / early morning, peaks during REM sleep between roughly 3 a.m. And 7 a.m.
  • Cortisol nadir / reaches its 24-hour low around midnight; surges 50 to 160% within 30 minutes of waking
  • Sleep deprivation effect / 1 week of 5-hour nights reduced testosterone 10 to 15% in healthy men aged 22 to 32 (Leproult & Van Cauter, JAMA 2011)
  • Cortisol and short sleep / restricting sleep to 4 hours raises evening cortisol by roughly 37% compared to 8-hour sleep
  • Slow-wave sleep importance / 70% of nightly growth hormone (GH) secretion occurs during stage N3; GH supports testicular Leydig cell function
  • REM cycles / 4 to 6 REM cycles per full night are needed for maximal nocturnal LH pulsatility
  • TRT consideration / men on exogenous testosterone still experience cortisol dysregulation from poor sleep, reducing therapy effectiveness
  • Sleep apnea prevalence / obstructive sleep apnea (OSA) is present in up to 40% of men with hypogonadism (Testosterone Therapy in Men With Hypogonadism, AUA 2018)
  • Cortisol-testosterone antagonism / cortisol directly suppresses StAR protein expression, the rate-limiting step in testosterone biosynthesis

The Hormonal Clock: Why Timing Matters

Testosterone and cortisol do not fluctuate randomly. Both follow tightly governed circadian rhythms that are anchored to the sleep-wake cycle, and disrupting sleep at any point disrupts the sequence.

Testosterone begins rising during the first period of REM sleep, typically around 90 minutes after sleep onset. Concentrations peak in the early morning hours and then decline across the waking day. A landmark paper by Axelsson et al. Published in Sleep (2005) demonstrated that total sleep time was a significant independent predictor of morning testosterone in healthy men, independent of age, body mass index, and alcohol use [1].

Cortisol runs the opposite pattern. It is lowest around midnight and rises sharply before waking in what researchers call the cortisol awakening response (CAR). The CAR represents a 50 to 160 percent surge that mobilizes energy for the day ahead. When sleep is fragmented or shortened, the CAR is blunted and evening cortisol remains elevated, a pattern strongly associated with metabolic dysfunction [2].

The Circadian Architecture of Testosterone

Luteinizing hormone (LH) is released from the pituitary gland in pulses, and the largest pulses occur during sleep. Each LH pulse signals the Leydig cells in the testes to produce testosterone. Losing even one or two full sleep cycles compresses the window during which these pulses fire.

Research published in JAMA Internal Medicine showed that men sleeping fewer than six hours per night had significantly lower morning testosterone than men sleeping seven to nine hours [3]. The relationship was dose-dependent: each additional hour of sleep was associated with a measurable rise in morning testosterone concentrations.

How REM Sleep Specifically Drives Testosterone

REM sleep is not simply the dreaming stage. It is the stage during which nocturnal LH pulsatility is most intense. A study using polysomnography and frequent blood sampling every 20 minutes confirmed that testosterone concentrations rose by 20 to 30 percent during REM episodes compared to non-REM stages [4].

Men who experience REM suppression from alcohol, benzodiazepines, or obstructive sleep apnea lose a disproportionate fraction of their nightly testosterone production even if total sleep time appears adequate on a basic sleep diary.

Sleep Deprivation and Testosterone: The Data

Short sleep is one of the most consistently demonstrated modifiable causes of low testosterone in otherwise healthy men. The evidence comes from controlled sleep-restriction studies, not just epidemiological surveys.

The Leproult and Van Cauter JAMA Study

The most cited controlled experiment on this topic was published in JAMA in 2011 by Rachel Leproult and Eve Van Cauter. Ten healthy young men aged 22 to 32 had their sleep restricted to five hours per night for eight consecutive nights under laboratory conditions. Daytime testosterone levels measured between 2 p.m. And 6 p.m. Fell by 10 to 15 percent, equivalent to 10 to 15 years of normal age-related testosterone decline [5]. The authors stated: "Given the high prevalence of sleep curtailment among American men, the resulting testosterone deficiency may have substantial health consequences."

That figure, 10 to 15 percent, is clinically meaningful. A man whose morning total testosterone sits at 450 ng/dL could drop into the frankly hypogonadal range below 300 ng/dL if he is also sleeping five hours a night and carrying moderate visceral adiposity.

Population-Level Evidence

A large cross-sectional analysis from the Boston Area Community Health (BACH) survey found that men who reported fewer than 5.7 hours of sleep per night had significantly lower testosterone than men sleeping 7 to 8 hours, after adjustment for age, BMI, smoking, and comorbidities [3]. The association was present across all age groups studied, including men aged 40 to 70 who are already experiencing age-related testosterone decline.

Chronic Partial Sleep Loss vs. Acute Total Sleep Deprivation

One night of complete sleep deprivation does produce a measurable next-day testosterone drop. However, chronic partial sleep restriction, defined as 5 to 6 hours per night sustained over weeks, produces a more entrenched suppression of the hypothalamic-pituitary-gonadal (HPG) axis because cortisol remains persistently elevated and directly antagonizes LH secretion [6].

How Cortisol Suppresses Testosterone Biosynthesis

Cortisol does not merely correlate with low testosterone. It suppresses testosterone through at least three distinct biological mechanisms.

StAR Protein Inhibition

The steroidogenic acute regulatory (StAR) protein shuttles cholesterol into the mitochondria of Leydig cells, which is the rate-limiting step in testosterone production. Glucocorticoids, including cortisol, downregulate StAR gene expression. A study published in Endocrinology demonstrated that dexamethasone (a synthetic glucocorticoid) reduced testicular StAR mRNA by over 60 percent within 24 hours in animal models, with analogous mechanisms confirmed in human Leydig cell lines [7].

HPG Axis Suppression

Chronically elevated cortisol suppresses gonadotropin-releasing hormone (GnRH) secretion from the hypothalamus. Less GnRH means fewer LH pulses. Fewer LH pulses mean less testosterone synthesis. This pathway is the reason that men under sustained psychological or physiological stress reliably develop secondary hypogonadism patterns on laboratory testing, with low LH and low testosterone, rather than primary hypogonadism [8].

Sex Hormone-Binding Globulin (SHBG) Changes

High cortisol states are associated with reduced SHBG. While this sounds counterproductive at first (lower SHBG means more free testosterone), the simultaneous suppression of total testosterone production outweighs the SHBG effect, and free testosterone still falls [9]. The net result is bioavailable testosterone deficiency despite a potentially normal or borderline-normal total testosterone on a lab report.

Sleep Disorders and Testosterone: Obstructive Sleep Apnea

Obstructive sleep apnea (OSA) represents a specific and under-recognized cause of low testosterone in men. OSA fragments sleep architecture, abolishes restorative slow-wave sleep, triggers repeated nocturnal hypoxia, and drives cortisol dysregulation across the entire 24-hour cycle.

The 2018 American Urological Association guideline on testosterone therapy in men with hypogonadism notes that OSA is present in up to 40 percent of men presenting with hypogonadism and should be screened for before initiating TRT [10]. The guideline states directly: "Clinicians should inform patients of the potential risk of worsening obstructive sleep apnea with testosterone therapy."

OSA and Testosterone: What the Numbers Show

A study published in The Journal of Clinical Endocrinology and Metabolism found that men with moderate-to-severe OSA (apnea-hypopnea index greater than 15 events per hour) had morning testosterone levels averaging 30 percent lower than age-matched controls without OSA [11]. Effective treatment with continuous positive airway pressure (CPAP) for at least three months raised total testosterone by a mean of 2.4 nmol/L (approximately 69 ng/dL) without any exogenous hormone intervention.

Hypoxia and Leydig Cell Function

Nocturnal hypoxia, which accompanies each apneic event in OSA, directly impairs Leydig cell steroidogenesis. Intermittent hypoxia activates hypoxia-inducible factor 1-alpha (HIF-1α), which downregulates the enzymes CYP11A1 and CYP17A1 required for testosterone synthesis [12]. This adds a biochemical insult on top of the sleep-fragmentation and cortisol-elevation effects.

Slow-Wave Sleep, Growth Hormone, and Testosterone

Stage N3 sleep, also called slow-wave or deep sleep, contributes to testosterone production through a separate but complementary pathway: growth hormone (GH) secretion.

Approximately 70 percent of the daily GH pulse occurs during the first slow-wave sleep episode of the night, typically within 90 minutes of sleep onset. GH and its downstream mediator, insulin-like growth factor 1 (IGF-1), support Leydig cell sensitivity to LH. Men with pituitary GH deficiency consistently show impaired testosterone secretory capacity even when LH levels are normal [13].

Slow-wave sleep diminishes with age. Men over 50 spend roughly 5 to 10 percent of their night in N3 sleep, compared to 20 to 25 percent in men aged 20 to 30 [14]. This decline in N3 sleep partly explains why age-related testosterone decline accelerates in the fifth decade even before significant testicular failure occurs.

The Sleep-Testosterone-GH Triangle

The relationship forms a reinforcing triangle. Adequate sleep drives GH release. GH supports testicular responsiveness to LH. LH drives testosterone synthesis. Testosterone itself feeds back to consolidate sleep architecture by promoting slow-wave sleep depth. When the triangle is broken at any vertex, the other two vertices deteriorate as well.

Clinical evidence for the testosterone-to-sleep feedback direction comes from a randomized trial published in The Journal of Clinical Sleep Medicine, which found that men receiving testosterone replacement therapy (specifically testosterone cypionate 200 mg every two weeks) showed significant increases in slow-wave sleep percentage compared to placebo over a 12-week period [15].

TRT, Sleep, and the Cortisol Problem

Men receiving exogenous testosterone therapy are not immune to the hormonal consequences of poor sleep. Cortisol dysregulation from sleep deprivation continues to suppress the HPG axis and stress testicular function, though this becomes less relevant for total testosterone production once the HPG axis is pharmacologically bypassed by exogenous androgens.

The more clinically significant issue for men on TRT is that elevated cortisol from poor sleep directly opposes the anabolic and mood-stabilizing effects of testosterone at the receptor level. Cortisol and testosterone compete for shared intracellular machinery. A man injecting testosterone cypionate at 100 mg per week who sleeps five hours a night will likely report worse energy, worse body composition results, and worse mood than the same man sleeping eight hours, even with identical serum testosterone levels on his labs [16].

Sleep Apnea Risk on TRT

Exogenous testosterone can worsen OSA by altering respiratory drive and upper airway muscle tone. The AUA guideline notes this as a recognized risk that requires clinical monitoring [10]. Men starting TRT who report snoring, witnessed apneas, daytime somnolence, or morning headaches should undergo polysomnography or a validated home sleep apnea test before dose escalation.

Practical Monitoring Approach

Men on TRT should have morning total testosterone, free testosterone, LH (if not on hCG co-therapy), and cortisol measured on the same blood draw when sleep quality concerns arise. An 8 a.m. Serum cortisol above 20 mcg/dL in a symptomatic man on TRT warrants investigation of sleep quality, psychological stressors, and adrenal function, in that order.

Practical Steps to Protect Testosterone and Control Cortisol Through Sleep

Sleep optimization is not a lifestyle suggestion in this context. It is a first-line intervention for men with borderline or confirmed low testosterone before pharmacological treatment is initiated, and an ongoing requirement for men already on TRT.

Target Sleep Duration and Timing

The evidence supports targeting seven to nine hours of total sleep time per night, with a consistent bed and wake time. Research published in Chronobiology International found that testosterone levels were significantly higher in men with consistent sleep timing (less than 30 minutes of wake-time variability across seven days) compared to men with irregular schedules, independent of total sleep duration [17].

Shift workers and men with socially imposed sleep irregularity (travel across time zones, variable work schedules) show measurable HPG axis disruption that takes approximately three to five days to normalize after schedule correction.

Alcohol, Benzodiazepines, and REM Suppression

Alcohol at doses as low as two standard drinks consumed within two hours of bedtime measurably reduces REM sleep percentage in the first half of the night. Because REM is when nocturnal LH pulsatility peaks, routine evening alcohol use is a modifiable suppressor of testosterone production that is often overlooked in clinical evaluations [18].

Benzodiazepines and Z-drugs (zolpidem, eszopiclone) also suppress slow-wave sleep and can reduce GH secretion, compounding testosterone-production impairment even though they extend total sleep time. Men who report using these medications for sleep and who present with low testosterone deserve a specific conversation about alternative sleep strategies.

Temperature, Light, and Sleep Architecture

Core body temperature must drop approximately 1 to 2 degrees Celsius for sleep onset to occur efficiently. Bedroom temperatures above 68 degrees Fahrenheit (20 degrees Celsius) have been associated with more fragmented sleep architecture and suppressed slow-wave sleep percentage in controlled studies [19]. Blue-light exposure from screens suppresses melatonin secretion and delays circadian phase, pushing the testosterone peak later and compressing it if waking time is fixed.

Melatonin at 0.5 mg taken 1 to 2 hours before the desired sleep onset time is the lowest effective dose supported by evidence for phase-shifting the circadian clock. Doses of 5 to 10 mg, which are sold over the counter, do not produce proportionally better sleep architecture and may suppress endogenous melatonin receptor sensitivity with chronic use [20].

Frequently asked questions

How many hours of sleep do I need to maintain healthy testosterone levels?
Most controlled research points to seven to nine hours of total sleep time per night. The Leproult and Van Cauter JAMA 2011 study showed that five hours per night for eight days cut daytime testosterone by 10 to 15% in healthy young men. Individual variation exists, but fewer than six hours consistently is associated with measurable testosterone suppression across multiple population studies.
Does napping compensate for lost nighttime sleep and testosterone production?
Short naps of 20 to 30 minutes can partially restore alertness and reduce cortisol, but they do not replicate the extended REM and slow-wave sleep cycles needed for maximal nocturnal LH pulsatility. Napping is a partial supplement, not a replacement for consolidated nighttime sleep.
Can fixing my sleep raise my testosterone without TRT?
For men with borderline low testosterone (total testosterone 250 to 350 ng/dL) and documented poor sleep, optimizing sleep duration and quality may raise testosterone by 50 to 150 ng/dL. For men with frank primary hypogonadism, sleep optimization alone will not restore testosterone to normal range, but it remains a necessary adjunct to TRT.
Does high cortisol from poor sleep permanently damage testosterone production?
Chronic sleep deprivation suppresses testosterone through reversible mechanisms, primarily HPG axis suppression and StAR protein downregulation. Restoring sleep quality over several weeks typically allows testosterone to recover toward baseline. However, very prolonged cortisol excess can cause structural changes in the hypothalamus and Leydig cell populations that are slower to reverse.
Does testosterone therapy help with sleep quality?
Evidence suggests it can. A randomized trial published in The Journal of Clinical Sleep Medicine found that testosterone cypionate 200 mg every two weeks increased slow-wave sleep percentage over 12 weeks compared to placebo. However, TRT can also worsen obstructive sleep apnea, which would reduce sleep quality. Men starting TRT should be screened for OSA.
Does obstructive sleep apnea cause low testosterone?
Yes. Men with moderate-to-severe OSA have morning testosterone levels averaging 30% lower than controls. OSA causes repeated nocturnal hypoxia, suppresses slow-wave sleep, and raises cortisol across the entire 24-hour cycle. CPAP treatment for at least three months raises total testosterone by roughly 69 ng/dL without any hormone therapy.
What time of day should I test my testosterone levels?
Always test between 7 a.m. And 10 a.m. On a day when you have slept at least seven hours. Testosterone peaks in the early morning following its nocturnal synthesis during REM sleep. An afternoon testosterone result may be 20 to 35% lower than a morning value in the same individual, making it unreliable for diagnosing hypogonadism.
How does alcohol affect testosterone through sleep?
Two or more standard drinks within two hours of bedtime suppress REM sleep in the first half of the night, reducing the nocturnal LH pulsatility window that drives testosterone synthesis. Chronic heavy alcohol use also directly impairs Leydig cell function through hepatotoxic and direct gonadotoxic mechanisms, compounding the sleep-mediated effect.
Does melatonin affect testosterone levels?
Melatonin at physiological doses (0.5 to 1 mg) primarily acts as a circadian phase-shifting agent and does not appear to directly suppress testosterone. Pharmacological doses (5 to 10 mg) have shown mixed results in studies, with some animal research suggesting supraphysiological melatonin may suppress LH pulsatility. The clinical relevance in humans at standard OTC doses remains uncertain.
How does cortisol affect testosterone specifically?
Cortisol suppresses testosterone through at least three mechanisms: it downregulates StAR protein (the rate-limiting step in testosterone biosynthesis), it suppresses GnRH and LH secretion from the hypothalamus and pituitary, and it competes with testosterone for androgen receptor activation at the cellular level. Chronic cortisol elevation from poor sleep sustains all three suppressive pathways simultaneously.
What cortisol level is considered too high and suppressing testosterone?
An 8 a.m. Serum cortisol above 20 to 25 mcg/dL in a symptomatic man warrants clinical evaluation of sleep quality, psychological stressors, and adrenal function. However, even cortisol levels within the normal reference range can suppress testosterone if they are persistently elevated in the late evening (above 5 to 7 mcg/dL at 11 p.m.), which reflects circadian dysregulation rather than absolute hypercortisolism.
Can sleep deprivation cause high cortisol or does high cortisol cause poor sleep?
The relationship runs in both directions. Sleep restriction raises evening cortisol, and elevated cortisol increases arousal and suppresses melatonin, making it harder to fall and stay asleep. This bidirectional cycle means that addressing either sleep quality or cortisol management alone produces a partial benefit; the most effective clinical approach targets both simultaneously.

References

  1. Axelsson J, Ingre M, Akerstedt T, Holmback U. Effects of acutely displaced sleep on testosterone. J Clin Endocrinol Metab. 2005;90(8):4530-4535. https://pubmed.ncbi.nlm.nih.gov/15886247/
  2. Pruessner JC, Wolf OT, Hellhammer DH, et al. Free cortisol levels after awakening: a reliable biological marker for the assessment of adrenocortical activity. Life Sci. 1997;61(26):2539-2549. https://pubmed.ncbi.nlm.nih.gov/9416776/
  3. Hall MH, Kumanyika S, Kline CE, et al. Sleep duration and testosterone concentrations in community-dwelling men: the Boston Area Community Health survey. Sleep. 2020;43(12):zsaa130. https://pubmed.ncbi.nlm.nih.gov/32597975/
  4. Luboshitzky R, Zabari Z, Shen-Orr Z, Herer P, Lavie P. Disruption of the nocturnal testosterone rhythm by sleep fragmentation in normal men. J Clin Endocrinol Metab. 2001;86(3):1134-1139. https://pubmed.ncbi.nlm.nih.gov/11238497/
  5. 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. https://pubmed.ncbi.nlm.nih.gov/21632481/
  6. Spiegel K, Leproult R, Van Cauter E. Impact of sleep debt on metabolic and endocrine function. Lancet. 1999;354(9188):1435-1439. https://pubmed.ncbi.nlm.nih.gov/10543671/
  7. Guo JM, Zhou H, Dai SJ, et al. Glucocorticoid-induced suppression of steroidogenic acute regulatory protein expression in Leydig cells. Endocrinology. 2006;147(4):1909-1915. https://pubmed.ncbi.nlm.nih.gov/16396980/
  8. Whirledge S, Cidlowski JA. Glucocorticoids, stress, and fertility. Minerva Endocrinol. 2010;35(2):109-125. https://pubmed.ncbi.nlm.nih.gov/20595939/
  9. Pasquali R, Casimirri F, De Iasio R, et al. Insulin regulates testosterone and sex hormone-binding globulin concentrations in adult normal weight and obese men. J Clin Endocrinol Metab. 1995;80(2):654-658. https://pubmed.ncbi.nlm.nih.gov/7852532/
  10. Mulhall JP, Trost LW, Brannigan RE, et al. Evaluation and management of testosterone deficiency: AUA guideline. J Urol. 2018;200(2):423-432. https://pubmed.ncbi.nlm.nih.gov/29601923/
  11. Gambineri A, Pelusi C, Pasquali R. Testosterone levels in obese male patients with obstructive sleep apnea syndrome: relation to oxygen desaturation, body weight, fat distribution and the metabolic parameters. J Endocrinol Invest. 2003;26(6):493-498. https://pubmed.ncbi.nlm.nih.gov/12906358/
  12. Semenza GL. HIF-1 and mechanisms of hypoxia sensing. Curr Opin Cell Biol. 2001;13(2):167-171. https://pubmed.ncbi.nlm.nih.gov/11248550/
  13. Veldhuis JD, Roemmich JN, Richmond EJ, Bowers CY. Somatotropic and gonadotropic axes linkages in infancy, childhood, and the puberty-adult transition. Endocr Rev. 2006;27(2):101-140. https://pubmed.ncbi.nlm.nih.gov/16434492/
  14. Van Cauter E, Leproult R, Plat L. Age-related changes in slow wave sleep and REM sleep and relationship with growth hormone and cortisol levels in healthy men. JAMA. 2000;284(7):861-868. https://pubmed.ncbi.nlm.nih.gov/10938176/
  15. Bercea RM, Mihaescu T, Cojocaru C, Bjorvatn B. Testosterone and sleep: a bidirectional relationship. J Clin Sleep Med. 2015;11(6):647-653. https://pubmed.ncbi.nlm.nih.gov/25766703/
  16. Kumagai H, Zempo-Miyaki A, Yoshikawa T, et al. Increased physical activity has a greater effect than reduced energy intake on lifestyle modification-induced increases in testosterone. J Clin Biochem Nutr. 2016;58(1):84-89. https://pubmed.ncbi.nlm.nih.gov/26798192/
  17. Opperhuizen AL, van Kerkhof LW, Proper KI, Rodenburg W, Kalsbeek A. Rodent models to study the metabolic effects of shiftwork in humans. Front Pharmacol. 2015;6:50. https://pubmed.ncbi.nlm.nih.gov/25852558/
  18. Issa FG, Sullivan CE. Alcohol, snoring and sleep apnea. J Neurol Neurosurg Psychiatry. 1982;45(4):353-359. https://pubmed.ncbi.nlm.nih.gov/7077337/
  19. Okamoto-Mizuno K, Mizuno K. Effects of thermal environment on sleep and circadian rhythm. J Physiol Anthropol. 2012;31(1):14. https://pubmed.ncbi.nlm.nih.gov/22738673/
  20. Brzezinski A, Vangel MG, Wurtman RJ, et al. Effects of exogenous melatonin on sleep: a meta-analysis. Sleep Med Rev. 2005;9(1):41-50. https://pubmed.ncbi.nlm.nih.gov/15649737/