Coffee and Gut Health: What the New Danish Microbiome Study Found
A Danish study links regular coffee to a richer gut microbiome, lower small intestine pH and more colon contractions. What it means for constipation.

Key takeaways
- A University of Copenhagen study of 61 healthy Danish adults, published in Gut Microbiology in 2026, found that frequent coffee drinkers had higher gut bacterial richness than people who rarely drank coffee.
- Frequent coffee drinkers also had a significantly lower pH in the small intestine, and higher urine levels of caffeine breakdown products were linked to more colon contractions, measured by a swallowed capsule in 50 participants.
- The study is observational and small. It shows associations, not proof that coffee caused the differences, and the authors call for a controlled intervention study next.
- In a 1998 lab study of 12 healthy adults, a cup of caffeinated coffee stimulated colon activity about as much as a 1,000 calorie meal, 60% more than water and 23% more than decaf.
- The FDA cites 400 mg of caffeine a day as an amount not generally linked to negative effects for most adults. Per USDA data, an 8 ounce cup of brewed coffee has about 95 mg.
- Coffee is not a constipation treatment. Fiber (22 to 34 grams a day for adults, per NIDDK), fluids and activity remain the basics.
Plenty of coffee drinkers will tell you their morning cup "gets things moving." A new study from the University of Copenhagen tried to measure what is actually happening in the gut. It found that people who drink coffee often have a somewhat richer mix of gut bacteria, a more acidic small intestine and, in some measures, more colon contractions than people who rarely drink it. The findings made headlines in November 2026, with some reports framing coffee as a possible natural help for constipation.
The research is interesting, but it is also small and observational, so it cannot show that coffee caused any of these differences. This guide explains what the coffee and gut microbiome study actually found, how it fits with earlier research, what it does and does not mean for digestion and constipation, how much caffeine is in common drinks and who should be careful with coffee. If gut health is your goal, the basics still matter most, starting with eating more fiber.
The short answer
- Frequent coffee drinkers had richer gut bacteria. In a study of 61 healthy Danish adults, people who drank coffee on more than 3 of 8 days had higher bacterial richness than rare drinkers.
- Gut physiology differed too. Frequent drinkers had a significantly lower small intestine pH, and higher urine levels of caffeine breakdown products were linked to more colon contractions.
- It is an association, not proof. The study did not assign coffee intake, was not designed to study coffee and the researchers say they cannot tell whether coffee alone explains the results.
- Coffee can stimulate the colon, but there is no strong evidence that it treats chronic constipation. Fiber, fluids and activity remain the foundation.
- Most adults can stay under 400 mg of caffeine a day, the amount the FDA cites as not generally linked to negative effects. An 8 ounce cup of brewed coffee has about 95 mg.
- Be careful if you are pregnant, have reflux that coffee triggers, feel anxious or jittery after caffeine or have trouble sleeping.
What the Danish coffee study found
Who took part and how it worked
The study, titled "Habitual coffee consumption is linked to differences in gut microbiota and gut physiology," was published online in September 2026 in the journal Gut Microbiology. The first author is Francesca Bucci and the senior author is Henrik M. Roager, both at the University of Copenhagen's Department of Nutrition, Exercise and Sports.
The researchers reused data from an earlier project called the PRIMA study, which ran in 2021. In PRIMA, 61 healthy adults (43 women and 18 men, average age about 39) took part for nine days. They weighed and recorded everything they ate and drank for eight days, collected daily urine and stool samples, and 50 of them swallowed a SmartPill, a wireless capsule about the size of a large vitamin. As the capsule traveled through the gut, it recorded transit time, temperature, acidity (pH) and pressure, which reflects muscle contractions.
The team then split participants into two groups based on how many days they drank coffee:
- Frequent coffee drinkers (48 people): coffee on more than 3 of the 8 days. On average they drank about 344 mL a day, a bit under 12 fluid ounces. The university's news release describes this group as drinking one to five cups a day.
- Rare coffee drinkers (13 people): coffee on fewer than 3 days. On average they drank about 18 mL a day, and seven people reported no coffee at all.
To check that the diaries matched reality, the researchers measured caffeine and four caffeine breakdown products in urine. Urine levels of paraxanthine, the main product the liver makes from caffeine, tracked well with reported coffee intake. They also analyzed stool to profile gut bacteria using 16S rRNA gene sequencing.
The main findings
Here is what the paper reports, along with how strong each finding was.
| Finding | What the study reported | How solid it is |
|---|---|---|
| Gut bacterial richness | Frequent drinkers had higher observed richness (more bacterial types detected) | Statistically significant, but a second diversity measure (Shannon index) was only a trend |
| Overall bacterial makeup | Coffee intake was not linked to overall community composition | No significant difference |
| Specific bacteria | Lawsonibacter, Slackia and an unclassified Eggerthellaceae group were more abundant in frequent drinkers | Group differences did not survive correction for multiple testing; Lawsonibacter also correlated with coffee intake |
| Small intestine pH | Significantly lower (more acidic) in frequent drinkers | Significant between groups; effect on health unknown |
| Colon contractions | Higher urine caffeine metabolites linked to more colon contractions | Modest correlations, not adjusted for multiple testing; no difference between the two groups |
| Colon transit time | No link with coffee or caffeine metabolites | No significant association |
| Stool | More coffee was linked to lower stool moisture and higher stool energy content | Weak to moderate correlations |
What "more diverse" really means here
Headlines said coffee drinkers had "more diverse" gut microbiomes. That is a fair summary, but the details matter. The difference showed up in observed richness, which counts how many different bacterial types were detected in stool. A second common diversity measure, which also accounts for how evenly bacteria are spread, pointed in the same direction but was not statistically significant. Coffee intake was also not linked to the overall makeup of the microbial community.
Higher diversity is generally seen as a sign of a resilient gut ecosystem, but a richer microbiome is not a diagnosis or a guarantee of better health. Researchers are still working out which microbial patterns matter most and why.
Why this is an association, not proof
The authors are careful on this point, and the University of Copenhagen release states that the study cannot establish whether the differences are caused solely by coffee consumption. Several features limit what we can conclude:
- Observational design. Nobody was told how much coffee to drink. People who drink coffee daily may differ in other ways, such as age, routine or other foods. In this study, frequent drinkers were on average about eight years older, though the difference was borderline.
- Small and uneven groups. Only 13 people were in the rare coffee group, and 50 people had capsule data.
- Not designed for coffee. The paper itself notes that PRIMA was originally not intended to investigate coffee.
- No detail on the coffee itself. Participants did not report the type of coffee, and brewing method, roast and bean origin change the compounds in a cup.
- Other caffeine sources. Tea and energy drinks also contribute caffeine, which can blur the urine biomarker results.
- Many comparisons. The gut physiology correlations were explored without adjusting for multiple testing, which raises the chance that some links are due to chance.
- Disclosures. The paper reports that the senior author has a consulting or advisory relationship with Nestlé. The study was funded by the Novo Nordisk Foundation and the European Union's Marie Sklodowska-Curie program, and the authors state the funders had no role in the analysis.
The senior author has said there are good reasons to think the findings are not merely coincidence, partly because other research shows coffee affects digestion, including stomach acid secretion. That is a reasonable hypothesis. It is still a hypothesis.
What it suggests for digestion and constipation
Colon contractions and gut motility
The most practical sounding result is the link between caffeine breakdown products and colon contractions. In the university's release, Bucci explains that contractions in the gut can support healthy digestion, help prevent constipation and keep the intestinal muscles in good condition.
There is a catch. Coffee was linked to more contractions, but not to faster transit through the colon. The authors suggest coffee might increase mixing movements rather than pushing contents along faster. They also found that more coffee was linked to lower stool moisture, which they say could reflect more absorption from better mixing. Drier stool is not usually what people with constipation want, so this is one more reason not to over read the results.
What earlier research shows about coffee and the colon
The idea that coffee stirs up the colon is not new. In a 1998 study in the European Journal of Gastroenterology and Hepatology, researchers placed pressure sensors in the colons of 12 healthy adults and gave them 240 mL (about 8 ounces) of caffeinated coffee with 150 mg of caffeine, decaf coffee, warm water and a 1,000 calorie meal on the same day in random order. Caffeinated coffee stimulated colon activity about as much as the meal, and its effect was 60% stronger than water and 23% stronger than decaf.
The Danish paper also cites earlier work showing that both caffeinated and decaf coffee increased activity in the lower colon within about 4 minutes, which suggests caffeine is not the whole story. Coffee contains more than 1,000 bioactive compounds, according to the paper, including phenolic acids and fibers that can reach the large intestine and feed gut microbes.
Is coffee a constipation remedy?
Not in any proven sense. The evidence shows coffee can acutely stimulate the colon in many people, and earlier research cited by the Danish team links coffee with a lower prevalence of self reported constipation. But there are no strong trials showing that drinking coffee treats chronic constipation, and the new study measured habits, not treatment.
The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) lists common causes of constipation as not eating enough fiber, not drinking enough liquids and not getting enough physical activity, along with certain medicines and health conditions. Its diet advice is to get 22 to 34 grams of fiber a day depending on age and sex, add fiber gradually and drink plenty of liquids so the fiber works better. If you enjoy coffee and it helps your routine, that is fine. Just do not let it replace the basics. Our guides on how to eat more fiber and how much water you should drink cover those foundations.
How this fits with other coffee and microbiome research
The strongest supporting evidence comes from a much larger study. In 2024, Paolo Manghi and colleagues published a multi cohort analysis in Nature Microbiology using dietary and gut microbiome data from 22,867 participants in the US and UK, then compared the results with public data from 211 other cohorts covering 54,198 people.
Key findings from that paper:
- The link between coffee and the gut microbiome was highly reproducible across populations, with a statistical accuracy (area under the curve) of 0.89 for telling coffee drinkers from non drinkers based on gut bacteria.
- The link was driven largely by one species, Lawsonibacter asaccharolyticus, whose median abundance was 4.5 to 8 times higher in coffee drinkers than in non drinkers.
- The association also appeared in decaf drinkers, suggesting compounds other than caffeine are involved.
- In lab experiments, coffee stimulated the growth of L. asaccharolyticus.
The Danish study adds a small but useful piece: its frequent coffee drinkers also had more Lawsonibacter, and it is one of the first to pair microbiome data with direct capsule measurements of gut acidity and contractions in the same people.
What neither study shows is that these bacterial differences make people healthier. As Manghi and colleagues note, future work should test whether links between coffee and health outcomes are actually mediated by this microbe.
How much caffeine is in your cup
Gut effects aside, caffeine is the part of coffee most people need to watch. The FDA says that for most adults, 400 mg a day, about two to three 12 ounce cups of coffee, is an amount not generally associated with negative effects. It also notes wide variation in how sensitive people are to caffeine and how quickly they clear it.
What 400 mg looks like
| Drink (USDA data) | Serving | Caffeine per serving | Servings to reach about 400 mg |
|---|---|---|---|
| Brewed coffee | 8 fl oz | about 95 mg | about 4 |
| Brewed coffee | 12 fl oz | about 142 mg | about 3 |
| Espresso | 1 fl oz shot | about 63 mg | about 6 |
| Black tea | 8 fl oz | about 47 mg | about 8 |
| Cola, regular | 12 fl oz | about 32 mg | about 12 |
| Decaf coffee | 8 fl oz | about 2 mg (FDA: 2 to 15 mg) | not a practical concern |
A few points from the FDA are worth knowing. Decaf is not caffeine free: it typically has 2 to 15 mg in an 8 ounce cup. Energy drinks vary widely, generally 54 to 328 mg per 16 ounces. And the FDA estimates that rapidly taking in about 1,200 mg of caffeine can cause toxic effects such as seizures, which is a concern mainly with pure or highly concentrated caffeine products, not a normal cup of coffee.
Remember that coffee shop cups are often much larger than 8 ounces, so the "cups" in a study or guideline may not match what you actually drink.
Who should be careful with coffee
Pregnancy
The American College of Obstetricians and Gynecologists says moderate caffeine intake, less than 200 mg a day, does not appear to be a major contributing factor in miscarriage or preterm birth. That is about two 8 ounce cups of brewed coffee by USDA values, and less if your cups are larger or stronger. The FDA also recommends talking with your health care provider about caffeine if you are pregnant, trying to become pregnant or breastfeeding.
Acid reflux and heartburn
The NIDDK lists coffee and other sources of caffeine among the foods and drinks commonly linked to GERD symptoms, along with alcohol, chocolate, mint, high fat and spicy foods. Not everyone with reflux reacts to coffee. If yours seems to make symptoms worse, talk with your doctor about cutting back to see whether it helps.
Anxiety, jitters and a racing heart
The FDA lists signs of too much caffeine as increased heart rate, palpitations, high blood pressure, insomnia, anxiety, jitters, upset stomach, nausea and headache. People vary a lot in sensitivity, and some medicines and conditions make caffeine's effects stronger. If you notice these symptoms, try a smaller cup, a half caf blend or decaf, and talk to your doctor if they continue.
Sleep
Caffeine can disrupt sleep for longer than many people expect. In a controlled study published in the Journal of Clinical Sleep Medicine, 400 mg of caffeine taken at bedtime, 3 hours before bed or 6 hours before bed all significantly disturbed sleep compared with a placebo. The authors concluded the results support avoiding substantial caffeine for at least 6 hours before bedtime. For more practical steps, see our guide on how to sleep better.
Children and teens
The FDA notes that medical experts advise against energy drinks for children and teens, and the Dietary Guidelines for Americans say children younger than 2 should avoid caffeinated drinks.
How to drink coffee with your gut in mind
If you already enjoy coffee and tolerate it well, nothing in this research suggests you need to stop. A few simple habits help keep it a healthy part of your day:
- Watch what goes in the cup. Flavored syrups and sweetened coffee drinks can add a lot of added sugar. Our guide on how to cut sugar has easy swaps. Creamer counts too: a Tufts study found that calories from coffee rose nearly 40% in the US, mostly because of non dairy creamer, and our guide to coffee calories has simple lighter swaps.
- Be wary of packaged coffee drinks with long ingredient lists. Learn how to spot them in our explainer on the definition of ultra-processed foods.
- Pair it with fiber rich food. A breakfast built on whole grains, fruit, nuts or seeds supports your gut far more reliably than coffee alone. The balanced plate method makes this simple.
- Keep drinking water. Coffee counts toward your fluids, but water is still the best default drink.
- Set a caffeine cutoff. Aim to finish caffeinated drinks at least 6 hours before bed.
- Consider decaf later in the day. Large studies suggest some coffee and microbiome links are not only about caffeine.
Why follow-up research is still needed
The Danish team is clear that this is an exploratory study, and several open questions remain:
- Cause and effect. The senior author has said the natural next step is an intervention study that controls how much coffee people drink and compares gut function during periods of high coffee intake with periods of no coffee.
- Caffeine versus other compounds. The authors say future studies should include both caffeinated and decaf coffee to separate caffeine's role from compounds such as chlorogenic acids.
- Acute versus habitual effects. This study looked at habits, not what happens right after a cup.
- What lower pH means. The researchers cannot yet say whether a more acidic small intestine is good, bad or neutral. pH affects how digestive enzymes work and how food is broken down.
- Bigger and broader groups. The paper calls for larger studies that can look at possible differences between men and women.
- Real benefits for constipation. Even if coffee does increase contractions, trials would be needed to show it improves symptoms in people who actually have constipation.
Until then, it is best to think of these findings as an interesting clue, not a health recommendation.
When to see a doctor
- Constipation that does not improve with self care, such as more fiber, more fluids and more activity, or if you have a family history of colon or rectal cancer.
- See a doctor right away if constipation comes with bleeding from the rectum, blood in your stool, constant abdominal pain, inability to pass gas, vomiting, fever, lower back pain or weight loss without trying, as listed by the NIDDK.
- Heartburn or reflux that happens often, does not improve with diet changes or makes it hard to swallow.
- Palpitations, chest pain, fainting or severe anxiety after caffeine. Call 911 for chest pain or severe shortness of breath.
- Before changing caffeine intake if you are pregnant, breastfeeding, take regular medicines or have a heart condition.
The bottom line
The new University of Copenhagen study found that among 61 healthy Danish adults, frequent coffee drinkers had higher gut bacterial richness and a more acidic small intestine, and higher caffeine metabolite levels were linked to more colon contractions. Together with a much larger 2024 study tying coffee to the gut species Lawsonibacter asaccharolyticus, it adds to evidence that coffee interacts with the gut in measurable ways. But the study is small and observational, so it cannot show that coffee caused these differences or that they improve health.
If you enjoy coffee, most adults can keep it under the FDA's 400 mg a day, mind added sugar and stop caffeine at least 6 hours before bed. If constipation is the problem, start with fiber, fluids and movement, and see a doctor if it does not improve. Explore more practical nutrition guides on our blog and learn about our areas of expertise.
This article is general information, not medical advice.
Frequently asked questions
Does coffee improve your gut microbiome?
It may be linked to one. In the 2026 Danish study, frequent coffee drinkers had higher bacterial richness, meaning more types of bacteria were detected in their stool, and much larger studies have linked coffee to a specific gut species called Lawsonibacter asaccharolyticus. These are associations from observational research, so they do not prove that coffee improves gut health or that a richer microbiome from coffee leads to better health.
Does coffee help with constipation?
Coffee can stimulate colon activity in many people. A small 1998 study found caffeinated coffee boosted colon contractions about as much as a meal. But there is no strong evidence that coffee treats chronic constipation. The best supported steps are eating enough fiber, drinking enough fluids and staying active. See a doctor if constipation lasts or comes with warning signs such as blood in your stool.
Was the Danish coffee study a randomized trial?
No. It was an analysis of data from an observational study called PRIMA, which was not originally designed to study coffee. Researchers compared people who drank coffee often with those who rarely did. Because they did not assign coffee intake, other differences between the groups could explain some of the results.
How much coffee is safe to drink a day?
For most healthy adults, the FDA cites 400 mg of caffeine a day as an amount not generally associated with negative effects. Using USDA data, an 8 ounce cup of brewed coffee has about 95 mg, so 400 mg is roughly four such cups. Cup sizes and brewing methods vary a lot, and sensitivity differs from person to person.
Does decaf coffee have the same gut effects?
Possibly some of them. In the large Nature Microbiology study, the link between coffee and Lawsonibacter asaccharolyticus was also seen in decaf drinkers, which suggests compounds other than caffeine are involved. In the 1998 colon study, caffeinated coffee had a stronger effect than decaf. The Danish study did not separate caffeinated from decaf coffee.
Who should limit coffee?
People who are pregnant (ACOG advises less than 200 mg of caffeine a day), people whose reflux or heartburn gets worse with coffee, people who feel anxious, jittery or have palpitations after caffeine, and anyone with sleep problems. Talk with your doctor if you take medicines or have a heart condition and are unsure about caffeine.
Sources
- Bucci F, Puhlmann ML, Rodriguez-Garcia P, et al., Roager HM. Habitual coffee consumption is linked to differences in gut microbiota and gut physiology. Gut Microbiology, 2026
- University of Copenhagen via EurekAlert: Coffee appears to change how your gut functions (news release)
- Nutrition Insight: Frequent coffee drinkers show more diverse gut microbiomes, Danish study suggests (November 11, 2026)
- Manghi P, Bhosle A, Wang K, et al. Coffee consumption is associated with intestinal Lawsonibacter asaccharolyticus abundance and prevalence across multiple cohorts. Nature Microbiology, 2024
- Rao SS, Welcher K, Zimmerman B, Stumbo P. Is coffee a colonic stimulant? European Journal of Gastroenterology and Hepatology, 1998 (PubMed)
- U.S. Food and Drug Administration: Spilling the Beans, How Much Caffeine is Too Much?
- USDA FoodData Central: Beverages, coffee, brewed, prepared with tap water (SR Legacy 171890)
- USDA FoodData Central: Beverages, coffee, brewed, espresso, restaurant-prepared (SR Legacy 171891)
- USDA FoodData Central: Beverages, tea, black, brewed, prepared with tap water (SR Legacy 173227)
- USDA FoodData Central: Beverages, tea, green, brewed, regular (SR Legacy 171917)
- USDA FoodData Central: Beverages, carbonated, cola, regular (SR Legacy 174852)
- USDA FoodData Central: Beverages, coffee, brewed, prepared with tap water, decaffeinated (SR Legacy 171889)
- American College of Obstetricians and Gynecologists: Moderate Caffeine Consumption During Pregnancy
- Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 2013 (PubMed)
- NIDDK: Eating, Diet, and Nutrition for GER and GERD
- NIDDK: Symptoms and Causes of Constipation
- NIDDK: Eating, Diet, and Nutrition for Constipation
This article is general information about exercise and healthy living, not medical advice. If you have a health condition, an injury or are pregnant, talk to a doctor or qualified professional before changing your activity.


