PEAK PERFORMANCEDays to result

The Temperature-Gated Sleep Protocol

Engineer your body temperature drop to fall asleep faster and stay asleep

Problem it solves

Poor sleep quality and insufficient sleep duration degrade cognitive performance, mood, and physical health; this framework provides specific sleep protocols to optimize recovery and maximize daytime energy and performance.

Best for

People who struggle to fall asleep, wake frequently during the night, or feel unrested despite adequate sleep duration

Not ideal for

Individuals whose sleep issues stem from medical conditions (sleep apnea, restless leg syndrome) requiring clinical intervention rather than behavioral and environmental changes

Overview

Why this framework exists

Sleep initiation requires a 1-3 degree drop in core body temperature. This is not optional biology -- it is a prerequisite. Throughout the day, body temperature rises from its morning low (the temperature minimum) to an afternoon peak, then begins declining toward evening. The speed and completeness of this temperature decline determines how easily you fall asleep and how well you stay asleep.

The protocol accelerates this temperature drop through a counterintuitive mechanism: hot exposure before bed. A hot bath, shower, or sauna session causes blood vessels to dilate to the skin surface, and when you exit the heat, your body engages powerful cooling mechanisms that drop core temperature below where it would have been without the heat exposure. This is the same mechanism the body uses during sleep when you unconsciously stick a hand or foot out from under the covers -- those glabrous (hairless) skin surfaces on your palms, soles, and upper face contain arteriovenous anastomoses (AVAs) that act as radiators.

The framework layers three evidence-based sleep supplements on top of this temperature protocol: magnesium threonate or bisglycinate (300-400 mg), apigenin (50 mg), and theanine -- taken 30-60 minutes before sleep. These compounds promote GABA release and chloride channel activation, quieting the forebrain's executive function and reducing the rumination that keeps many people awake.

Core principles

5 total
  1. Sleep onset requires a 1-3 degree drop in core body temperature -- this is a non-negotiable biological prerequisite
  2. Hot exposure before bed paradoxically accelerates cooling by triggering the body's thermoregulatory mechanisms
  3. Glabrous skin surfaces (palms, soles, upper face) contain AVAs that act as temperature radiators during sleep
  4. GABA-promoting supplements quiet the forebrain's executive function, reducing the rumination that prevents sleep
  5. Light between 10 p.m. and 4 a.m. suppresses melatonin and disrupts dopamine -- afternoon sunlight reduces evening light sensitivity

Steps

5 steps
  1. Get afternoon sunlight to buffer evening light sensitivity
    Spend 10-30 minutes outdoors in the afternoon (around 4 p.m.) without sunglasses. This lowers retinal sensitivity in the late evening, reducing the melatonin-suppressing and dopamine-disrupting effects of indoor light exposure after dark.
    Pro tipThis afternoon light dose serves double duty: it calibrates your circadian clock and protects your sleep from the inevitable indoor light exposure that evening.
  2. Use hot exposure 1-2 hours before bed
    Take a hot bath, hot shower, or sauna session. When you exit, your body activates cooling mechanisms that drop core temperature below baseline, accelerating the thermal conditions required for sleep onset. The duration does not need to be long -- even 10-20 minutes is effective.
    Pro tipIf a sauna is unavailable, a hot shower focused on the torso works. The key is raising skin temperature enough to trigger the vasodilation-then-cooling response.
    WarningDo not use cold exposure immediately before bed. While cold plunges have benefits, they increase core body temperature through vasoconstriction and can delay sleep onset.
  3. Prepare a cool, dark bedroom
    Keep the bedroom dark and cool. Darkness protects melatonin production, while a cool room supports the body's need to shed heat during sleep. Ensure you can easily extend a hand, foot, or face out from under covers to engage the AVA cooling surfaces.
    Pro tipIf you share a bed with someone who runs cold, use separate blankets rather than compromising on room temperature.
    WarningLight exposure between 10 p.m. and 4 a.m. is the most damaging window for melatonin and dopamine. If you must use lights at night, keep them as dim as possible.
  4. Take the sleep supplement stack 30-60 minutes before bed
    Take 300-400 mg of magnesium threonate or bisglycinate, 50 mg of apigenin, and theanine. Magnesium and apigenin promote GABA release to quiet the forebrain. Theanine activates chloride channels that lower neural activity. Together they reduce rumination without the rebound wakefulness associated with serotonin or melatonin supplements.
    Pro tipStart with magnesium alone for a few nights to assess your response before adding apigenin and theanine.
    WarningConsult your physician before starting any supplement regimen. These compounds have wide safety margins but may interact with medications.
  5. If you wake at night, keep lights dim and return to bed quickly
    Middle-of-the-night waking is normal. If you need to use the restroom, keep lights as dim as possible and return to bed promptly. Bright light during the 10 p.m.-4 a.m. window is strongly disruptive to dopamine production and melatonin.
    Pro tipIf you consistently wake at 2-3 a.m. and cannot return to sleep, consider whether your natural melatonin pulse started earlier in the evening and you are pushing past it. Going to bed 30-60 minutes earlier may resolve the issue.

