When you don't sleep enough, your brain may clean itself at the exact moment you need it to think.
Most people recognize the sensation. After a night of inadequate sleep, staying focused becomes harder than usual. Thinking feels slower, attention wanders, and simple tasks take more effort than they should.
Researchers at MIT have now uncovered what is happening inside the brain during these brief breakdowns in attention. Their study shows that when focus slips, cerebrospinal fluid (CSF) briefly moves out of the brain. This process normally occurs during sleep and plays an important role in clearing away waste that builds up during the day. Scientists believe this cleaning action is essential for keeping the brain healthy and functioning properly.
When someone does not get enough sleep, the body appears to trigger this fluid movement while the person is awake. While this may help compensate for lost rest, it comes with a clear downside. Attention drops sharply during these moments.
"If you don't sleep, the CSF waves start to intrude into wakefulness where normally you wouldn't see them. However, they come with an attentional tradeoff, where attention fails during the moments that you have this wave of fluid flow," says Laura Lewis, the Athinoula A. Martinos Associate Professor of Electrical Engineering and Computer Science, a member of MIT's Institute for Medical Engineering and Science and the Research Laboratory of Electronics, and an associate member of the Picower Institute for Learning and Memory.
Lewis is the senior author of the study, which was published recently in Nature Neuroscience. MIT postdoctoral associate Zinong Yang is the lead author.
How Sleep Helps Clean the Brain
Sleep is a basic biological need, yet scientists are still working to fully understand why it is so critical. What is well established is that sleep supports alertness and mental performance. When sleep is cut short, attention and other cognitive abilities suffer.
One key role of sleep involves cerebrospinal fluid, which surrounds and protects the brain. During sleep, CSF helps remove waste that accumulates during waking hours. In a 2019 study, Lewis and her colleagues showed that this fluid moves in a regular rhythm during sleep and that the movement is closely tied to changes in brain wave activity.
That earlier research raised an important question about what happens to this system when sleep is disrupted. To investigate, the team recruited 26 volunteers who were tested twice — once following a night of sleep deprivation in the lab, and once when they were well-rested.
Tracking Brain Activity and Attention
The morning after each session, participants completed a standard task commonly used to measure the effects of sleep loss. While they worked through the task, researchers monitored multiple signals from both the brain and the body.
Each participant wore an electroencephalogram (EEG) cap to track brain waves while lying inside a functional magnetic resonance imaging (fMRI) scanner. The researchers used a specialized form of fMRI that could measure not only blood oxygen levels in the brain but also the movement of CSF in and out of it. Heart rate, breathing rate, and pupil size were also recorded.
Participants completed two attention tests during the scan, one based on vision and the other on sound. In the visual test, they watched a fixed cross on a screen that occasionally changed into a square and pressed a button when they noticed the change. In the auditory test, the visual cue was replaced with a sound.
As expected, participants who were sleep-deprived performed significantly worse than when they were well-rested. Their responses were slower, and in some cases they failed to detect the signal altogether.
Brain Fluid Surges During Attention Lapses
When attention briefly failed, the researchers observed several physical changes occurring at the same time. Most notably, CSF flowed out of the brain during these lapses and returned once attention recovered.
"The results are suggesting that at the moment that attention fails, this fluid is actually being expelled outward away from the brain. And when attention recovers, it's drawn back in," Lewis says.
The researchers believe this pattern reflects the brain attempting to make up for missed sleep. By activating a process normally reserved for rest, the brain may be trying to restore itself even though this comes at the expense of focus.
"One way to think about those events is because your brain is so in need of sleep, it tries its best to enter into a sleep-like state to restore some cognitive functions," Yang says. "Your brain's fluid system is trying to restore function by pushing the brain to iterate between high-attention and high-flow states."
A Shared System Linking Brain and Body
The study also revealed that attention lapses were accompanied by changes throughout the body. During these moments, breathing and heart rate slowed, and pupils became smaller. Pupil constriction began roughly 12 seconds before CSF moved out of the brain and reversed after attention returned.
"What's interesting is it seems like this isn't just a phenomenon in the brain, it's also a body-wide event. It suggests that there's a tight coordination of these systems, where when your attention fails, you might feel it perceptually and psychologically, but it's also reflecting an event that's happening throughout the brain and body," Lewis says.
This close timing suggests that a single control system may regulate both attention and basic bodily processes such as fluid flow, heart rate, and arousal.
"These results suggest to us that there's a unified circuit that's governing both what we think of as very high-level functions of the brain — our attention, our ability to perceive and respond to the world — and then also really basic fundamental physiological processes like fluid dynamics of the brain, brain-wide blood flow, and blood vessel constriction," Lewis says.
Although the study did not identify the exact circuit responsible, the researchers point to the noradrenergic system as a likely candidate. This system, which relies on the neurotransmitter norepinephrine to regulate both mental and physical functions, is known to fluctuate during normal sleep.
Reference: "Attentional failures after sleep deprivation are locked to joint neurovascular, pupil and cerebrospinal fluid flow dynamics" by Zinong Yang, Stephanie D. Williams, Ewa Beldzik, Stephanie Anakwe, Emilia Schimmelpfennig and Laura D. Lewis, 29 October 2025, Nature Neuroscience.
DOI: 10.1038/s41593-025-02098-8
The research was supported by the National Institutes of Health, a National Defense Science and Engineering Graduate Research Fellowship, a NAWA Fellowship, a McKnight Scholar Award, a Sloan Fellowship, a Pew Biomedical Scholar Award, a One Mind Rising Star Award, and the Simons Collaboration on Plasticity in the Aging Brain.
News
This Simple Brain Exercise May Protect Against Dementia for 20 Years
A long-running study following thousands of older adults suggests that a relatively brief period of targeted brain training may have effects that last decades. Starting in the late 1990s, close to 3,000 older adults [...]
Scientists Crack a 50-Year Tissue Mystery With Major Cancer Implications
Researchers have resolved a 50-year-old scientific mystery by identifying the molecular mechanism that allows tissues to regenerate after severe damage. The discovery could help guide future treatments aimed at reducing the risk of cancer [...]
This New Blood Test Can Detect Cancer Before Tumors Appear
A new CRISPR-powered light sensor can detect the faintest whispers of cancer in a single drop of blood. Scientists have created an advanced light-based sensor capable of identifying extremely small amounts of cancer biomarkers [...]
Blindness Breakthrough? This Snail Regrows Eyes in 30 Days
A snail that regrows its eyes may hold the genetic clues to restoring human sight. Human eyes are intricate organs that cannot regrow once damaged. Surprisingly, they share key structural features with the eyes [...]
This Is Why the Same Virus Hits People So Differently
Scientists have mapped how genetics and life experiences leave lasting epigenetic marks on immune cells. The discovery helps explain why people respond so differently to the same infections and could lead to more personalized [...]
Rejuvenating neurons restores learning and memory in mice
EPFL scientists report that briefly switching on three “reprogramming” genes in a small set of memory-trace neurons restored memory in aged mice and in mouse models of Alzheimer’s disease to level of healthy young [...]
New book from Nanoappsmedical Inc. – Global Health Care Equivalency
A new book by Frank Boehm, NanoappsMedical Inc. Founder. This groundbreaking volume explores the vision of a Global Health Care Equivalency (GHCE) system powered by artificial intelligence and quantum computing technologies, operating on secure [...]
New Molecule Blocks Deadliest Brain Cancer at Its Genetic Root
Researchers have identified a molecule that disrupts a critical gene in glioblastoma. Scientists at the UVA Comprehensive Cancer Center say they have found a small molecule that can shut down a gene tied to glioblastoma, a [...]
Scientists Finally Solve a 30-Year-Old Cancer Mystery Hidden in Rye Pollen
Nearly 30 years after rye pollen molecules were shown to slow tumor growth in animals, scientists have finally determined their exact three-dimensional structures. Nearly 30 years ago, researchers noticed something surprising in rye pollen: [...]
NanoMedical Brain/Cloud Interface – Explorations and Implications. A new book from Frank Boehm
New book from Frank Boehm, NanoappsMedical Inc Founder: This book explores the future hypothetical possibility that the cerebral cortex of the human brain might be seamlessly, safely, and securely connected with the Cloud via [...]
How lipid nanoparticles carrying vaccines release their cargo
A study from FAU has shown that lipid nanoparticles restructure their membrane significantly after being absorbed into a cell and ending up in an acidic environment. Vaccines and other medicines are often packed in [...]
New book from NanoappsMedical Inc – Molecular Manufacturing: The Future of Nanomedicine
This book explores the revolutionary potential of atomically precise manufacturing technologies to transform global healthcare, as well as practically every other sector across society. This forward-thinking volume examines how envisaged Factory@Home systems might enable the cost-effective [...]
A Virus Designed in the Lab Could Help Defeat Antibiotic Resistance
Scientists can now design bacteria-killing viruses from DNA, opening a faster path to fighting superbugs. Bacteriophages have been used as treatments for bacterial infections for more than a century. Interest in these viruses is rising [...]
Sleep Deprivation Triggers a Strange Brain Cleanup
When you don’t sleep enough, your brain may clean itself at the exact moment you need it to think. Most people recognize the sensation. After a night of inadequate sleep, staying focused becomes harder [...]
Lab-grown corticospinal neurons offer new models for ALS and spinal injuries
Researchers have developed a way to grow a highly specialized subset of brain nerve cells that are involved in motor neuron disease and damaged in spinal injuries. Their study, published today in eLife as the final [...]
Urgent warning over deadly ‘brain swelling’ virus amid fears it could spread globally
Airports across Asia have been put on high alert after India confirmed two cases of the deadly Nipah virus in the state of West Bengal over the past month. Thailand, Nepal and Vietnam are among the [...]














