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
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 [...]
This Vaccine Stops Bird Flu Before It Reaches the Lungs
A new nasal spray vaccine could stop bird flu at the door — blocking infection, reducing spread, and helping head off the next pandemic. Since first appearing in the United States in 2014, H5N1 [...]
These two viruses may become the next public health threats, scientists say
Two emerging pathogens with animal origins—influenza D virus and canine coronavirus—have so far been quietly flying under the radar, but researchers warn conditions are ripe for the viruses to spread more widely among humans. [...]
COVID-19 viral fragments shown to target and kill specific immune cells
COVID-19 viral fragments shown to target and kill specific immune cells in UCLA-led study Clues about extreme cases and omicron’s effects come from a cross-disciplinary international research team New research shows that after the [...]
Smaller Than a Grain of Salt: Engineers Create the World’s Tiniest Wireless Brain Implant
A salt-grain-sized neural implant can record and transmit brain activity wirelessly for extended periods. Researchers at Cornell University, working with collaborators, have created an extremely small neural implant that can sit on a grain of [...]
Scientists Develop a New Way To See Inside the Human Body Using 3D Color Imaging
A newly developed imaging method blends ultrasound and photoacoustics to capture both tissue structure and blood-vessel function in 3D. By blending two powerful imaging methods, researchers from Caltech and USC have developed a new way to [...]
Brain waves could help paralyzed patients move again
People with spinal cord injuries often lose the ability to move their arms or legs. In many cases, the nerves in the limbs remain healthy, and the brain continues to function normally. The loss of [...]
Scientists Discover a New “Cleanup Hub” Inside the Human Brain
A newly identified lymphatic drainage pathway along the middle meningeal artery reveals how the human brain clears waste. How does the brain clear away waste? This task is handled by the brain’s lymphatic drainage [...]
New Drug Slashes Dangerous Blood Fats by Nearly 40% in First Human Trial
Scientists have found a way to fine-tune a central fat-control pathway in the liver, reducing harmful blood triglycerides while preserving beneficial cholesterol functions. When we eat, the body turns surplus calories into molecules called [...]
A Simple Brain Scan May Help Restore Movement After Paralysis
A brain cap and smart algorithms may one day help paralyzed patients turn thought into movement—no surgery required. People with spinal cord injuries often experience partial or complete loss of movement in their arms [...]
Plant Discovery Could Transform How Medicines Are Made
Scientists have uncovered an unexpected way plants make powerful chemicals, revealing hidden biological connections that could transform how medicines are discovered and produced. Plants produce protective chemicals called alkaloids as part of their natural [...]
Scientists Develop IV Therapy That Repairs the Brain After Stroke
New nanomaterial passes the blood-brain barrier to reduce damaging inflammation after the most common form of stroke. When someone experiences a stroke, doctors must quickly restore blood flow to the brain to prevent death. [...]
Analyzing Darwin’s specimens without opening 200-year-old jars
Scientists have successfully analyzed Charles Darwin's original specimens from his HMS Beagle voyage (1831 to 1836) to the Galapagos Islands. Remarkably, the specimens have been analyzed without opening their 200-year-old preservation jars. Examining 46 [...]
Scientists discover natural ‘brake’ that could stop harmful inflammation
Researchers at University College London (UCL) have uncovered a key mechanism that helps the body switch off inflammation—a breakthrough that could lead to new treatments for chronic diseases affecting millions worldwide. Inflammation is the [...]














