Close Banner

Both Caffeinated & Decaf Coffee Improved Mood, Memory, & Stress

Ava Durgin
Author:
May 11, 2026
Ava Durgin
Assistant Health Editor
Hand Pouring Milk/Cream into a Cup of Coffee
Image by Daniel Kim Photography / Stocksy
May 11, 2026

Most coffee drinkers have made their peace with caffeine dependency. You know the science on longevity, the data on Parkinson's and Alzheimer's disease risk reduction, the cardiovascular benefits. You've already defended your habit at dinner parties. 

At this point, the question isn't whether coffee is good for you. It's why, exactly, and through what mechanisms your body keeps responding to it the way it does. The answers have mostly pointed at caffeine, but that's increasingly looking like an incomplete explanation.

A new randomized crossover trial1 suggests the story runs deeper than caffeine, adenosine receptors, and cortisol curves. Coffee, it turns out, is doing something significant in your gut, and that may be the more interesting conversation.

Testing coffee’s effects on mood, cognition, & the gut

To get a clearer answer, researchers designed a randomized crossover trial, which is a way of testing the same people under different conditions so each person essentially acts as their own control. It’s one of the more reliable ways to tease apart subtle effects like mood or cognition.

They worked with healthy adults and tracked what happened across three phases: a period of regular coffee consumption, a washout phase where participants stopped drinking coffee altogether, and then a reintroduction phase where they were given either caffeinated or decaffeinated coffee.

Throughout the study, they measured more than just how people felt. Participants completed cognitive tasks that tested things like attention, memory, and mental flexibility. They also reported on mood, stress, and emotional reactivity. At the same time, researchers analyzed the gut microbiome using advanced sequencing techniques and tracked metabolites, which are small molecules produced during digestion that can influence brain function.

The goal wasn’t just to see if coffee “worked.” It was to understand how it might be working, especially through the gut-brain axis, the communication network that links your digestive system and your brain.

Both regular & decaf coffee shift mood, stress, & brain function

When participants reintroduced coffee after the washout period, both caffeinated and decaffeinated versions led to improvements in mood. People reported lower stress, fewer symptoms of depression, and less impulsivity. That alone suggests caffeine isn’t the whole story.

Caffeinated coffee did have some unique effects. It was more strongly linked to reduced anxiety and better attention and vigilance, which aligns with what we already know about caffeine’s role as a stimulant. But decaf held its own in other areas. It was associated with better sleep, improved memory and learning, and even higher levels of physical activity.

So instead of one single effect, coffee seems to be doing multiple things at once, depending on what’s in it and how your body responds.

Coffee & gut health

Then there’s the gut piece, which adds another layer. Coffee intake changed the composition of the gut microbiome, increasing certain bacterial species and shifting the production of metabolites linked to brain health and inflammation. Some of these compounds are involved in regulating mood and cognitive function, which helps explain why the effects showed up even without caffeine.

This is because of the gut-brain axis. The microbes in your gut help produce and regulate neurotransmitters, immune signals, and metabolic compounds that your brain relies on. When coffee changes that environment, it can indirectly shape how you feel and think.

The takeaway

This research broadens the definition of what coffee is doing. It’s not just a stimulant. It’s a complex mix of compounds, including polyphenols, which are plant-based molecules that can act like fuel for beneficial gut bacteria. Those downstream effects may be part of why coffee has been consistently linked to better long-term brain and metabolic health.

It also takes some of the pressure off caffeine itself. If you’re sensitive to caffeine or trying to cut back, decaf isn’t a “downgrade” in the way people often assume. You’re still getting many of the same gut and mood-related benefits, just without the stimulant effect.