Dr Matt Walker Using Sleep To Improve Learning Creativity Memory

Huberman Labwith Dr. Matthew Walker· · Episode aired April 24, 2024· 11 min read
Listen to this summary

High-Level Overview

In the fourth episode of their six-part series on sleep, Andrew Huberman and sleep scientist Dr. Matthew Walker of UC Berkeley, author of Why We Sleep, focus on how sleep shapes learning, memory and creativity. Walker organizes the science into three benefits: sleep before learning prepares the brain to take in new information, sleep after learning saves and strengthens it, and sleep blends new memories with everything already stored to produce insight and creativity. Along the way they discuss all-nighters and cramming, school start times, medical residents' sleepless shifts, motor skill learning in musicians and athletes, sleep paralysis, sleep trackers, and history's famous sleep-inspired discoveries.

The tone is warm, lively and full of stories, from Walker's own lab studies and a pianist who sparked a decade of research to Paul McCartney dreaming "Yesterday" and Thomas Edison napping with steel ball bearings in hand. The conversation moves between detailed experiments, brain mechanisms and practical advice for students, athletes and anyone learning something new.

Table of contents

The Discussion Explores:

  • Why sleep before learning restores the hippocampus's capacity to form new memories
  • The case for later school start times and against 30-hour medical resident shifts
  • Cramming, timing learning to your circadian peak, and the evening "second wind"
  • How sleep after learning saves memories, through transfer to the cortex and fast replay
  • Sleepwalking, REM sleep behavior disorder and REM sleep paralysis
  • How sleep enhances motor skills, especially stage 2 sleep spindles late in the night
  • Exercise, athletic performance, dieting while under-slept, belief effects and "orthosomnia"
  • How REM sleep builds distant associations that lead to creative insight

Deep Dive into Main Ideas

Sleep Before Learning: Clearing the Memory Inbox

Walker's lab asked whether pulling an all-nighter is wise. Healthy participants either slept or stayed awake all night, then tried to learn new facts inside a brain scanner. The sleep-deprived group showed a 40 percent deficit in forming new memories, and replications with different material have found deficits of 20 to 40 percent. The key structure is the hippocampus, which Walker describes as the brain's informational inbox. In rested people it lit up during learning; in sleep-deprived people there was almost no signal, as if new files were bouncing back. Animal studies show that sleep restriction makes the hippocampus's synapses resistant to forming new connections.

To test the reverse, his lab had two groups learn a large set of facts at midday, then learn new material six hours later at 6 p.m. The group that stayed awake learned worse in the evening, while a group that took a 90-minute nap was restored and even slightly better, a difference of about 20 percent. The benefit tracked non-REM sleep and especially sleep spindles, short bursts of electrical activity. Walker compares the hippocampus to a USB stick with limited space: sleep transfers files to the cortex, the hard drive, so you wake with room to learn again.

School Start Times and Sleepless Doctors

Walker calls the typical American school start time of around 7:30 to 7:45 a.m. "lunacy," since buses leave as early as 5:30 and some kids wake around 5 a.m. When Edina, a suburb of Minneapolis, moved its start from 7:25 to 8:30, the average SAT score of its top 10 percent of students reportedly rose from 1288 to 1500, though Walker notes some have questioned that data's reliability. Broader data consistently show better grades, fewer psychiatric problems and less truancy with later starts. Road accidents are a leading cause of death for 16- to 18-year-olds, and when Teton County, Wyoming shifted from about 7:35 to 8:55, car crashes in that age group fell 70 percent. Walker and colleagues helped pass a later-start law in California, signed by Governor Newsom after Governor Brown declined, and similar measures are spreading. He argues that if we can put people on the moon, we can fix bus schedules, adding that later dismissal may even reduce teen crime in the unsupervised hours after school. "When sleep is abundant, minds flourish," he says.

He recalls writing a Harvard Crimson editorial arguing that end-of-semester exam crunches force students into sleep deprivation, a piece that drew a chilly response. In medicine, citing Charles Czeisler's work, he says residents on 30-hour shifts make about 460 percent more diagnostic errors in intensive care, surgeons with under six hours of sleep in the prior 24 are about 70 percent more likely to cause surgical errors, and residents driving home after such shifts have a 168 percent higher crash risk. Arguments about patient safety were ignored until malpractice costs were raised. Sleep deprivation harms not just memory but decision-making, because the frontal lobe is especially vulnerable.

Cramming, Caffeine and Timing Your Learning