Checklist

Saved in your browser

Examples

2 cases
The ruminator who cannot shut off their brain

A lawyer lies awake for 45-60 minutes most nights reviewing the next day's cases in her mind. Her forebrain is stuck in planning mode. She implements the hot shower followed by the magnesium-apigenin-theanine stack, dimming all lights 60 minutes before bed and getting afternoon sunlight during her post-lunch walk.

OutcomeWithin a week, her sleep onset drops to under 15 minutes most nights. The GABA-promoting supplements quiet the planning circuits, and the temperature drop from the hot shower provides the physiological signal her body needs. She describes the effect as her brain finally having a 'power-down sequence.'
The night owl fighting biology

A graduate student stays up until 1 a.m. studying, then cannot fall asleep until 2 a.m. because bright overhead lights suppress his melatonin. He switches to dim amber lighting after 9 p.m., takes a hot shower at 11:30 p.m., and supplements with magnesium threonate at 11 p.m. He also begins getting 15 minutes of afternoon sunlight to lower his evening light sensitivity.

OutcomeHis sleep onset moves from 2 a.m. to 12:15 a.m. within the first week. The combination of reduced light exposure, temperature manipulation, and GABA support creates reliable sleep onset without the grogginess he experienced from over-the-counter melatonin.

Common mistakes

4 traps
Taking melatonin supplements
Huberman does not recommend supplemental melatonin because it is a hormone with system-wide effects beyond sleep, and typical supplement doses far exceed the body's natural production. The protocol instead supports the body's own melatonin production through light management and temperature manipulation.
Using cold exposure before bed for relaxation
Cold plunges and cold showers trigger vasoconstriction and increase core body temperature as the body works to warm itself. This is the opposite of what sleep onset requires. Save cold exposure for the morning or early afternoon.
Supplementing with serotonin precursors (5-HTP, tryptophan) for sleep
While serotonin is involved in sleep initiation, directly supplementing with precursors can cause a pattern of fast sleep onset, 3-4 hours of deep sleep, then prolonged wakefulness. Huberman reports this effect can persist for several days and is highly disruptive.
Bright screen exposure in the 10 p.m.-4 a.m. window
This is the period of maximum retinal sensitivity to light. Even moderate indoor lighting during this window suppresses melatonin and disrupts dopamine production. Afternoon sunlight exposure helps buffer this sensitivity but does not eliminate it.

Origin story

How this framework came to be

The temperature-sleep connection has been documented in sleep research for decades, but the practical application of using heat exposure to accelerate cooling came from thermoregulation physiology. Huberman connected the research on arteriovenous anastomoses (AVAs) -- specialized vascular structures in the palms, soles, and face that rapidly exchange heat -- with the sleep literature showing that a 1-3 degree core temperature drop is necessary for sleep onset.

The supplement stack emerged from Huberman's review of clinical literature on GABA-ergic compounds. Rather than recommending melatonin (which he avoids due to dosing concerns and its role as a hormone), he identified three compounds that support the brain's own sleep-promoting mechanisms: magnesium forms that cross the blood-brain barrier, apigenin (the active compound in chamomile), and theanine (which activates chloride channels for neural quieting).

Source

Traced to primary
Source · PODCAST
Maximize Productivity, Physical & Mental Health With Daily Tools
Andrew Huberman · 2025
Open source →