Coffee brain

(© Vladimir Razgulyaev - stock.adobe.com)

In a nutshell

  • Caffeine transforms your sleeping brain into a hyperactive state similar to peak wakefulness, increasing complexity and shifting it toward a “critical regime” where neural networks operate at maximum efficiency.
  • Young adults (20-27 years) experience much stronger caffeine effects during sleep than middle-aged people (41-58 years), particularly during REM sleep, due to higher adenosine receptor density.
  • While this brain state sounds beneficial, it may interfere with sleep’s restorative functions like memory consolidation and cellular repair, potentially impacting cognitive health.

MONTREAL — That cup of coffee you had during dinner with friends didn’t just keep you tossing and turning — it fundamentally altered how your brain operated during whatever sleep you managed to get. New research reveals that caffeine doesn’t simply block sleep; it transforms the sleeping brain into a more complex, hyperactive state that resembles being closer to peak mental performance.

Even more surprising: this coffee-induced brain makeover hits young adults much harder than middle-aged people, showing that your relationship with caffeine changes dramatically as you get older.

Scientists from the University of Montreal analyzed the brain waves of 40 healthy people during sleep after they consumed either 200 milligrams of caffeine (roughly equivalent to two cups of coffee) or a placebo pill. Participants spent two nights in a sleep laboratory, consuming either 200mg of caffeine or a placebo pill in a double-blind study. Brain activity was recorded using multi-channel EEG throughout the night, and the team applied multiple analytical approaches to identify patterns that distinguished caffeinated from non-caffeinated sleep.

They discovered that caffeine pushes the brain toward what’s called a “critical regime” — a state where neural networks operate at maximum efficiency and complexity.

Brain complexity and criticality are tied to optimal cognitive performance, enhanced information processing, and greater mental flexibility. When your brain operates in this critical zone, it’s essentially firing on all cylinders, processing information more efficiently and maintaining better communication between different brain regions.

Coffee Doesn’t Just Disturb Sleep—It Completely Rewires It

Most people assume caffeine simply prevents good sleep by keeping you awake longer or making sleep lighter. The study, published in Communications Biology, reveals something more fascinating: caffeine actually changes the fundamental nature of whatever sleep you do get, making your brain work overtime even during rest periods.

During non-REM sleep (the deep, restorative phase that typically shows low brain activity) caffeinated participants showed dramatically increased brain entropy and complexity. Their sleeping brains exhibited patterns more similar to wakefulness, with heightened information processing and neural communication that normally wouldn’t occur during this crucial recovery phase.

This effect was much stronger in younger adults aged 20-27 compared to middle-aged participants aged 41-58, particularly during REM sleep. Young people’s brains showed significant increases in multiple measures of complexity and criticality when caffeinated, while older adults showed much weaker responses.

Coffee cup with brain
You might think that coffee only jolts your brain in the few hours after you’ve consumed it, but new research shows caffeine may still be sparking plenty of activity while you sleep. (© kittyfly – stock.adobe.com)

Young Brains React Far More Dramatically to Caffeine

The age-related differences likely stem from changes in adenosine receptors, which are the brain’s “sleepiness switches” that caffeine blocks. As people age, they naturally lose adenosine A1 receptors, which means caffeine has fewer targets to affect.

With more receptors available in younger people, caffeine can exert a stronger influence on brain dynamics. This finding has practical implications for caffeine consumption across age groups. While middle-aged adults might feel they can handle that after-dinner espresso better than they used to, young adults are experiencing more dramatic changes to their sleep brain activity. These are changes that could affect the restorative functions of sleep.

Understanding the ‘Critical’ Brain State

To grasp what researchers mean by “critical” brain dynamics, consider neural networks like a perfectly tuned orchestra. Too little activity, and the brain operates sluggishly and inefficiently. Too much activity creates chaos. But right at the critical point, the brain achieves optimal performance with maximum information processing.

Caffeine appears to push sleeping brains toward this critical state, particularly during non-REM sleep. The researchers measured this using several sophisticated techniques that look at how repetitive or varied brain signals are and examine long-range patterns in brain activity.

All measures pointed to the same conclusion: caffeine makes sleeping brains more complex, more variable, and more similar to highly engaged waking brains. Machine learning algorithms could distinguish between caffeinated and non-caffeinated sleep with up to 75% accuracy based solely on these brain complexity measures.

Previous caffeine research focused mainly on obvious effects, such as how long it takes to fall asleep, how much you toss and turn, or changes in specific brain wave frequencies. This study took a deeper dive, using cutting-edge analysis techniques to examine how caffeine affects the fundamental dynamics of neural networks.

Caffeine Content Guide

Milligrams of caffeine per typical serving

Coffee (8 oz cup)
95-200mg

Espresso (1 shot)
63mg

Black tea (8 oz)
40-70mg

Green tea (8 oz)
25-50mg

Cola (12 oz can)
34mg

Energy drink (8 oz)
50-160mg

Dark chocolate (1 oz)
12mg

Milk chocolate (1 oz)
6mg

