The Science-Backed Sleep Protocol: What Huberman, Attia & Hyman Actually Do
Huberman calls sleep "the Swiss Army knife of health." Attia ranks it as his #1 longevity lever. Hyman links poor sleep to virtually every chronic disease. So what do they actually do? We went through 150 of their videos and pulled out every specific protocol — temperatures, timings, supplements, and the one free habit all three agree matters most.
Jump to a section:
Sleep is the foundation everything else builds on. Huberman calls it the "Swiss Army knife of health." Attia considers it the number one lever for longevity. Hyman links poor sleep to virtually every chronic disease.
Yet most sleep advice is vague: "get 8 hours," "avoid screens." We wanted specifics. What exact protocols do these doctors follow? What time, what temperature, what supplements, and in what order?
The good news: The most powerful sleep intervention is completely free, and all three doctors agree on it.
The #1 protocol they all agree on
Get bright light in your eyes within 30-60 minutes of waking. This single habit does more for sleep quality than any supplement or gadget.
Why Is Morning Light the Most Important Sleep Hack?
"The single most important thing you can do for your sleep, energy, and mood." — Andrew Huberman
What the doctors say
Morning sunlight is the single most powerful free intervention for sleep quality because it triggers a cortisol pulse that sets your circadian clock and programs sleepiness 14-16 hours later. Huberman is emphatic about this, discussing the impact of light on productivity and noting that bright light in the first 0-9 hours after waking increases alertness. We break down the full protocol in our morning light exposure guide.
Hyman discusses the role of sunlight in biohacking, calling it "mimicking nature for health." He notes that optimizing your sleep environment includes managing light exposure throughout the day.
Attia emphasizes that sleep is vital for brain and metabolic health, and includes light management in his practical sleep hygiene recommendations.
The morning light protocol
- Timing: Within 30-60 minutes of waking
- Duration: 10-30 minutes (more on cloudy days)
- Method: Go outside—even overcast sky is 10x brighter than indoor light
- No sunglasses: Light needs to reach your eyes (regular glasses are fine)
- Cloudy day alternative: Use a 10,000 lux light therapy box
- Don't stare at the sun: Look toward the sky, not directly at the sun
Why this works
Morning light suppresses melatonin and triggers cortisol release, setting a timer that will trigger melatonin release 14-16 hours later. This is why consistent morning light leads to feeling naturally sleepy at the right time.
Key Takeaway
Morning light is the only sleep intervention all three doctors rank as non-negotiable. Everything else — supplements, temperature, gadgets — is secondary. If you change one thing, change this.
What Temperature Should Your Bedroom Be for Better Sleep?
Your body needs to drop 1-3°F in core temperature to initiate and maintain sleep.
What the doctors say
Your bedroom should be 65-68°F (18-20°C) because your body needs to drop 1-3°F in core temperature to initiate and maintain deep sleep. Huberman discusses thermal stress and its benefits extensively, noting that cold exposure increases mitochondria and activates thermogenesis, making a cool room essential for achieving the temperature drop needed for restorative rest.
Attia specifically recommends practical tips for improving sleep, including creating a dark and cool environment. He notes that temperature management is part of his longevity toolkit.
Hyman recommends creating a dark, cool, and quiet bedroom sanctuary as key to sleep optimization.
Temperature protocol
- Room temperature: 65-68°F (18-20°C)
- Hot bath/shower trick: Take a warm bath 1-2 hours before bed—it paradoxically cools you down after
- Cooling mattress pads: Some use devices like Eight Sleep or ChiliPad
- Feet out: Leaving feet outside covers helps regulate temperature
- Morning warmth: Warmer temperatures in the morning help wake you up
The science
Your core body temperature follows a circadian rhythm, dropping at night and rising in the morning. If your bedroom is too warm, your body can't achieve the temperature drop needed for deep, restorative sleep.
How Does Evening Light Affect Your Sleep?
What the doctors say
Bright overhead lights in the evening trick your circadian system into thinking it is midday, suppressing melatonin production and making it harder to fall asleep. Huberman recommends dimming lights and avoiding short-wavelength (blue) light 2-3 hours before bed to lower cortisol and promote sleep. He notes that looking down rather than up can induce calm, which is why scrolling on a phone held low is still disruptive—but less so than a bright TV at eye level.
Hyman emphasizes limiting artificial light, especially blue light, as key to optimizing your sleep environment and habits.
Evening light protocol
- 2-3 hours before bed: Dim overhead lights significantly
- Use low positioning: Table lamps and floor lamps are better than overhead lights
- Blue light glasses: Helpful but not a substitute for dimming lights
- Screen settings: Enable night shift/warm colors on devices
- Candlelight: Some recommend candles or salt lamps in the evening
- Bathroom trips: Use minimal/red light if you wake at night
The goal is to signal to your brain that the day is ending. Bright overhead lights at 10pm tell your circadian system it's midday.
The Caffeine Cutoff: When Your Last Cup Should Be
"Even if you can fall asleep after caffeine, it's disrupting your sleep architecture." — Peter Attia
What the doctors say
You should stop caffeine at least 8-10 hours before bedtime because caffeine has a 5-6 hour half-life, meaning even afternoon coffee disrupts deep sleep architecture even if you can still fall asleep. Huberman discusses caffeine's effects on dopamine and alertness, recommending a noon cutoff and delaying your first coffee until 90-120 minutes after waking to let adenosine clear naturally.
Hyman lists caffeine as one of the common sleep disruptors alongside alcohol and blood sugar issues.
Caffeine protocol
- Delay first cup: Wait 90-120 minutes after waking
- Cutoff time: No caffeine after noon (or 10+ hours before bed)
- Half-life awareness: Caffeine has a 5-6 hour half-life
- Individual variation: Some people metabolize caffeine faster (CYP1A2 gene)
- Hidden sources: Watch for caffeine in chocolate, tea, some medications
The math
If you have 200mg of caffeine at 2pm, you still have 100mg in your system at 8pm, and 50mg at 2am. That's like drinking half a cup of coffee while you're trying to sleep.
Our take
The 90-minute delay before your first coffee is the most counterintuitive advice here, but it made the biggest difference when we tested it ourselves. Adenosine needs to clear naturally — caffeine on top of it just masks tiredness and sets you up for a crash.
The Supplement Stack: What Actually Works (and What Doesn't)
Mentioned 10 times. Use after optimizing light, temperature, and caffeine—not instead of.
What the doctors say
Magnesium L-threonate or glycinate (200-400mg) taken 30-60 minutes before bed is the most consistently recommended sleep supplement across all three doctors, but supplements should only be used after optimizing light, temperature, and caffeine. We cover magnesium forms and dosing in depth in our longevity supplement guide. Huberman also discusses apigenin (found in chamomile) and L-theanine as options, while cautioning about melatonin since it is a hormone that can affect natural production.
Attia covers practical sleep tips including managing fluid intake before bed to avoid nighttime urination, and discusses melatonin use in older adults with appropriate caveats.
Hyman touches on magnesium and ashwagandha for sleep, while cautioning against reliance on any single supplement.
Sleep supplement stack (in order of evidence)
-
Magnesium (L-threonate or glycinate): 200-400mg, 30-60 min before bed
Most recommended across all three doctors -
L-theanine: 100-400mg
Promotes calm without sedation; found in green tea -
Apigenin: 50mg
Active compound in chamomile; Huberman's stack includes this -
Glycine: 2-3g
Amino acid that lowers core body temperature -
Melatonin: 0.5-1mg (low dose) only if needed
Caution: It's a hormone; avoid high doses or long-term use
Important note on melatonin
All three doctors express caution about melatonin. It's a hormone, not a vitamin. Most store-bought melatonin is dramatically overdosed (3-10mg when 0.3-0.5mg is physiological). Long-term high-dose use may affect your natural production.
The Bedroom Setup: Building a "Sleep Sanctuary"
Your bedroom should be a dark, cool, and quiet sanctuary with blackout curtains, a temperature of 65-68°F, and your phone out of the room or in airplane mode. Hyman coined this "sanctuary" framing, and it summarizes the consensus across all three doctors on what the ideal sleep environment looks like.
Environment checklist
- Darkness: Blackout curtains or sleep mask; cover LED lights
- Temperature: 65-68°F (18-20°C)
- Sound: Quiet, or consistent white/brown noise if needed
- Air quality: Consider an air purifier; avoid mold or allergens
- Bed = sleep: Avoid working or watching TV in bed (stimulus control)
- Phone: Out of the bedroom or in airplane mode
Explore the source data yourself
Search Huberman Lab transcripts for any sleep topic — dosages, timing, protocols.
Should You Nap, and If So, How Long?
Short naps of 20-30 minutes before 3pm can boost alertness, but they should never compensate for poor nighttime sleep. Attia discusses napping in the context of sleep for older adults, noting that sleep patterns change with age and that Huberman recommends non-sleep deep rest (NSDR/Yoga Nidra) as an effective alternative to traditional naps.
Napping guidelines
- Duration: Keep naps under 20-30 minutes to avoid sleep inertia
- Timing: Early afternoon (1-3pm) is optimal; avoid napping after 3pm
- Consistency: Regular short naps are better than irregular long ones
- If you can't sleep at night: Skip the nap to build sleep pressure
- NSDR/Yoga Nidra: Huberman recommends non-sleep deep rest as an alternative
Is Sleep Tracking Worth It?
Sleep tracking is useful for identifying trends over time but can backfire if you obsess over daily scores, a condition called "orthosomnia" that actually worsens sleep. Mentioned 20 times across the videos, the doctors have nuanced views: track changes over weeks and months, but remember that how you feel is ultimately more important than any score.
Tracking considerations
- Useful for trends: Track changes over time, not daily perfection
- Don't obsess: "Orthosomnia" (anxiety about sleep scores) can worsen sleep
- Popular devices: Oura Ring, WHOOP, Apple Watch, Eight Sleep
- Key metrics: Total sleep time, sleep efficiency, HRV, resting heart rate
- Subjective matters: How you feel is ultimately more important than a score
Attia has mentioned using tracking to identify patterns but cautions against letting the data create anxiety. The goal is information, not obsession.
What Does the Complete Sleep Protocol Look Like?
Morning (within 30-60 min of waking)
- 1. Get 10-30 minutes of bright light (outside if possible)
- 2. Delay caffeine 90-120 minutes after waking
- 3. Exercise (if you exercise—morning is ideal for circadian benefits)
Afternoon
- 4. Cut off caffeine by noon (or 10 hours before bed)
- 5. If napping: keep it under 30 minutes, before 3pm
Evening (2-3 hours before bed)
- 6. Dim lights significantly; use lamps instead of overhead lights
- 7. Avoid large meals; finish eating 2-3 hours before bed
- 8. Take a warm bath/shower (paradoxically cools you down after)
- 9. Limit alcohol (it disrupts REM sleep even if it helps you fall asleep)
30-60 minutes before bed
- 10. Take magnesium (200-400mg L-threonate or glycinate)
- 11. Optional: L-theanine (100-400mg), apigenin (50mg)
- 12. Set room to 65-68°F
In bed
- 13. Complete darkness (blackout curtains or sleep mask)
- 14. Phone out of room or airplane mode
- 15. Consistent wake time (more important than bedtime)
Frequently Asked Questions
What is Andrew Huberman's sleep protocol?
Morning light exposure (10-30 min), keeping the room cool, dimming lights in the evening, and supplements like magnesium L-threonate. Consistent wake times matter more than bedtimes.
What's the ideal bedroom temperature for sleep?
All three doctors recommend 65-68°F (18-20°C). Your body needs to drop its core temperature to initiate sleep, and a cool room facilitates this.
Should I take melatonin for sleep?
All three doctors express caution. Melatonin is a hormone, not a vitamin. If you use it, stick to low doses (0.3-0.5mg). Better to optimize light exposure, which regulates melatonin naturally.
What's the best sleep supplement?
Magnesium (L-threonate or glycinate) is the most consistently recommended. 200-400mg, 30-60 minutes before bed. It's involved in hundreds of enzymatic reactions and most people are deficient.
When should I stop drinking caffeine?
At least 8-10 hours before bed. Caffeine has a half-life of 5-6 hours, so even if you can fall asleep, it disrupts sleep architecture. A noon cutoff works for most people.
Want more insights from these doctors?
Taffy lets you search and analyze any YouTube channel's content. Ask specific questions and get answers from their actual videos.
Get Started FreeFree daily channel insights. No credit card required.
Written by
Arun Agrahri
Builder of Taffy. I spend most of my time analyzing YouTube channels to find patterns others miss. These guides are the result of processing thousands of videos and comments through our data pipeline.
Get the next guide first
We publish deep-dive research guides weekly. Be the first to know when new analysis drops.
No spam. Unsubscribe anytime.