Home / Health Hub / Sleep Hormones: Cortisol, Melatonin, and the Science of Rest

08 April 2026 · Ali Awwad

Sleep Hormones: Cortisol, Melatonin, and the Science of Rest

Sleep Hormones: Cortisol, Melatonin, and the Science of Rest

Sleep is not a passive state of rest; it is a highly active, biochemically complex process essential for cellular repair, memory consolidation, and immune system regulation. Despite its critical importance, chronic insomnia and poor sleep quality have reached epidemic proportions. While sleep hygiene (dark rooms, no screens) is important, it often fails to address the root cause of insomnia: a dysregulated hormonal rhythm.

As a clinician, when a patient presents with chronic sleep issues—whether it's difficulty falling asleep, waking up at 3 AM wired and anxious, or waking up exhausted after eight hours—I look directly at the body's internal clock, the circadian rhythm, and the two primary hormones that govern it: Cortisol and Melatonin.

The Diurnal Dance: Cortisol and Melatonin

Your sleep-wake cycle is dictated by a delicate, inverse relationship between cortisol (the alerting hormone) and melatonin (the sleep hormone). This 24-hour cycle is known as the diurnal rhythm.

  • The Morning Surge (Cortisol): In a healthy rhythm, cortisol levels should be at their absolute highest about 30 to 45 minutes after waking up. This is the Cortisol Awakening Response (CAR). It provides the energy and alertness needed to start the day. Throughout the day, cortisol should steadily decline, reaching its lowest point around midnight.
  • The Evening Rise (Melatonin): As daylight fades, the pineal gland in the brain begins to secrete melatonin. Melatonin does not act like a sleeping pill that knocks you out; rather, it signals to the brain that it is time to initiate the physiological processes of sleep. As melatonin rises in the evening, cortisol must drop.

When the Rhythm Breaks

Modern lifestyles—characterized by chronic psychological stress, caffeine overconsumption, and late-night exposure to blue light from screens—can severely disrupt this delicate dance.

The most common clinical presentation of sleep dysregulation is an inverted or flattened cortisol curve. Due to chronic stress, the adrenal glands pump out cortisol late into the evening. Because cortisol and melatonin are antagonistic, this high evening cortisol suppresses melatonin production. The patient feels "tired but wired"—physically exhausted but mentally racing, unable to initiate sleep.

Another common pattern is the 3 AM spike. Blood sugar naturally drops during the night. If the liver's glycogen stores are depleted, the body perceives this low blood sugar as an emergency and releases a surge of cortisol and adrenaline to raise it. The patient wakes up suddenly in the middle of the night, heart pounding, and cannot get back to sleep.

Infographic showing the diurnal rhythm of cortisol and melatonin and how it regulates sleep

Testing the Diurnal Rhythm

A standard morning blood test for cortisol is insufficient for diagnosing sleep issues, as it only provides a single snapshot. To accurately assess the circadian rhythm, we use a Saliva or Urine Cortisol Profile.

This test involves collecting samples at four specific points throughout the day (e.g., waking, noon, late afternoon, and before bed). This maps the entire diurnal curve, allowing us to see exactly when cortisol is peaking and when it is dropping. Many advanced panels also measure melatonin levels before bed.

Restoring the Rhythm

Once we identify the specific disruption in the curve, interventions become highly targeted:

  • High Evening Cortisol: Interventions focus on aggressive stress management in the afternoon, limiting caffeine after midday, and utilizing adaptogenic herbs (like Ashwagandha or Phosphatidylserine) to blunt the evening cortisol spike.
  • Low Morning Cortisol: If the patient struggles to wake up, we focus on morning light exposure (viewing sunlight within 30 minutes of waking to trigger the CAR) and adrenal support.
  • The 3 AM Wake-Up: Often resolved by a small, protein-and-complex-carbohydrate snack before bed to stabilize nocturnal blood sugar.

By testing and correcting the underlying biochemistry, we can restore the natural diurnal rhythm, allowing for deep, restorative, and unmedicated sleep.

Investigate Your Sleep Biochemistry

These tests help identify the hormonal and metabolic root causes of chronic sleep issues:

  • Cortisol Blood Test Kit: Measures morning cortisol to assess the Cortisol Awakening Response (CAR) and baseline adrenal function.
  • Thyroid Function Blood Test Kit: Rules out thyroid dysfunction as a cause of insomnia or early-morning waking — both overactive and underactive thyroid disrupt sleep.
  • Advanced Diabetes Blood Test: Investigates blood sugar dysregulation and insulin resistance — a common cause of the 3 AM cortisol spike.

Medical References

  1. Walker, W. H., et al. (2020). Circadian rhythm disruption and mental health. Translational Psychiatry, 10(1), 28.
  2. Touitou, Y., Touitou, D., & Reinberg, A. (2017). Disruption of adolescents' circadian clock: The vicious circle of media use, exposure to light at night, sleep loss and risk behaviors. Journal of Physiology-Paris, 591(4-5), 327-331.
  3. Hirotsu, C., Tufik, S., & Andersen, M. L. (2015). Interactions between sleep, stress, and metabolism: From physiological to pathological conditions. Sleep Science, 9(3), 143-152.
Back to Health Hub