A small electronic capsule gave researchers at the University of Copenhagen a moving picture of the gut—and it revealed differences between frequent coffee drinkers and people who drank coffee less often. In 61 healthy Danish adults, regular coffee consumption was linked not only to a different mix of gut microbes, but also to changes in how the digestive system worked.

Coffee has been studied for its links to health conditions such as heart disease and diabetes, but less is known about its effects inside the gut. Understanding those effects could matter for people with constipation or irregular bowel movements, problems that affect many people. The Copenhagen study, published in the journal Gut Microbiology, offers clues, though it does not prove that coffee caused the differences.

Participants swallowed a capsule that measured its journey through the digestive tract. It recorded how long the journey took, along with temperature, acidity (measured as pH) and intestinal contractions. The team grouped participants as frequent coffee drinkers if they had between one and five cups a day on more than three of the eight study days. Others were classed as drinking coffee less often.

Frequent coffee drinkers had more diverse communities of gut microorganisms than the less frequent drinkers. The researchers also found that the frequent drinkers had a significantly lower pH in the small intestine. In addition, higher coffee consumption was associated with more contractions in the colon, the final part of the large intestine.

Francesca Bucci, the study’s first author and a Ph.D. student at the university’s Department of Nutrition, Exercise and Sports, said the possible effects on gut function may be especially important. Colon contractions move material through the digestive system. Bucci said they can support digestion, help prevent constipation and keep intestinal muscles in good condition.

The meaning of the lower pH is less clear. Acidity in the small intestine helps shape how digestive enzymes work and how food is broken down, but the researchers cannot yet say whether the observed difference is helpful or harmful. They also caution that the study cannot show that coffee alone produced the results. Other factors may be involved.

Senior author Henrik Munch Roager, an associate professor and research group leader in the same department, said previous research gives reason to suspect coffee has a real role. Coffee can affect processes such as acid release in the stomach, he noted, and many people report that it changes their digestion. Still, the new findings are an association, not proof of cause and effect.

The next step, Roager said, would be a study that controls how much coffee people drink and compares their gut function during periods with and without coffee. If future research confirms that coffee can influence intestinal movement, that knowledge could help researchers explore new ways to support digestion. For now, the capsule study adds a useful piece to a larger question: how a familiar daily drink may shape the workings of the gut.