Walker advises treating sleep the night before learning as an investment rather than lost time. Staying up to study does help somewhat the next day, but in unpublished data his lab found that when tested a month later, those who had slept retained far more, while the sleep-deprived group had lost almost everything. Huberman calls this the cramming effect: information that never makes it into long-term memory.

If a bad night is unavoidable, there is some evidence that caffeine enhances hippocampal encoding, though no one has yet tested whether it rescues learning after sleep deprivation. A more reliable strategy is to time learning to your circadian peak, which for an early riser might be 10 to 11 a.m. and for Walker, who sleeps roughly 11 p.m. to 7:30 a.m., closer to midday or 1 p.m. After the post-lunch dip, which usually falls sometime between 1 and 4 p.m. and lasts an hour or so, there is a second window. They also discuss the evening "second wind," a brief circadian upswing just before the nightly drop that Walker thinks evolved to get us home safely at dusk. It usually lasts 45 to 70 minutes, and dimming lights and winding down helps you let it pass rather than mistaking it for a sign you are not tired.

Sleep After Learning: Hitting the Save Button

Sleep after learning strengthens freshly formed memories, which Walker describes as hitting the save button. A landmark study by Jenkins and Dallenbach, which Walker dates to 1929 and which tested just two participants but has been replicated many times, found that nonsense syllables were rapidly forgotten across waking hours, but after two to three hours of sleep, memories stopped decaying, as if set in amber. You do not need to rush to bed after learning: the brain can hold new memories for about 16 hours until sleep consolidates them.

Walker describes two complementary mechanisms for fact-based memory. The first is transfer: deep non-REM slow waves, with sleep spindles riding on top like surfers, shuttle memories from the vulnerable hippocampus to long-term storage in the cortex. The second is replay. Bruce McNaughton and Matt Wilson found that the firing pattern of hippocampal neurons in rats running a maze was replayed during non-REM sleep 10 to 20 times faster. Wilson later found that during REM sleep, replay slowed to about half of waking speed, which Walker suggests may explain why a five-minute snooze can feel like a long dream. They also mention studies showing London taxi drivers have larger hippocampi the longer they have done the job.

Get new Huberman Lab summaries by email

The GIST of every new Huberman Lab summary in your inbox, daily or weekly. Free, and you can unsubscribe any time.

Sleepwalking, REM Behavior Disorder and Sleep Paralysis

Sleepwalking and sleep talking arise from deep non-REM sleep, producing simple routine behaviors without dream content. REM sleep behavior disorder, more common in men over 50, happens when the brainstem's paralysis during REM breaks down and people act out their dreams, sometimes violently. Dogs show the same disorder, which Walker takes as evidence that animals dream.

Huberman describes waking paralyzed at 15 after a night of drinking. Walker explains this as REM sleep paralysis: consciousness returns before the brain releases the body from REM paralysis, often with a sense of an intruder, which he says explains most alien abduction stories. It is more likely when you are sleep-deprived, stressed or waking during REM-heavy morning sleep. Alcohol suppresses REM, so the next sleep rebounds hard into it. He experienced it himself as a PhD student after overnight sleep studies. Occasional episodes are not a cause for alarm.

Motor Skills: Practice With Sleep Makes Perfect

Fact-based (declarative) memory differs from procedural skill memory, such as riding a bike, which you can only show through action. A pianist once told Walker that pieces he struggled with at night came easily the next morning. Walker's lab tested this with a finger-tapping sequence (4-1-3-2-4) practiced in 12 trials. After 12 hours awake, performance was unchanged. After a night of sleep, speed improved about 20 percent and accuracy almost 37 percent. His conclusion: it is not practice that makes perfect but "practice with a night of sleep that makes or leads to perfection." For facts, sleep prevents forgetting; for motor skills, it actually enhances performance. The awake group improved once they slept the next night, and a nap produced the same benefit, ruling out a time-of-night effect.

The gains tracked stage 2 non-REM sleep spindles, and in high-density EEG recordings the spindles increased specifically over the brain region controlling the hand that had practiced, like a masseuse working on the muscles that need it most. Huberman links this to synaptic tagging. Spindles fire at about 12 to 15 times per second, a frequency well suited to strengthening synapses. More complex, two-handed sequences benefited even more, and sleep specifically smoothed the awkward pauses ("chunking") in a sequence, building automaticity. Stage 2 spindles are densest in the last quarter of the night, the exact sleep people cut short with early alarms, which is why coaches who wake athletes at 5 a.m. may be costing them skill gains. Walker mentions Cheri Mah's Stanford sleep extension study, in which basketball players improved their shooting and sprint speed.

