
Lack of sleep will always catch up with you eventually. (Credit: Aleksandar Malivuk on Shutterstock)
An exhausted brain will eventually find time to rest, and it doesn’t need your permission.
In A Nutshell
- Sleep deprivation causes the brain to hijack waking consciousness for brief rest periods, complete with large fluid movements normally seen only during sleep.
- During attention failures, a coordinated sequence unfolds: pupils constrict, brain waves shift, heart rate drops, and cerebrospinal fluid surges through the skull.
- These “offline” moments happen even with eyes open, representing the brain’s inability to suppress its need for sleep-related maintenance processes.
- The findings explain why pulling an all-nighter causes such predictable and dangerous attention lapses.
Anyone who’s pulled an all-nighter knows the feeling: eyes open, but brain checked out. Now scientists have discovered what’s actually happening inside the skull during those frightening moments when attention vanishes after sleep loss. The brain may be forcing itself into brief rest periods whether a person wants them or not.
The study involved 26 healthy adults (average age 25.6 years) who each participated in two scanning sessions: once after normal sleep and once after staying awake all night under laboratory supervision. While inside an MRI scanner, participants performed simple attention tasks, responding to beeps or visual signals. Researchers simultaneously tracked their brain activity, eye movements, pupil size, heart rate, breathing, and the flow of cerebrospinal fluid (the clear liquid that cushions the brain).
What Happens During an Attention Lapse
After sleep deprivation, large waves of cerebrospinal fluid appeared during waking hours, similar to the fluid pulsations normally seen during light non-REM sleep (stage N2). These fluid waves weren’t random. They synchronized precisely with the moments when attention failed.
When participants missed a stimulus during the attention task (a clear sign their focus had lapsed), a specific sequence unfolded. First came the attention failure itself. Then, within seconds, their pupils constricted, signaling low alertness. Brain waves shifted patterns, heart rate dropped, breathing slowed, and cerebrospinal fluid began flowing outward from the brain. Several seconds later, the pattern reversed: pupils dilated, brain activity increased, and fluid flowed back inward as attention recovered.
The researchers found this wasn’t simply correlation. By categorizing failures into different types—isolated lapses versus the start or end of sustained attention loss—they demonstrated that the brain and fluid changes specifically tracked whether attention was dropping or recovering. When attention first failed, fluid flowed outward; when attention recovered, the direction of fluid flow reversed and moved inward.
How Pupil Size Reveals Brain Activity
Even brief attention failures during wakefulness triggered these dramatic fluid pulsations. Researchers verified through brain recordings and eye tracking that participants weren’t actually falling asleep. The magnitude of cerebrospinal fluid flow during sleep-deprived wakefulness reached levels typically seen during stage 2 sleep.

