You are standing by the kitchen counter pouring another mug of coffee, and a familiar flicker of guilt creeps in. If you end up staring at the ceiling at two in the morning, you already know what you are going to blame.
Two separate genetic investigations suggest that blame may be misplaced. For long-term drinkers, it isn’t a daily coffee habit quietly wrecking nighttime sleep, it’s a much steadier adaptation. A genetic analysis published in April 2026 found habitual coffee and tea intake boosted daytime alertness without inherently causing chronic insomnia, and a late 2025 brain-wave study found that even when heavy drinkers lost roughly 11 to 13 minutes of sleep a night, their brains seemed to make a trade-off by ramping up deeper, more restorative delta-wave rest.
Why the usual warnings miss daily drinkers
Much of caffeine’s bad reputation at night comes from traditional surveys that ask people to estimate their weekly cups and their sleep problems. As lead author Nilabhra R. Das and colleagues at the University of Bristol noted in the Journal of Sleep Research, those observational studies run into a stubborn tangle. Memory is shaky, heavy coffee drinkers often carry other sleep-disrupting habits like higher stress, smoking, or less exercise, and cause and effect easily flip around.
After a rough night of tossing and turning, reaching for extra caffeine the next morning is a symptom of bad sleep, not its cause.
Don’t miss the next big psychology finding
Every morning, PsyPost sends a short briefing on the most interesting new peer-reviewed research in psychology and neuroscience.
To untangle that loop, the Bristol team turned to Mendelian randomization, a technique that uses naturally inherited genetic markers tied to coffee and tea intake as a stand-in for lifetime habits. Drawing on large health databases of hundreds of thousands of people of European descent, they checked how those genes lined up with both daytime alertness and nighttime rest. Genetic variants linked to drinking more caffeinated beverages reduced daytime sleepiness and daytime napping, yet they did not reduce total sleep duration or raise the odds of clinical insomnia.
The researchers also ran a negative control test on non-drinkers and confirmed those same genes had zero effect on sleep without actual caffeine in the picture. PsyPost’s full coverage of the Bristol study digs deeper into what the team uncovered about fast caffeine metabolizers, including how a stimulating liver byproduct called paraxanthine helps them shake off morning grogginess and why genetically predisposed night owls actually end up drinking less caffeine overall.
What the sleeping brain does instead
Those April 2026 findings fit alongside a late 2025 study that peered straight into the electrical activity of sleeping brains. Led by Benjamin Stucky at the University of Zurich and published in the Journal of Psychopharmacology, that investigation challenged the classic lab setup where volunteers quit caffeine before getting dosed near bedtime. “Most research on caffeine and sleep looks at what happens when people drink caffeine after abstaining, and find it can disrupt sleep,” Stucky explained. “But this is not how most people consume coffee! Most drink it daily for years. The body and brain may adapt over time.”
Stucky’s team combined genetic data from the UK Biobank with home sleep recordings from 1,702 participants in Switzerland whose brain waves, breathing, and heart rates were tracked overnight. Comparing people who drank four or more caffeinated beverages a day against moderate drinkers having three or fewer, both genetic models and matched comparisons pointed to a modest dip in total sleep time (roughly 11 to 13 minutes per night in the matched data). Yet heavy drinkers did not rate their sleep quality or daytime sleepiness any worse.
The overnight brain-wave recordings offered a clue why. Heavy daily drinkers showed stronger delta-wave activity, the slow, high-amplitude brain waves that mark the deepest, most restorative stage of non-rapid eye movement sleep. “People who consumed more than three cups of coffee per day slept slightly less,” Stucky told PsyPost. “That sounds worrying, but they also had deeper sleep, shown by increased slow-wave activity, a marker of restorative sleep. The increased sleep depth may offset the slightly shorter sleep.”
Why the pattern might happen
Looking across both investigations, the researchers offer complementary explanations for why habitual caffeine looks kinder to sleep than its reputation. In the Bristol researchers’ view, much of the nighttime misery pinned on coffee in earlier surveys likely comes from lifestyle factors traveling alongside heavy drinking, or from tired people medicating poor sleep with extra cups. Meanwhile, the Zurich team suggests that the brain’s homeostatic sleep drive stays intact under chronic caffeine use, automatically dialing up sleep depth to compensate when total sleep time shrinks a bit.
Together, these studies contribute to the scientific understanding of how long-term caffeine intake shapes everyday sleep. However, both investigations relied on self-reported beverage counts (with some surveys grouping coffee, tea, soda, or even decaf together) and examined populations made up almost entirely of people of European descent, while genetic causal models always depend on statistical assumptions that are difficult to prove completely. For a closer look at those caveats, along with what the Zurich team found regarding dreaming sleep and Stucky’s caution that deeper sleep could alternatively signal an ongoing sleep debt, see PsyPost’s in-depth report on the chronic caffeine study.
Neither study claims that regular caffeine is automatically good for your health, or that caffeine right before bed will leave everyone untouched. What the evidence does soften is the reflex to blame every restless night on a steady morning mug, suggesting that when caffeine is a daily fixture, the sleeping brain is more adaptable than most people assume.