Exercise, Athletic Performance and Belief

Intense learning can increase deep sleep, as a study from Jan Born's group showed, but physical activity is the more reliable way to deepen sleep, though it may slightly reduce REM sleep that night. In turn, sleeping under six hours reduces peak muscle strength, vertical jump and time to exhaustion (by up to 30 percent in some studies), reduces motivation to exercise and raises injury risk. Walker calls sleep "probably the greatest legal performance enhancing drug that most athletes are not abusing enough." Dieting while under-slept is also costly: about 60 percent of the weight lost comes from muscle rather than fat, because the body holds on to its most calorie-dense fuel under what it perceives as emergency conditions. Huberman lists sleep first among the pillars of health, followed by light, nutrition, exercise, social connection and stress management.

They also discuss belief. Huberman cites Alia Crum's work showing that performance depends partly on what people are told about their sleep. Walker warns about "orthosomnia," anxiety about achieving perfect sleep that is often fueled by trackers. He suggests checking tracker data only once a week, perhaps on a Sunday afternoon, or putting the device in a drawer until your confidence returns. With athletes during playoffs, he shares their sleep data only after a series ends. He adds a striking study: people told they would be woken at 5 a.m. began their morning cortisol rise at 5, even though everyone was actually woken at 7, showing the sleeping brain tracks time and expectations.

REM Sleep, Distant Associations and Creativity

The third benefit is what Walker calls informational alchemy. Sleep cross-links new memories with each other and with your whole life's store of knowledge, favoring distant, non-obvious connections, like search results from page 20 rather than page one. When his lab woke people from REM sleep, they solved anagrams about 30 percent better than when woken from non-REM sleep, in a more fluid way where answers seemed to pop out. In another study using the Number Reduction Task, which contains a hidden shortcut, a night of sleep produced a threefold increase in discovering the hidden rule compared with staying awake for the same period, whether across a day or a sleepless night. Both men note that ideas that feel brilliant when sleep-deprived usually are not.

History offers many examples: Dmitri Mendeleev dreaming the arrangement of the periodic table after obsessively shuffling element cards, the discovery of the benzene ring, Otto Loewi's Nobel-winning work on neurotransmission, and Paul McCartney waking with the melody of "Yesterday" and writing "Let It Be" after dreaming of his late mother, Mary. Huberman stresses that these insights followed intense waking effort on the problem. Thomas Edison, often called a short sleeper, was a habitual napper who held steel ball bearings over an upturned saucepan so that when he drifted into the in-between state and relaxed, the crash would wake him to write down ideas.

For practice, Huberman describes Rick Rubin's gradual transitions from sleep to waking and his long periods of lying still with eyes closed. Huberman himself avoids his phone for the first 30 minutes after waking so dream-born ideas are not crowded out by outside input. Walker suggests simply sitting with your thoughts on waking and notes that every culture has a version of "sleep on a problem"; in Spanish you have a conversation with your pillow, and in French you sleep with the problem. Huberman adds that flotation tanks, walks and showers are other ways people loosen rigid thinking, but sleep is the free, built-in version with enormous health benefits.


Conclusion

Walker's message is that sleep is active information processing, not downtime. Sleep before learning clears the brain's inbox, sleep after learning saves facts and actually improves motor skills, especially through spindle-rich stage 2 sleep late in the night, and REM sleep weaves new information into old to produce creative leaps. The practical lessons: protect the night before and after important learning, avoid cramming, time study to your circadian peak, do not cut off the last hours of sleep, use naps wisely, do not obsess over tracker scores, and give yourself quiet time on waking to catch the ideas sleep has prepared. For students, athletes, parents and educators alike, this episode makes a strong, evidence-rich case that sleep is the foundation of learning.


This is a summary of "Dr Matt Walker Using Sleep To Improve Learning Creativity Memory" from Huberman Lab, giving you the GIST so you can decide if you want the REST. Listen to the full episode.

Mentioned in this episode

  • Why We Sleep · Matthew Walker(our summary)
    Guest's best-selling book on the science of sleep
Get new Huberman Lab summaries by email

The GIST of every new Huberman Lab summary in your inbox, daily or weekly. Free, and you can unsubscribe any time.

Want the REST?

This is an independent summary. Listen to the full conversation from Huberman Lab.

Full episode

More from Huberman Lab