Sleep deprivation increased fluid pulsations by approximately 4.7 decibels compared to rested wakefulness, bringing them to nearly the same intensity as those during actual sleep. Participants also showed increased brain wave activity and larger blood flow fluctuations: both signatures of sleep intruding into their supposedly awake state.
Blood vessel changes appear to drive these fluid movements, consistent with a vascular mechanism, though direct causal proof remains indirect. When blood vessels dilate, they take up more space, mechanically pushing fluid out. When they constrict, fluid flows back. The timing of events in this study supports this vascular mechanism: pupil changes preceded fluid changes by several seconds, consistent with the delay expected if blood vessels were the intermediary.
Pupil size serves as a window into the brain’s arousal system, particularly a region called the locus coeruleus. This small area produces norepinephrine, a chemical that keeps people alert. Norepinephrine affects both attention and blood vessels directly, making it a prime candidate for coordinating both the behavioral failures and fluid dynamics observed.
The connection between pupil size and fluid flow was robust. Analysis showed pupil constriction preceded outward fluid flow by 4.75 seconds, and this relationship was significantly stronger after sleep deprivation than during normal drowsiness.
Why Sleep Deprivation Causes Dangerous Lapses
These findings occurred while participants had their eyes open and were actively trying to perform tasks. Their brains were essentially hijacking waking consciousness to initiate sleep-like processes, complete with the large fluid movements normally reserved for nighttime sleep.
Sleep deprivation reliably caused attention failures despite their obvious dangers, like the potentially fatal consequences of a momentary lapse while driving. The fact that sleep loss induces these failures so predictably means they may reflect an irrepressible need for brief rest periods that the brain requires, rather than simply a malfunction.
One possibility researchers are investigating is whether these brief episodes serve a critical function. During sleep, the brain clears waste products that accumulate during waking hours. The large fluid pulsations observed might represent the brain’s attempt to perform essential maintenance work, even if it can only steal a few seconds here and there during forced wakefulness. However, this study did not directly measure whether waste clearance actually occurred during these episodes.
The imaging techniques couldn’t directly measure whether these micro-episodes accomplish meaningful waste clearance. But the coordination of so many systems (attention, pupils, brain waves, blood flow, heart rate, breathing, and fluid movement) points to an organized biological process rather than random dysfunction.
Even well-rested participants occasionally showed similar patterns during attention failures, though less frequently and with weaker coupling to pupil changes. The same basic mechanism might operate during normal drowsiness, but becomes dramatically amplified and unstable after sleep deprivation.
How the Study Was Conducted
Participants underwent careful screening to ensure they had no sleep disorders, maintained regular sleep schedules (verified by wrist monitors), and avoided caffeine and alcohol before testing. For the sleep deprivation session, they arrived at the lab at 7 p.m. and were continuously monitored throughout the night by staff who intervened if participants closed their eyes for more than two seconds.
The cardiovascular changes accompanying attention failures (heart rate drops and breathing rate decreases) point to involvement of the autonomic nervous system, which operates largely outside conscious control. Attention failures after sleep loss aren’t just mental fatigue but reflect a fundamental shift in the body’s overall arousal state.
After sleep deprivation, moments of worse attention showed significantly higher fluid pulsation power than windows with good attention, even during confirmed wakefulness. This held true whether researchers looked at slower reaction times or complete failures to respond.
The Brain Cannot Ignore Its Need for Sleep
Sleep deprivation fundamentally destabilizes the brain’s state regulation, causing it to oscillate between wake-like and sleep-like modes even when consciousness is supposedly maintained. The brain cannot indefinitely suppress its need for the processes that normally occur during sleep. After sufficient deprivation, those processes begin forcing their way into waking hours regardless of circumstances.
The study, published in Nature Neuroscience, helps explain why pulling an all-nighter feels the way it does. Those moments when you realize you’ve been staring at the same sentence for 30 seconds, or when you suddenly snap back to awareness while driving? Your brain was briefly initiating the cleanup processes it desperately needed, stealing a few seconds of maintenance time during forced wakefulness.
Not that we need any more research to tell us this, but it continues to be quite clear that sleep is not optional. When deprived of proper rest, the brain will take what it needs, even if that means compromising safety and performance during critical waking activities. The attention failures caused by sleep deprivation aren’t a sign of weakness or lack of willpower. They’re evidence of a biological imperative that cannot be overridden.
Understanding this mechanism could eventually help researchers develop better strategies for managing unavoidable sleep deprivation in professions like medicine, transportation, and emergency response. For now, the message is clear: respect your brain’s need for sleep, because it will get what it needs one way or another.
Paper Summary
Methodology
Researchers recruited 26 healthy adults (average age 25.6 years) who each completed two scanning sessions 8 to 10 days apart: one after normal sleep at home and one after total overnight sleep deprivation supervised in the laboratory. During sleep deprivation, staff continuously monitored participants from 7 p.m. until scanning the next morning, preventing any sleep (intervening if eyes closed more than 2 seconds). Participants maintained regular sleep schedules for one week before testing, verified by wrist monitors, and avoided caffeine, alcohol, and sleep aids for 24 hours before scans. Inside a 3-Tesla MRI scanner, participants performed attention tasks (responding to beeps or visual signals with 5 to 10 second intervals between stimuli) while researchers simultaneously recorded brain activity through 64-channel EEG, tracked eye movements and pupil size with infrared cameras, monitored heart rate and breathing with sensors, and measured cerebrospinal fluid flow and brain blood flow using specialized fast imaging (acquiring brain volumes every 378 milliseconds). The imaging volume was positioned to intersect the fourth ventricle, allowing measurement of fluid flow. A second study in 10 additional participants used different imaging to measure bidirectional fluid flow (both into and out of the brain).
Results
Sleep deprivation caused large cerebrospinal fluid pulsations during wakefulness, reaching magnitudes typically seen only during stage 2 sleep: a 4.7 decibel increase compared to rested wakefulness. These fluid waves were tightly coupled to attention failures. When participants missed stimuli (omissions) during eyes-open, EEG-verified wakefulness, a coordinated sequence occurred: attention failed, then pupils constricted, brain electrical activity shifted (broadband power dropped then increased, with notable changes in alpha-beta and slow wave frequencies), heart rate and breathing rate decreased, and cerebrospinal fluid pulsed outward then inward over approximately 20 seconds. The specific timing showed attention failures preceded fluid changes by about 2 seconds for attention drops and 1 second for attention recovery, with fluid flow changes peaking 6 to 8 seconds after behavioral changes. Pupil size changes strongly correlated with fluid flow (maximum correlation 0.25 at 4.75-second lag), and this correlation was significantly stronger after sleep deprivation. Blood flow patterns in brain tissue showed a biphasic pattern matching the fluid flow timing, consistent with blood vessel changes mechanically driving fluid movement. Even within the awake state, 60-second periods containing attention lapses or omissions showed significantly higher fluid pulsation power than periods with good attention.
Limitations
The study could not measure whether fluid pulsations actually cleared waste products from the brain, only that large pulsations occurred. The imaging methods could only measure one type of fluid flow direction in the main experiment (requiring the second study to confirm bidirectional flow), and the acquisition volume didn’t cover all brain regions simultaneously. Researchers couldn’t determine the exact causal relationships between pupil changes, brain activity changes, blood vessel changes, and fluid flow, only their temporal sequence. The study included more women than men due to equipment constraints (EEG cap size limitations inside the MRI coil), though analyses didn’t reveal sex differences in the main findings. Sample sizes for some specific analyses were smaller than the full cohort due to technical issues with eye tracking equipment (21 runs excluded) or insufficient data in certain conditions. The mechanism linking attention failures to fluid dynamics remains partially speculative, though the timing and patterns support a vascular mechanism regulated by the brain’s arousal system.
Funding and Disclosures
Research was funded by National Institutes of Health grants U19NS128613, U19NS123717, R01AT011429, R00MH111748, and R01AG070135, the McKnight Scholar Award, Sloan Fellowship, Pew Biomedical Scholar Award, One Mind Rising Star Award, and the Simons Collaboration on Plasticity in the Aging Brain (811231). Additional support came from an NDSEG Graduate Research Fellowship (to S.D.W.) and a Polish NAWA Fellowship (to E.B.). Resources were provided by NSF instrumentation grant 1625552. One author (L.D.L.) is an inventor on a pending patent application for an MRI method for measuring cerebrospinal fluid flow. No other competing interests were declared.
Publication Details
Yang, Z., Williams, S.D., Beldzik, E., Anakwe, S., Schimmelpfennig, E., & Lewis, L.D. (2025). Attentional failures after sleep deprivation are locked to joint neurovascular, pupil and cerebrospinal fluid flow dynamics. Nature Neuroscience. doi:10.1038/s41593-025-02098-8







