There is a reason why when we think about coffee, we only see ‘caffeine’ in big, bold letters. It helps up wake up, stay energetic, alert, sharpens our attention and helps us fight the midday grogginess at work. So, little attention has been paid to other components of coffee. But new research suggests some of coffee’s effects on the brain may have little to do with caffeine. A study published in Nature Communications found that both caffeinated and decaffeinated coffee were linked to changes in the gut microbiome, mood and stress. But improvements in learning and memory were seen specifically among people who drank decaffeinated coffee. The findings suggest that coffee’s effects on the brain could involve its many other compounds and the gut-brain connection, rather than caffeine alone.How Was The Study ConductedResearchers from APC Microbiome Ireland at University College Cork studied 62 people. Thirty-one were regular coffee drinkers, while 31 did not normally drink coffee. The regular coffee drinkers first stopped consuming coffee for two weeks. Researchers then collected stool and urine samples and monitored their mood, stress, cognition and other measures. Coffee was subsequently reintroduced, with participants receiving either caffeinated or decaffeinated coffee for three weeks. The researchers found that both forms of coffee were associated with changes in gut bacteria and metabolites. But when it came to cognitive effects, there was a striking finding.Also read: Andrew Huberman’s Sleep Trick: Can Eye Movements Help You Fall Back Asleep?Decaffeinated Coffee Improved Memory Participants who drank decaffeinated coffee showed significant improvements in learning and memory. For example, they made fewer errors on a test examining learning and memory. They also showed improvements in episodic memory, which involves remembering information and experiences. The caffeinated group did not show the same results. This helped researchers find out that the non-caffeine components of coffee may have some positive cognitive effects. But the researchers also acknowledge that some of the improvement could have happened due to participants becoming more familiar with the tests over time.Also read: Gut Microbiome Linked To 3x Higher Type 1 Diabetes Risk In ChildrenDecaf Coffee's Effect On BrainCoffee contains thousands of chemical compounds, including polyphenols. These compounds can interact with gut microbes and influence the production of metabolites, which can then affect the body and brain. This is where the gut-brain axis comes into the picture. The gut and brain are in constant communication through several processes involving the nervous system, immune system, hormones and chemicals produced by gut bacteria. The study found that coffee consumption altered the composition and activity of gut microbes and changed certain metabolites. Some bacteria, including Eggerthella species and Cryptobacterium curtum, were more found in more quantity among coffee drinkers. Researchers believe these microbial changes could help explain some of coffee’s effects on mood and cognition. Effects Of Caffeinated Coffee Participants drinking caffeinated coffee experienced reduced anxiety and other psychological effects, while some measures of attention and cognitive performance also improved. Both caffeinated and decaffeinated coffee showed lower signs of stress, depression and impulsivity. So the study does not suggest that decaf is universally better for the brain. Instead, it shows that different components of coffee may produce different effects. It also adds another layer to the increasingly complicated story of coffee and health. Coffee may be more than a delivery system for caffeine. Its polyphenols and other compounds may interact with gut bacteria, influencing metabolism, inflammation, mood and brain function.