Decaf coffee (8 oz)
2-5mg

Note: This study used 200mg of caffeine, equivalent to about 2 cups of coffee consumed 6-8 hours before bedtime.

What This Means for Your Health

While operating in a critical brain state sounds beneficial (and can be during wakefulness) the implications for sleep are more complicated. Sleep serves crucial functions for memory consolidation, cellular repair, and toxin clearance from the brain. If caffeine is making sleeping brains work more like waking brains, it might interfere with these restorative processes.

The study also found that caffeine’s effects were much more pronounced during non-REM sleep compared to REM sleep. Non-REM sleep is particularly important for memory consolidation and brain restoration, so disruptions to this phase could have significant consequences for cognitive function and health.

For coffee lovers, the research serves as a wake-up call that their favorite beverage’s effects extend far beyond simple wakefulness — it’s literally rewiring how their brains operate throughout the night, with younger people experiencing the most dramatic changes to their sleep brain activity.


Paper Summary

Methodology

Researchers conducted a double-blind, placebo-controlled study with 40 healthy adults (19 females, 21 males) aged 20-58 years who consumed moderate amounts of caffeine daily. Participants spent two non-consecutive nights in a sleep laboratory, receiving either 200mg of caffeine or a placebo 6-8 hours before their usual bedtime. Brain activity was recorded using 20-channel EEG throughout the night. The team extracted multiple features from the EEG signals, including power spectral density, entropy measures, and complexity metrics. They used both traditional statistical analysis and machine learning approaches to compare brain activity between caffeine and placebo conditions, analyzing data separately for REM and non-REM sleep stages and for different age groups.

Results

Caffeine significantly increased brain complexity and entropy during sleep, particularly during non-REM sleep. All complexity measures showed consistent increases under caffeine, with effect sizes ranging from 0.67 to 0.93. Machine learning classifiers could distinguish between caffeine and placebo conditions with up to 75% accuracy. Caffeine also caused a flattening of the brain’s aperiodic slope and reduced long-range temporal correlations, indicating a shift toward critical brain dynamics. The effects were much more pronounced in younger adults (20-27 years) compared to middle-aged participants (41-58 years), particularly during REM sleep. In terms of traditional brain waves, caffeine reduced power in delta, theta, and alpha frequencies while increasing beta power during non-REM sleep.

Limitations

The study focused on healthy individuals, which may limit generalizability to people with sleep disorders or neurodegenerative diseases. The researchers noted that different numbers of sleep epochs between conditions could potentially affect feature reliability, though control analyses suggested this wasn’t driving the main findings. The sample size for age-group comparisons was relatively small (22 young adults, 18 middle-aged adults). Additionally, the mechanical links between EEG measures and excitation-inhibition balance require further validation across multiple scales. The study also couldn’t fully disentangle caffeine’s effects on individual sleep stages from its effects on overall sleep architecture.

Funding and Disclosures

The authors declared no competing interests. The research was conducted at the Center for Advanced Research in Sleep Medicine and involved researchers from the University of Montreal, including the Psychology Department, Computational and Cognitive Neuroscience Lab, and affiliations with MILA (Quebec Artificial Intelligence Institute) and UNIQUE Center (Quebec Neuro-AI Research Center). The paper does not explicitly mention specific funding sources in the provided excerpt.

Publication Information

Thölke, P., Arcand-Lavigne, M., Lajnef, T., Frenette, S., Carrier, J., & Jerbi, K. (2025). Caffeine induces age-dependent increases in brain complexity and criticality during sleep. Communications Biology, 8, 685. https://doi.org/10.1038/s42003-025-08090-z

About StudyFinds Analysis

Called "brilliant," "fantastic," and "spot on" by scientists and researchers, our acclaimed StudyFinds Analysis articles are created using an exclusive AI-based model with complete human oversight by the StudyFinds Editorial Team. For these articles, we use an unparalleled LLM process across multiple systems to analyze entire journal papers, extract data, and create accurate, accessible content. Our writing and editing team proofreads and polishes each and every article before publishing. With recent studies showing that artificial intelligence can interpret scientific research as well as (or even better) than field experts and specialists, StudyFinds was among the earliest to adopt and test this technology before approving its widespread use on our site. We stand by our practice and continuously update our processes to ensure the very highest level of accuracy. Read our AI Policy (link below) for more information.

Our Editorial Process

StudyFinds publishes digestible, agenda-free, transparent research summaries that are intended to inform the reader as well as stir civil, educated debate. We do not agree nor disagree with any of the studies we post, rather, we encourage our readers to debate the veracity of the findings themselves. All articles published on StudyFinds are vetted by our editors prior to publication and include links back to the source or corresponding journal article, if possible.

Our Editorial Team

Steve Fink

Editor-in-Chief

John Anderer

Associate Editor

Leave a Reply

1 Comment

  1. Frank says:

    I suppose that caffeine is similar to most addictive or habit forming drugs, in that in time the user will feel increasing desire for the drug while developing a tolerance to it (reducing its effect).

    Older drinkers of coffee are simply in a later stage of the addiction process.