Cool down to fall asleep: using temperature as a sleep switch
Temperature researchers and a sleep physician explain that a drop in core body temperature triggers sleep, which is why cool rooms and warm showers that pull heat to the skin help. It offers a cheap, drug-free tool to people who struggle to fall asleep.

The Short Version
Falling asleep is tied to a drop in core body temperature. Andrew Huberman says the body cools by one to three degrees each night and calls that drop "like a gate that your body has to go through in order for you to get into sleep" [4]. Stanford thermal biologist Dr. Craig Heller explains why: at bedtime the brain's thermostat is heading toward a lower set point, and the body sheds heat mainly through the palms, the soles of the feet and the upper face [2]. That is why a cool bedroom, a hand or foot stuck out from under the covers, and a hot bath or sauna that leaves the core cooler afterward can all make sleep easier, while a cold shower or hard exercise late in the evening can push it away [2][4]. None of this needs a prescription: a fan, an open window, a thermostat and a bathtub are the main equipment [4].
Table of contents
What They Said
Andrew Huberman: temperature is one of the few levers that tell the body it's time to sleep
In his Sleep Toolkit episode, Huberman starts from the idea that your brain and body sit sealed inside your skin and skull and depend on a handful of outside cues, or "levers, to know when to be awake and when to sleep: light, darkness, temperature, food, exercise, caffeine, supplements and digital tools such as non-sleep deep rest (NSDR) scripts [4]. Temperature has a special place on that list because it works as a switch in both directions. In his words: Turns out that when your body is cooling down, you have a greater tendency to fall and stay asleep. In fact, every night when you actually sleep, your body is dropping by one to three degrees and that drop in temperature is required. [4] He adds that the converse is also true. If your body heats up by one to three degrees or so, you will wake up." [4]
He makes the same point more bluntly when introducing a sponsor: "If your body does not drop by one to three degrees, you are simply not going to get into deep sleep or stay in deep sleep." [4] Waking works the other way round: "Every time you wake up in the morning, your body is warming up in order to wake you up." [4] That warming, he explains, triggers a healthy morning cortisol peak that supports immune function, metabolism and focus, which is why he wants people to encourage the rise early in the day rather than fight it [4].
Morning: push the temperature up
Because a rising temperature wakes you, Huberman's morning advice is to raise it on purpose. One to three minutes of cold water (a cold shower, ice bath or cold tub) releases adrenaline and dopamine and, paradoxically, makes the core warm up afterward [4]. He explains the mechanism as a thermostat reflex: "Your body and brain interact as a bit of a thermostat system where if you put something cold on the surface of your body, your brain, a little cluster of neurons in the so-called medial preoptic area act as a thermostat and say, ah, the external of my body is cold and therefore I'm going to heat up my core body temperature." [4] The timing is what matters: "if you just get in for about one to three minutes or under the cold shower for one to three minutes, your core body temperature will increase." [4] Stay in much longer and the body really does cool [4]. Exercise does the same job; even a walk, light jog or skipping rope raises body temperature, and Huberman himself skips rope for 10 to 20 minutes facing the sun and then takes a cold shower [4].
Evening: do the opposite
At night, he says, temperature works in reverse [4]. His framing: "the way to leverage temperature in the evening is the exact opposite of the way that you want to leverage temperature early in the day" [4]. So the cold shower moves to the morning: "What that means is that taking a cold shower late at night is probably a bad idea." [4]
Instead, he recommends heat, used briefly. A hot bath, hot tub or sauna "you might think would heat up your body and indeed that's what happens if you stay in a very long time" [4]. But if you keep it to no more than 20 or 30 minutes and then get out and take "maybe a cool-ish shower or a warm shower, then what happens is there's a compensatory cooling off of your core body temperature" [4]. The result, as he puts it, is that "your body temperature will drop by one to three degrees and it will make it much easier to get into sleep." [4] His practical conclusion: "if you're somebody that enjoys hot baths, hot showers or hot tubs, evening and night time is going to be the best time to do that if your goal is to facilitate sleep." [4]
The bedroom: cool room, warm blankets, free hands and feet
The second evening tool is the room itself. "You should try and make your sleeping environment pretty cool if not cold," he says, adding that this does not mean you have to feel cold: "You can get under as many blankets as you need, but it's a good idea to make your sleeping environment cool." [4] He puts a number on it: "drop the temperature in that sleeping environment by at least three degrees and you'll be happy that you did." [4] He uses a temperature-controlled mattress cover, but he is clear that cheaper routes exist: "Other people would simply do this by putting a fan in the room or opening a window." [4]
The reason blankets and a cool room work together is the heat-loss portals Heller described. Huberman explains that you pass heat in and out of your body "primarily through the palms of your hands, the upper half of your face and the bottoms of your feet", credits the episode with Dr. Craig Heller for the mechanism, and says "if you're too warm under the blankets, all you have to do is extend a hand or a foot out from under those blankets." [4]
He links this directly to waking in the night: "if you're somebody who wakes up in the middle of the night, chances are you're waking up because you're getting too warm. And the best thing that you could do is to cool or lower the temperature in the room that you're sleeping and not wear socks." [4] That is why he isn't a fan of sleeping in socks unless you tend to wake up cold [4]. The same logic shapes his view of eye masks: they help people stay asleep, he says, "Provided they are not too tight and provided that the room is cool enough", because they cover the heat-releasing skin of the upper face, and people wearing them in a warm room can wake up too hot [4].
Rescuing a bad evening
Huberman does not present this as a rigid ritual. If you trained late, or had coffee in the afternoon, and feel wired at bedtime, he suggests using the same mechanism to calm down: a hot shower or bath followed by cooling off "will decrease your body temperature" [4]. He is honest about the limits: "Maybe not enough to get you into sleep if you have a ton of caffeine in your system." [4] His point is that temperature shifts are a tool you can use on imperfect days, not only when every habit is lined up [4].
The daily temperature curve behind it
In an earlier question-and-answer episode, Huberman explains the rhythm that all of this rides on. Body temperature is lowest around 4 a.m., rises after waking and peaks between about 4 and 6 p.m., which is why the idea of one correct body temperature is misleading [1]. The brain's master clock, the suprachiasmatic nucleus, signals the rest of the body partly by synchronizing temperature, and he stresses that "temperature is actually the effector of the circadian rhythm" [1]. He credits Joe Takahashi, now at UT Southwestern, for much of that science [1]. Light and exercise anchor the temperature rhythm; if you stay indoors all morning without light, he says, you may feel chilled by mid-morning as tissue clocks drift from the central clock [1].
In the Sleep Toolkit he adds the "temperature minimum", the time about two hours before your usual wake time when your body is at its coldest; if you wake at 7 a.m. it falls around 5 a.m. [4] "Your temperature minimum is not a temperature," he notes; it is a point in time [4]. Light, exercise or caffeine in the two to four hours before it delays your clock, and the same things after it advance your clock, which he suggests using to adjust to a new time zone [4].
Heat, cold and timing: the nuance in his earlier episode
The earlier episode adds detail about timing. A cold shower or ice bath triggers a rebound rise in body temperature; done early in the day, it phase-advances the clock and makes it easier to wake about half an hour to an hour earlier the next day [1]. After roughly 8 p.m., raising temperature phase-delays the clock, telling the body the day is still going, though Huberman notes that cold can also trigger a rebound in melatonin that helps some people sleep [1]. He describes his own experience: a hot shower, hot tub or sauna late at night drops his temperature afterward and helps him sleep if he hydrates, while a morning sauna without exercise afterward leaves him chilled [1].
Food feeds into the same system. Eating raises body temperature, so eating early tends to shift your rhythm earlier and eating very late tends to push it later [1]. A large meal of anything also makes you sleepy by drawing blood to the gut [1]. He suggests keeping simple notes for a stretch of days to spot patterns such as late eating paired with waking up hot at night [1]. His summary of the heavy tools for sleep and wake timing: "light and temperature are the real heavy duty levers" [1].
Dr. Craig Heller: the thermostat heads down at bedtime, and the hands and feet do the cooling
Craig Heller is a Stanford professor of biology and neurosciences whose lab works on thermal regulation and circadian rhythms [2]. Most of his conversation with Huberman is about performance, but the physiology he describes is the backbone of the sleep advice above, and he closes with a direct section on sleep.
Where the body sheds heat
Heller's central idea is that most of our skin is poor at dumping heat. "The primary sites of heat loss, which we're going to get into, are the palms of your hands, the soles of your feet, and the upper part of your face." [2] These hairless (glabrous) areas contain arteriovenous anastomoses, shunts that carry blood straight from arteries to veins and skip the high-resistance capillaries, so large volumes of warm blood can pass close to the surface and give off heat [2]. They are described in Gray's Anatomy, he says, but for a long time nobody knew what they were for [2]. Warm palms look red, and squeezing a glass turns them white by shutting off that flow [2].
He also corrects a common assumption: when people talk of vasoconstriction as something that happens across the whole skin surface, "that is not true", because the key heat-loss sites are those three portals [2].
The thermostat, and why fooling it backfires
The brain's thermostat sits in the preoptic anterior hypothalamus and takes an averaged reading from the whole body surface [2]. Heller's warning about cooling the wrong places is vivid: sending a cold signal to the thermostat while overheated is "wanting to cool your house by putting a wet washcloth over your thermostat. It's doing the wrong thing." [2] His lab has watched overheated volunteers cool their body surface: "they say it feels great. This is fantastic and their core temperature is going up." [2] Cold that is too intense also backfires at the portals themselves: "ice cold is too cold", because it makes the vessels in the palms constrict and seals the heat in [2]. His test for a home cooling attempt is to have someone feel your palm afterward: if it's cold, the vessels have constricted; if it's warm, blood is still flowing [2].
That point matters for sleep. It explains why the goal at bedtime is a cool room the body can gently lose heat into, not an icy shock, and why the hands and feet need to be free to do their work [2].
Body temperature is not one number
Heller also stresses that "we say our body temperature is 37 degrees, but that's not true. It varies across the day." [2] It also varies across the body: his own hands and arms, he says, are much cooler than 37 degrees while he talks [2]. This is the same daily rhythm Huberman describes, seen from a physiologist's side [1][2].
Temperature and sleep
Heller says sleep medicine now emphasizes cognitive behavioral therapy over drugs: regular bed and wake times, no screens within a couple of hours of bed, time to relax before bed, and managing temperature [2]. A warm bath helps many people [2]. The reason a cool room helps is the clock acting on the thermostat: "So our circadian clock is affecting our thermostat. So at the time we go to bed, our thermostat is on its way down to a lower set point." [2]
He describes a pattern many people will recognize. You go to bed feeling a bit cool: "So you pile on lots of blankets." [2] Later you wake up hot and throw them off, "because your thermostat has set downward" [2]. His answer: "It's better to have a cool environment because it's easier to thermoregulate." [2] He gives the example of European hotel rooms in summer with big down comforters: "You stick out your hands in your legs." [2] Huberman chimes in: "I have one leg that just hangs out of the", and Heller finishes the thought, "But that's there. You're heat loss surfaces, right?" [2] In a cool room, he says, "You can take advantage by passively regulating your body temperature." [2] In other words, a cool room lets the body fine-tune its own cooling through hands and feet during the night instead of forcing you awake to throw blankets off [2].
He adds one caveat that pulls slightly against Huberman: socks can help comfort, because the toes are among the most temperature-sensitive spots, a finding from an old study he says was supported by Eddie Bauer [2].
The boundary layer, and why still water feels less hot
Heller's explanation of the "boundary layer" adds context to the hot bath. When you first get into a hot bath it can feel almost painful, "And then you sit down and eventually it doesn't feel so hot anymore, because the still water, which is close to your skin, is coming into equilibrium with your skin." [2] That still layer acts like a blanket until you move and disturb it; a shower can never build one [2]. The same holds for a still cold pack, which loses effectiveness as it builds its own boundary layer [2].
Dr. Roger Seheult: the sleep physician's wider frame
Dr. Roger Seheult is board-certified in internal medicine, pulmonary disease, critical care and sleep medicine and works in the intensive care unit at Loma Linda University [3]. His episode is about the immune system rather than sleep onset, and the sources do not show him discussing a nightly temperature drop directly. What he does add is a physician's view of the conditions around sleep and of how heat and water act on the body.
Rest as a pillar, and real darkness at night
Rest is one of his NEWSTART pillars, which he defines as seven to eight hours of sleep, and he says it improves both vaccine antibody responses and how often people get sick [3]. He describes pineal melatonin at night diffusing into cells, which he thinks is part of why sleep is so restorative [3]. He recommends blackout measures, even aluminum foil on windows for night-shift workers, and an eye mask, since light passes through closed eyelids [3]. Huberman, in the same conversation, cites a study in which even dim 100-lux light in a sleeping room worsened morning blood glucose, and research from Charles Czeisler's lab showing that just 15 seconds of artificial light at night can significantly suppress melatonin [3]. He also notes that a brightly lit wall thermostat or night light can emit 100 to 400 lux [3].
These points connect with the temperature advice in one practical way. Huberman's condition for eye masks is a cool room, because a mask covers the heat-releasing skin of the upper face [4]. Put together, the physician's call for a dark room [3] and the thermal advice for a cool one [2][4] describe the same bedroom.
Heat and water, used for a different goal
Seheult's use of heat is aimed at fighting infection, not at sleep. Because water holds so much heat, he says, hot baths, saunas, hot showers or the historic "hot fomentations" are an effective way to raise body temperature [3]. The historic Battle Creek Sanitarium protocol was about 20 minutes of heat followed by a very brief cold application with rubbing, similar to Russian banya and Finnish traditions; the cold causes vasoconstriction, which he says helps lock in the heat and pushes white blood cells into circulation [3]. Huberman adds that pregnant women should avoid saunas [3].
This is useful context rather than a sleep protocol. It shows that the order and length of heat and cold decide what the body does afterward. Seheult's hot-then-brief-cold sequence is meant to hold heat in [3], whereas Huberman's evening bath is meant to let the core cool afterward [4].
Meal timing
Seheult likes dinner around 6 to 6:30 and suspects we should eat only while the sun is up, based on Glen Jeffery's glucose data, but cautions that these rules shouldn't become so rigid they cause anxiety [3]. That sits alongside Huberman's point that eating raises body temperature and that very late eating pushes the rhythm later [1].
The GIST of every new summary in your inbox, daily or weekly. Free, and you can unsubscribe any time.
Where They Agree, and Where They Don't
Agreement
The body has to cool to sleep. Huberman calls a one-to-three-degree drop "required [4], and Heller describes the thermostat as on its way down to a lower set point" at bedtime [2]. Huberman's earlier episode places the whole thing inside the circadian system, with temperature as its effector [1].
A cool room helps. Both recommend a cool bedroom and adding covers as needed rather than a warm room [2][4]. Huberman says to drop it "by at least three degrees" [4]; Heller says a cool environment makes it "easier to thermoregulate" [2].
Hands and feet are the release valves. Heller's heat-loss portals (palms, soles, upper face) are the mechanism Huberman cites by name when he tells listeners to stick a hand or foot out from under the covers [2][4].
A warm bath helps. Heller says a warm bath helps many people [2]; Huberman explains the compensatory cooling afterward and limits the soak to 20 or 30 minutes [4], and describes the same effect in his own routine [1].
Behavior before drugs. Heller notes sleep medicine's shift toward cognitive behavioral therapy over drugs, with temperature management as one of its parts [2]. Huberman's rule is "behavioral tools first, then look to nutrition, then if necessary, look to supplementation" [4]. Seheult repeatedly stresses foundational, often free habits [3].
Disagreement and tension
Socks. This is the clearest split. Huberman isn't a fan of sleeping in socks unless you tend to wake up cold, and tells night-wakers to lower the room temperature and "not wear socks" [4]. Heller says socks can help comfort, because the toes are among the most temperature-sensitive spots [2]. The two views are less opposed than they look. Huberman's reasoning is about heat loss: the soles are a portal, and covering them makes it harder to shed heat, which he believes wakes many people in the night [4]. Heller's point is about comfort: cold toes are very noticeable and can keep you from settling [2]. Huberman's own exception for people who wake up cold points to the middle ground [4].
Cold in the evening. In the Sleep Toolkit, Huberman says a cold shower late at night "is probably a bad idea" because it drives the core temperature up and wakes you [4]. In his earlier episode he is more nuanced: after roughly 8 p.m. raising temperature phase-delays the clock, but cold can also trigger a rebound in melatonin that helps some people sleep [1]. The later, more practical episode leans toward heat in the evening and cold in the morning [4], while the earlier one leaves room for individual differences [1]. His advice to track your own responses is his way of settling it [1].
How strong the evidence is. Huberman states the temperature drop as a requirement, a "gate" [4]. Heller is generally careful to say which of his ideas are proven and which are still speculation [2], and he presents temperature management as one part of the behavioral package rather than a stand-alone cure [2]. The sources give no trial of a specific bath temperature or bedroom setting, so the exact numbers (20 to 30 minutes of heat, three degrees cooler) come from Huberman's practical guidance, not from a cited study [4].
The physician's contribution is indirect. Seheult, the sleep physician among the sources, does not speak to the temperature drop itself in what the sources show; his contributions are darkness, rest and the effects of heat and water on immunity [3]. Readers should not read his hydrotherapy protocol, which is designed to raise and hold body heat, as a sleep routine [3].
Why It Works
A thermostat that follows the clock
Heller places the thermostat in the preoptic anterior hypothalamus and says the circadian clock moves its set point: at bedtime it is heading down [2]. Huberman describes the same cluster, in the "so-called medial preoptic area", acting as a thermostat that compares the body surface with the core [4]. Across the day, temperature bottoms out around 4 a.m. and peaks between about 4 and 6 p.m. [1], and the master clock uses temperature to carry its timing signal to the body's tissues, which is what Huberman means by calling temperature "the effector of the circadian rhythm" [1]. The evening fall is therefore not just a comfort issue; it is part of the clock's message that the day is over [1][2].
A gate in both directions
Huberman describes a symmetric switch: a one-to-three-degree fall helps you fall and stay asleep, and a rise of about the same size wakes you [4]. The morning rise also triggers the cortisol peak that supports focus and immune function [4]. This symmetry explains why the same tools (cold water, heat, exercise, food) have opposite effects depending on the time of day [1][4].
Rebound effects: why heat can cool you and cold can warm you
Both directions work through the thermostat reacting to what the skin reports. Brief cold on the skin makes the brain heat the core, so one to three minutes of cold water raises core temperature [4]. Heat does the reverse: a short hot bath, hot tub or sauna, followed by getting out, produces "a compensatory cooling off of your core body temperature" [4]. Stay in either one too long and the direct effect wins: a long cold soak really does cool you, and a long hot soak really does heat you [4]. That is why the time limits (one to three minutes of cold, no more than 20 or 30 minutes of heat) are part of the protocol [4].
The portals and their special vessels
The hands, feet and upper face shed heat so well because of their arteriovenous anastomoses, which route large volumes of warm blood straight from arteries to veins close to the skin [2]. When they're open, the palms look red; when they clamp shut, as with a tight grip or icy cold, the flow stops [2]. In bed, pushing a hand or foot out from under the covers exposes these portals to cool air, which lets the body keep dropping its temperature without waking [2][4]. Heller's point that ice-cold surfaces make the portals constrict [2] is also why the target is cool, not freezing.
Why a warm room wakes people up
Heller's description of the blanket cycle explains many middle-of-the-night wakings: people feel cool at bedtime, pile on blankets, then wake hot because the thermostat has moved down while they were buried [2]. Huberman reaches the same conclusion: "chances are you're waking up because you're getting too warm" [4]. A cool room gives the body a gradient to lose heat into, and lets it regulate passively through the portals [2]. Covering the upper face with an eye mask in a warm room removes one of those portals, which is why Huberman ties masks to a cool room [4].
Other inputs that move the same dial
Anything that raises body temperature late in the day can work against sleep. Intense exercise in the afternoon or evening raises body temperature and delays the clock [4]. Eating raises body temperature, so very late meals push the rhythm later [1]. Light, too, anchors the temperature rhythm [1]. Huberman's note that late eating can pair with waking up hot at night [1] fits the same model.
Where It Applies, and Where It Doesn't
It targets falling and staying asleep, not every sleep problem. The sources present temperature as one lever among several: light, darkness, food, exercise and caffeine all matter [4], and Heller frames it as one piece of a cognitive behavioral approach alongside regular sleep times, no screens and time to relax [2]. Huberman admits a hot bath may not be enough to get you to sleep "if you have a ton of caffeine in your system" [4]. Sleep apnea is a separate issue Huberman calls "bad" and links to cardiovascular, sexual and cognitive problems [4]; that needs a doctor, not a cooler room.
Timing changes the effect. The same tool can help or hurt. Cold water in the morning wakes you and can shift your clock earlier [1][4]; late at night it is "probably a bad idea" for most people [4], although Huberman notes some people get a melatonin rebound from cold that helps them sleep [1]. Heat after roughly 8 p.m. can phase-delay the clock [1], yet a short bath that ends in cooling helps sleep [4]. What decides the outcome is the length of exposure and what the body does afterward [4].
Individual differences are real. Huberman's own late-night heat routine helps him sleep only if he hydrates [1], and he urges slow, careful self-experimentation, changing one or two variables at a time [1]. People who tend to wake up cold are the stated exception to his no-socks rule [4], and Heller's comfort argument for socks [2] suggests some people will sleep better with them.
Some people should be careful with heat. Huberman says pregnant women should avoid saunas [3]. Heller describes how people with multiple sclerosis are very sensitive to heat [2], and his lab's work shows that overheating impairs thinking and can be dangerous [2]. Anyone with a heart condition, a heat-sensitive illness or who is pregnant should check with a doctor before adding hot baths or saunas to a bedtime routine.
Very cold is not better. Heller's rule that "ice cold is too cold" [2] applies in spirit to the bedroom: the goal is a room the body can shed heat into, with blankets as needed [4], not a room so cold that the portals clamp down.
The evidence is mechanistic and practical, not trial-based. The sources explain the physiology and describe clinical practice [2][4], but they do not cite a controlled trial of a bedtime bath or a specific room temperature. The numbers offered (20 to 30 minutes of heat, at least three degrees cooler) are Huberman's practical guidance [4].
For persistent insomnia, waking unrefreshed, loud snoring or pauses in breathing, see a doctor or sleep specialist; temperature tools are a support, not a substitute for diagnosis.
What To Do With It
Cool the bedroom by at least three degrees. Huberman's rule is to "drop the temperature in that sleeping environment by at least three degrees" [4]. A fan or an open window works as well as expensive gear [4]. Heller's reason: at bedtime the thermostat is heading down, and a cool room makes it "easier to thermoregulate" [2].
Stay warm with blankets, not with room heat. Get under as many blankets as you need to fall asleep, in a cool room [4]. If you wake hot, don't pile on more; this is the cycle Heller describes, where the thermostat drops while you're buried under covers [2].
Let your hands and feet vent. Stick a hand or foot out from under the covers when you're warm; the palms, soles and upper face are the body's heat-loss portals [2][4]. If you wake in the night, Huberman's first suspect is that you're too warm [4].
Take a hot bath, shower, hot tub or sauna in the evening, not too long. Keep it to no more than 20 or 30 minutes, then get out and take a cool-ish or warm shower so the core cools afterward [4]. Heller says a warm bath helps many people [2]. Hydrate if you use heat late, as Huberman does [1]. Pregnant women should avoid saunas [3].
Move cold water to the morning. One to three minutes of cold water after waking raises core temperature and alertness [4], and early cold can make it easier to wake earlier the next day [1]. Avoid a cold shower right before bed unless you've found it helps you personally [1][4].
Rethink socks and eye masks. If you wake up hot, sleep without socks [4]; if cold toes keep you awake, socks can help comfort [2]. If you use an eye mask for darkness, which Seheult recommends because light passes through closed eyelids [3], keep it loose and the room cool, since it covers the heat-releasing upper face [4].
Keep late workouts and big late meals from heating you up. Intense afternoon or evening exercise raises body temperature and delays the clock [4], and eating very late pushes the rhythm later [1]. Seheult prefers dinner around 6 to 6:30 [3]. If you do train late, use a hot shower followed by cooling off to help bring your temperature down [4].
Keep the room dark as well as cool. Blackout measures, dim low lights at night, and no bright light between 10 p.m. and 4 a.m. support the same sleep-onset system [3][4].
Track your own response. For a stretch of days, note when you ate, exercised, used heat or cold, and when you felt unusually hot or cold at night, and change one or two variables at a time [1]. As Huberman puts it, "Self-experimentation is something that should be done slowly carefully" [1].
Sources
- Using Science to Optimize Sleep, Learning & Metabolism · Huberman Lab
- Dr. Craig Heller: Using Temperature for Performance, Brain & Body Health · Huberman Lab
- How to Enhance Your Immune System · Huberman Lab
- Sleep Toolkit: Tools for Optimizing Sleep & Sleep-Wake Timing · Huberman Lab