A 2026 Nature Communications study of 62 adults found both caffeinated and decaffeinated coffee shift gut microbes and lower stress and depression scores, with caffeine uniquely improving attention and decaf boosting memory.
A landmark human study published April 21, 2026 in Nature Communications found that regular coffee consumption — caffeinated or decaffeinated — produces measurable shifts in the gut microbiome and is linked to lower perceived stress, lower depression scores, and reduced impulsivity in habitual drinkers, with caffeine-specific benefits for attention and anxiety, and decaf-specific benefits for memory and sleep.
The research, conducted by a team at APC Microbiome Ireland at University College Cork, is the most comprehensive human investigation to date of how coffee interacts with what scientists call the microbiota-gut-brain axis — the two-way communication system linking the gut microbiome and the brain. It is also the first to simultaneously isolate the effects of caffeine from other coffee compounds in a controlled human trial.
Before diving into the mechanisms, here is a side-by-side look at what the two coffee conditions produced compared to the abstinence baseline:
| Outcome Measure | Caffeinated Coffee | Decaffeinated Coffee | Abstinence (2-week baseline) |
|---|---|---|---|
| Perceived stress | Reduced | Reduced | Elevated (vs. reintroduction) |
| Depression scores | Improved | Improved | Higher than reintroduction |
| Impulsivity | Reduced | Reduced | Fell during abstinence, rose slightly on reintroduction |
| Anxiety | Reduced | No significant change | — |
| Attention & vigilance | Improved | No significant change | — |
| Memory & learning | No significant change | Improved | , |
| Sleep quality | No significant change | Improved | , |
| Gut microbiome shift | Yes (distinct profile) | Yes (distinct profile) | Significant metabolite changes observed |
The table reflects findings reported across the EurekAlert press release from APC Microbiome Ireland and the Daily Coffee News coverage of the study.
What exactly is the microbiota-gut-brain axis, and why does it matter for coffee drinkers?
The microbiota-gut-brain axis is the bidirectional communication network linking the gut microbiome — the vast community of bacteria, yeasts, and other microorganisms living in the digestive tract — with the central nervous system, operating through neural, endocrine, metabolic, and immune channels. A foundational review in Integrative Medicine: A Clinician's Journal describes how this axis connects the autonomic nervous system, the hypothalamic-pituitary-adrenal (HPA) axis, and enteric nerves, allowing gut microbes to influence mood, cognition, and mental health in ways that extend well beyond digestion.
For coffee drinkers, the practical implication is significant: if coffee reshapes the microbial community in your gut, it may be doing more than waking you up. It may be nudging the very biological machinery that regulates stress responses, emotional regulation, and cognitive performance.
Coffee is a complex dietary matrix containing not just caffeine but also chlorogenic acids, melanoidins, diterpenes, and other phenolic compounds. Many of these reach the colon largely intact, where gut bacteria metabolize them into bioactive byproducts. Research has shown that chlorogenic acids and melanoidins are associated with changes in gut microbial populations and increased short-chain fatty acid (SCFA) levels — compounds that feed the gut lining and have anti-inflammatory properties that may reach the brain.
The Cork team's study matters because it is not simply asking whether coffee is good or bad for you. It is asking how coffee interacts with the gut space, and whether those interactions translate into measurable changes in brain function and mood.
How was the University College Cork study designed?
The study recruited 62 healthy adults between the ages of 30 and 50 from Ireland. Half were regular coffee drinkers (defined as consuming 3–5 cups per day, the range the European Food Safety Authority identifies as moderate and safe for most adults), and half were non-coffee drinkers. The two groups were matched on baseline diet, BMI, education level, alcohol consumption, and predicted IQ, reducing the risk that lifestyle differences would confound the results.
Coffee drinkers first abstained from all coffee for two weeks, then were randomly assigned on a blinded basis to reintroduce either caffeinated or decaffeinated instant coffee for 21 days. Throughout each phase, participants submitted stool and urine samples, completed detailed psychological questionnaires, and kept seven-day food diaries.
The analytical methods were unusually thorough for a study of this size. Researchers used shotgun metagenomics — a DNA-sequencing technique that profiles the entire genetic content of gut bacteria — alongside two types of chemical analysis (metabolomics) to track hundreds of compounds in both feces and urine. This combination allowed the team to link specific microbial changes to specific metabolite shifts, and then to correlate those shifts with psychological outcomes.
The study was sponsored by the Institute for Scientific Information on Coffee (ISIC), whose members include five major European coffee companies: Illycaffè, JDE Peet's, Lavazza, Paulig, and Tchibo. Several authors also disclosed outside relationships with pharmaceutical companies and Nestlé. Daily Coffee News notes that the paper itself presents a more complicated picture than the press release suggests, and readers should weigh the funding context when interpreting the findings.
Which gut bacteria did coffee change, and what do those changes mean?
The study identified several bacterial species that shifted meaningfully in coffee drinkers compared to non-coffee drinkers. Bacteria such as Eggerthella sp. and Cryptobacterium curtum were notably increased in coffee drinkers. Eggerthella is thought to contribute to gastric and intestinal acid secretion, while Cryptobacterium curtum is believed to be involved in bile acid synthesis — both processes that may play a role in eliminating harmful gut bacteria and reducing susceptibility to stomach infections.
Increased Firmicutes bacteria were also observed in coffee drinkers, and this bacterial phylum has been associated with positive emotions, particularly in females. The significance of this finding is still being explored, but it aligns with a broader body of research suggesting that microbial composition can influence emotional tone through the gut-brain axis.
These findings build on prior large-scale work. A 2024 study published in Nature Microbiology, covering more than 54,000 participants, linked coffee consumption to higher levels of a beneficial gut bacterium called Lawsonibacter asaccharolyticus — a species identified in prior research as a butyrate producer. Butyrate is a short-chain fatty acid that feeds colonocytes (cells lining the colon), supports the gut barrier, and has anti-inflammatory effects that extend beyond the gut. The Cork study adds mechanistic detail to that population-level association by showing how coffee shifts the microbial environment and what metabolic consequences follow.
The two-week abstinence period was itself informative. During that phase, habitual coffee drinkers showed significant changes in their metabolite profiles compared to non-coffee drinkers, suggesting that the gut microbiome of a regular coffee drinker is genuinely adapted to coffee's presence — and responds when it is removed.
Does it matter whether you drink caffeinated or decaffeinated coffee?
Yes, and the differences are more detailed than most coverage suggests.
Both caffeinated and decaffeinated coffee produced overlapping benefits: lower perceived stress, lower depression scores, and reduced impulsivity compared to the abstinence baseline. This tells researchers that the mood-related benefits of coffee are not solely driven by caffeine — the non-caffeine compounds in coffee, including polyphenols like chlorogenic acids, are doing meaningful work.
The two types diverged on several specific outcomes. Only the caffeinated group showed reduced anxiety and better attention and vigilance scores. Caffeine's well-documented role as an adenosine receptor antagonist — blocking the brain's fatigue-signaling molecule — likely explains the attention and vigilance gains. The anxiety reduction in the caffeinated group may seem counterintuitive given caffeine's stimulant reputation, but the study population were habitual drinkers returning to their normal intake after a withdrawal period, which may have resolved withdrawal-related anxiety rather than producing a net anxiolytic effect.
The decaffeinated group, by contrast, showed improved sleep quality and gains on memory and learning measures. This suggests that polyphenols and other non-caffeine compounds are responsible for cognitive benefits that caffeine itself may actually blunt — possibly because caffeine's stimulant effect interferes with the consolidation phases of memory that occur during sleep.
Caffeinated coffee was also linked to a reduced risk of inflammation markers, which aligns with existing evidence that caffeine has anti-inflammatory properties in addition to its stimulant effects.
For practical decision-making, the choice between caffeinated and decaffeinated coffee is not simply about energy levels. If your priority is attention and anxiety management during the day, caffeinated coffee has a documented edge. If your priority is memory consolidation and sleep quality, decaf may be the better option — particularly in the afternoon and evening.
What does "withdrawal" actually look like, and does it complicate the findings?
This is where the study's nuance is most important, and where some media coverage has been oversimplified.
At baseline — before any intervention — habitual coffee drinkers showed higher impulsivity and emotional reactivity than non-coffee drinkers, while non-coffee drinkers performed better on memory measures. This is a meaningful finding in itself: it suggests that regular coffee consumption may be associated with a baseline state of higher emotional reactivity, not lower.
During the two-week abstinence period, impulsivity and emotional reactivity fell among habitual drinkers. When coffee was reintroduced, some mood measures improved again — but the paper itself acknowledges that part of this improvement may reflect the reversal of withdrawal-related effects rather than a straightforward benefit of coffee consumption.
The authors also note that non-coffee drinkers appeared to avoid caffeine-withdrawal symptoms altogether, which is an important control observation. The non-drinker group's stability across phases helps confirm that the changes seen in habitual drinkers were driven by coffee's presence or absence, not by the study protocol itself.
This complexity does not invalidate the findings, but it does mean that the headline "coffee improves mood" requires qualification. A more precise statement is: for habitual coffee drinkers, reintroducing coffee after a period of abstinence is associated with improvements in mood and stress measures — and some of those improvements likely reflect a return to a caffeine-adapted baseline rather than a net gain above a coffee-naive state.
How does this study fit into the broader science on coffee and brain health?
The Cork study combines several converging research threads.
A mouse study from China suggested that caffeine may help prevent depression by supporting gut microbiota regulation — a finding that the Cork human study partially corroborates, though the mechanisms in rodents and humans are not always equivalent. Animal studies can establish plausible pathways, but human trials are needed to confirm that those pathways operate at physiologically relevant doses in real-world conditions.
The Cork study's contribution is that it examined the mechanism in healthy human adults using simultaneous microbiome profiling, metabolomics, and cognitive testing — a methodological combination that is rare in coffee research. Most prior human studies relied on self-reported coffee intake and single-point outcome measures. The Cork team's use of shotgun metagenomics and metabolomics allowed them to trace the chain from coffee intake to microbial change to metabolite shift to psychological outcome, rather than simply correlating intake with mood.
Coffee's bioactive components, such as chlorogenic acids and melanoidins, are associated with changes in gut microbial populations and increases in short-chain fatty acid levels, and coffee phenolics may also help reduce neuroinflammation by activating antioxidant pathways in the brain. These mechanisms are consistent with the Cork findings and provide a plausible biological explanation for the mood and cognitive effects observed.
The gut-brain axis itself operates through anatomical, endocrine, humoral, metabolic, and immune routes linking the enteric and central nervous systems. Clinical, epidemiological, and immunological evidence suggests that enteric microbiota extensively and profoundly influences mood, emotional regulation, neuromuscular function, and regulation of the HPA axis. Coffee's ability to shift that microbial community — even modestly — may therefore have downstream effects that extend well beyond the gut.
What are the study's limitations, and what should you actually take away from it?
The honest answer is that this study is suggestive, not definitive.
The sample size of 62 participants is small for a microbiome study, where individual variation is enormous. All participants were based in Ireland, which limits generalizability to populations with different dietary patterns, genetic backgrounds, and baseline microbiome compositions. The coffee used was instant coffee, which has a different compound profile than espresso, filter coffee, or cold brew — so the findings may not translate directly to other preparation methods.
Industry funding from ISIC is a legitimate concern. While the study was published in a peer-reviewed journal and the authors disclosed their conflicts of interest, industry-sponsored nutrition research has a documented tendency toward positive findings. The paper's own more cautious framing — which acknowledges the withdrawal confound and the baseline differences between drinkers and non-drinkers — is a mark of scientific integrity, but readers should remain appropriately skeptical.
What the study does establish with reasonable confidence is that coffee is not a pharmacologically simple beverage. Its effects on the gut microbiome are real and measurable, and those microbial shifts are plausibly connected to the mood and cognitive outcomes observed. The separation of caffeinated from decaffeinated effects is a genuine scientific contribution that helps clarify which compounds are doing which work.
For most healthy adults who already drink coffee at moderate levels (3–5 cups per day), this research offers reassurance that the habit is not working against gut or brain health — and may be actively supporting both. For people considering whether to switch to decaf, the data suggests that much of the mood benefit is preserved, with potential additional gains in sleep and memory.
If you are sensitive to caffeine or looking to manage anxiety, our guide on how to drink coffee all day without jitters covers caffeine modulation strategies that align well with what this research suggests about caffeine's distinct role. And if you are exploring non-caffeinated options for sleep and stress, caffeine-free herbal teas offer an alternative pathway to gut-supportive polyphenols without the stimulant load.
What comes next in coffee and gut-brain research?
The Cork team's work opens several questions that future research will need to address. The most pressing is causality: the study design, while rigorous for its size, cannot fully rule out that the observed microbiome changes are a consequence of other behavioral shifts that accompany coffee drinking rather than a direct effect of coffee's compounds. Larger randomized controlled trials with more diverse populations, using multiple coffee preparation methods and longer follow-up periods, would strengthen the causal inference considerably.
There is also the question of individual variation. The microbiome is highly personalized, and the same coffee compounds may produce very different microbial responses in different people depending on their baseline microbial composition, genetics, and diet. Precision nutrition approaches — tailoring coffee recommendations to individual microbiome profiles — are still speculative, but this study provides a framework for that kind of research.
Professor John Cryan, the study's corresponding author, framed the broader significance this way: "Coffee is more than just caffeine — it's a complex dietary factor that interacts with our gut microbes, our metabolism, and even our emotional well-being. Our findings suggest that coffee, whether caffeinated or decaffeinated, can influence health in distinct but complementary ways."
That framing — coffee as a complex dietary factor rather than a simple stimulant — is the most durable takeaway from this research. The conversation about coffee and health is no longer just about cardiovascular risk or sleep disruption. It now includes a serious scientific inquiry into how coffee shapes the microbial space that, in turn, shapes how we feel, think, and respond to stress.
Sources
- Study Explores Coffee's Gut-Brain Effects in Humans — Daily Coffee News
- Drinking coffee alters your microbiome, mood, and memory — News-Medical.net
- New research reveals mechanisms behind coffee's positive effects on the gut-brain axis — EurekAlert
- The Gut-Brain Axis: Influence of Microbiota on Mood and Mental Health — PMC / Integrative Medicine
- Habitual coffee intake shapes the gut microbiome and modifies host physiology and cognition — Nature Communications
- APC Microbiome Ireland, University College Cork
- Institute for Scientific Information on Coffee (ISIC) — Coffee and Health
