How Sleep Affects Memory and Focus

Sleep readies the brain to learn, helps it keep what it learned, and holds attention steady the next day.

Sleep supports memory at both ends. Before learning, it readies the brain to take in new information; after learning, it helps consolidate what was taken in.1,2 Attention depends on it too, and sleep loss affects attention and vigilance more than any other mental ability.3 In a two-week laboratory study, six hours a night produced deficits equivalent to up to two nights without sleep, while people rated themselves only a little sleepier.4 Sleep disorders such as obstructive sleep apnea produce similar deficits.5

A night without sleep makes the next day’s learning harder to keep. In a study at Harvard, people who stayed awake all night before viewing a series of images recognized 19% fewer of them later than people who had slept. Brain imaging showed reduced activity in the hippocampus, the region that records new memories, during learning, which pointed to a problem with forming memories rather than simply with staying alert.1

An all-nighter after studying works against itself. It removes the sleep that helps new material stick.2 During deep, slow-wave sleep, patterns of brain activity from the day are reactivated, which helps move new memories from the hippocampus into longer-term storage; REM sleep plays its own part.2 The benefit covers memories for facts and events, skills, and emotional experiences.2

Attention is where sleep loss shows first. Across 70 studies of short-term sleep deprivation, simple attention and vigilance took the largest hit, working memory (the mental scratchpad that holds a phone number while you dial it) a moderate one, and reasoning very little.3 In daily life that looks like lapses: a missed sentence in a meeting, a slow start at a green light, a typo you read straight past.

Not for most adults, and the shortfall is hard to feel. Researchers limited 48 healthy adults to four, six or eight hours in bed for 14 nights. Performance declined steadily in the four- and six-hour groups, and by the end, six hours a night produced deficits equivalent to up to two nights of total sleep deprivation.4

The participants did not notice. Their sleepiness ratings rose at first, then crept up only slightly, and the researchers concluded they were largely unaware of their growing deficits.4 Adults need seven or more hours on a regular basis.6

Hours in bed are not the whole story. In obstructive sleep apnea the airway narrows or closes repeatedly during the night, and reviews of the research consistently find deficits in attention and vigilance, longer-term visual and verbal memory, and executive function, while language is spared.5 The condition is widely under-recognized.7 Obstructive sleep apnea explains the signs and how it is confirmed, and circadian rhythms covers sleep that happens at the wrong time.

Timing counts too. Night shifts and a naturally late body clock push sleep against the body’s internal schedule, which shortens it and leaves people sleepy when they need to be alert.8

Memory or concentration problems that come on suddenly, or keep getting worse, need prompt medical attention whatever your sleep is like. Loud snoring, pauses in breathing that someone else has noticed, or dozing during the day despite enough time in bed are reasons to look for a sleep disorder. When tiredness needs a doctor covers what to bring. If daytime sleepiness is part of the picture, an evaluation can look for a treatable sleep disorder.

  1. Yoo SS, Hu PT, Gujar N, Jolesz FA, Walker MP. A deficit in the ability to form new human memories without sleep. Nat Neurosci. 2007;10(3):385-392. doi:10.1038/nn1851 https://doi.org/10.1038/nn1851
  2. Diekelmann S, Born J. The memory function of sleep. Nat Rev Neurosci. 2010;11(2):114-126. doi:10.1038/nrn2762 https://doi.org/10.1038/nrn2762
  3. Lim J, Dinges DF. A meta-analysis of the impact of short-term sleep deprivation on cognitive variables. Psychol Bull. 2010;136(3):375-389. doi:10.1037/a0018883 https://doi.org/10.1037/a0018883
  4. Van Dongen HPA, Maislin G, Mullington JM, Dinges DF. The cumulative cost of additional wakefulness: dose-response effects on neurobehavioral functions and sleep physiology from chronic sleep restriction and total sleep deprivation. Sleep. 2003;26(2):117-126. doi:10.1093/sleep/26.2.117 https://doi.org/10.1093/sleep/26.2.117
  5. Bucks RS, Olaithe M, Eastwood P. Neurocognitive function in obstructive sleep apnoea: a meta-review. Respirology. 2013;18(1):61-70. doi:10.1111/j.1440-1843.2012.02255.x https://doi.org/10.1111/j.1440-1843.2012.02255.x
  6. Watson NF, Badr MS, Belenky G, et al. Recommended amount of sleep for a healthy adult: a joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. J Clin Sleep Med. 2015;11(6):591-592. doi:10.5664/jcsm.4758 https://doi.org/10.5664/jcsm.4758
  7. Yeghiazarians Y, Jneid H, Tietjens JR, et al. Obstructive sleep apnea and cardiovascular disease: a scientific statement from the American Heart Association. Circulation. 2021;144(3):e56-e67. doi:10.1161/CIR.0000000000000988 https://doi.org/10.1161/CIR.0000000000000988
  8. American Academy of Sleep Medicine. International Classification of Sleep Disorders. 3rd ed, text revision. American Academy of Sleep Medicine; 2023. https://aasm.org/clinical-resources/international-classification-sleep-disorders/