Plenty of people know caffeine can make it harder to fall asleep. But a new review suggests that may not be the whole story.
Even when someone falls asleep without much trouble, caffeine may still affect what is happening in the brain during sleep. In a systematic and mechanistic review published in Nutrients, researchers examined human studies using electroencephalography, or EEG, to better understand how caffeine affects sleep-related brain activity. The review found that caffeine was often linked with reduced slow-wave activity, a pattern associated with deep sleep, and with more brain activity that looks closer to wakefulness.
That distinction matters because sleep is not only about the number of hours spent in bed. It’s also about how the brain moves through different sleep stages and whether those hours include enough restorative deep sleep.
“EEG allows us to see not only whether a person is sleeping, but also how the brain is sleeping,” said Prof. Donata Kurpas from the Department of Nursing at Wrocław Medical University. “Classical sleep assessment assesses sleep duration and its stages, whereas quantitative EEG analysis reveals more subtle changes, such as reduced slow-wave activity, which is an important marker of sleep depth and its restorative character.”
Slow-wave activity is part of deep non-REM sleep, a phase often associated with physical recovery, energy restoration and healthy brain function. In the review, caffeine’s effects were not limited to obvious problems such as shorter sleep or more time spent awake. The researchers reported that caffeine exposure frequently shifted sleep EEG patterns toward lighter, more aroused and more wake-like activity, especially during early-night non-REM sleep.
“Caffeine may shorten sleep or make it more difficult to fall asleep; however, even when sleep duration appears normal, it may reduce slow-wave activity and shift the EEG pattern toward a more ‘wakeful’ brain,” Kurpas said.
For people who swear they can drink coffee and still sleep, that finding may be especially relevant. The review suggests subjective sleep quality does not always match what researchers can see in brain recordings.
“The subjective feeling of having slept well does not always correspond to what we observe in neurophysiological recordings,” Kurpas said. “A person may fall asleep without major difficulty and not remember awakenings, while the brain may display fewer features of deep sleep.”
The review included 32 human studies and found that caffeine’s effects varied depending on dose, timing, habitual use, withdrawal state, age, circadian context and genetics, including variation in adenosine-related pathways. Caffeine works largely by blocking adenosine signaling, one of the systems that helps build sleep pressure and promote tiredness.
That helps explain why caffeine can affect people so differently. Some may feel wired after a small afternoon coffee, while others may not notice much after several cups. But the researchers emphasize that tolerance, timing and personal sensitivity can all change how caffeine affects the sleeping brain.
“It is not only about coffee consumed just before bedtime,” Kurpas said. “For some people, the total amount of caffeine consumed during the day and whether the body has enough time to metabolize it before nightfall may also be important.”
The review also points to a common cycle: using caffeine to push through fatigue during the day, then getting lower-quality sleep at night and waking up tired enough to need more caffeine again.
“If caffeine helps a person function during the day while simultaneously worsening the quality of nighttime recovery, a vicious circle may develop: greater fatigue, greater need for stimulation, and poorer sleep,” Kurpas said.
Still, the findings should not be read as a warning that everyone needs to give up coffee. The review was not a new clinical trial, and the authors noted that the evidence comes from studies with different designs, caffeine doses, timing and participant groups. Many studies were conducted in controlled lab settings and focused on healthy adults, so the results may not apply equally to all people or all real-world routines.
The more useful takeaway is that caffeine is not simply good or bad. It is a biologically active substance, and its effects depend on the person and the pattern of use.
“Caffeine is neither ‘good’ nor ‘bad’,” Kurpas said. “It is a biologically active substance whose effects depend on dose, time of day, age, lifestyle, sleep quality, stress burden and individual sensitivity.”
For everyday coffee drinkers, the practical question may be less about whether caffeine keeps them awake and more about whether it leaves them truly rested. Someone who falls asleep easily but still wakes up groggy, relies heavily on caffeine or notices poorer sleep after afternoon coffee may want to experiment with timing, total intake or a caffeine cutoff earlier in the day.
This research was funded by Wrocław Medical University.
