Health

Keto Constipation and Gut Bacteria: How Much Does the Microbiome Change?

9 min read Β· Research Summary Β· October 22, 2026

"I started keto and by the third day I couldn't go to the bathroom" β€” complaints like this show up daily in keto groups and Instagram comments. Nearly every reply stays at the level of "drink more water, eat greens," with no source and no explanation of mechanism. Yet several studies published since 2020 show, with actual numbers, that carb restriction measurably changes gut bacteria (the microbiome) and short-chain fatty acids (SCFAs) β€” including data a Turkish university published in 2024.

This article summarizes current research and is not medical advice. If your constipation lasts more than two weeks, comes with severe abdominal pain, or you notice blood in your stool, see a doctor.

The Simplest Cause: A Fiber Shortfall

The roughly 20-25 grams of net carbs a day that keto is built around automatically removes grains, legumes, and some fruits from the plate β€” the same food groups that supply most of a typical daily fiber intake. In a study a team from Acibadem Mehmet Ali Aydinlar University published in Nutrients in December 2024, daily fiber intake among 15 women (average age 36.5) fell from 18.33 grams to 12.77 grams after six weeks on a ketogenic diet. That drop alone is enough to raise constipation risk, but it isn't the whole story.

Data from Turkey: How Much Does Gut Bacteria Actually Change?

In the same study, researchers compared stool-sample bacterial composition before and after the diet. The shift was pronounced: Firmicutes rose from 65.8% to 92.6% of relative abundance, while Bacteroidetes fell from 25.7% to 4.2%. The Firmicutes/Bacteroidetes ratio jumped from 5.94 to 31.50 (p=0.001) β€” a rise that's been linked in the literature to both obesity and certain metabolic shifts, though it carries no single "good" or "bad" label. At the genus level, Blautia and Oscillibacter increased significantly and Prevotella decreased; Bifidobacterium was also among the genera that declined. Average BMI among participants fell from 29.81 to 27.12, so the weight loss was real β€” but the shift in gut flora is a signal that can be tracked separately from weight loss.

Short-Chain Fatty Acids: An Unexpected Drop

The same study's most striking finding showed up in fecal short-chain fatty acids (SCFAs). Acetate fell from 373.37 to 161.39 micromoles per gram of dry matter, propionate from 72.32 to 20.66, and butyrate from 60.86 to 14.86 (p<0.01 for all three). Total SCFA content dropped by more than half. SCFAs are the primary energy source for colon cells and play a role in maintaining the gut lining, with butyrate being especially important for that job. A drop this sharp suggests keto constipation isn't just about "not eating enough fiber" β€” the nutritional environment inside the gut itself is shifting too.

A Different Result from the US: Not Every Study Finds the Same Thing

A 2020 crossover clinical trial in Cell, involving 17 overweight or obese men (Ang, Alexander, Turnbaugh et al.), told a partly different story. Participants spent four weeks on a standard diet (50% carbohydrate, 15% protein, 35% fat), then four weeks on a ketogenic diet (5% carbohydrate, 15% protein, 80% fat), with daily stool samples collected during the final week of each period. Gut flora structure shifted clearly here too, and among 19 genera that changed, Bifidobacterium showed the steepest decline β€” but there was no statistically significant change in SCFA levels. The gap between the two studies likely comes down to sample size (15 women vs. 17 men), diet duration (6 weeks vs. 4 weeks), and population differences. Both are small studies, and neither "disproves" the other β€” they simply show that the gut's response doesn't follow one fixed pattern.

Why Does Bifidobacterium Decline? The Possible Role of Ketone Bodies

The Cell study's researchers, trying to understand the cause of the decline, incubated stool samples in the lab with beta-hydroxybutyrate (a ketone body). At concentrations of 12.5-50 millimolar, the ketone body suppressed community growth in a dose-dependent way; at 50 mM, 12 genera changed significantly, including Bifidobacterium and Lactobacillus. A similar relationship showed up in mice: among mice fed a high-fat diet supplemented with a ketone ester, Bifidobacterium levels correlated inversely with cecal beta-hydroxybutyrate concentration (Spearman rho=-0.762, p=0.037). One caveat matters here: actual ketone levels in the mice's cecum were far below the doses used in the lab experiment β€” the researchers themselves note the mechanism is "plausible," not confirmed.

What Can You Actually Do About It?

When Should You See a Doctor?

If constipation lasts more than two weeks, comes with severe abdominal pain, shows blood in the stool, or comes with unexplained fatigue, that isn't "keto flu" β€” it's a reason to see a doctor. How much of the shift in gut flora is temporary versus lasting also isn't clear yet. The Cell study's authors note that the decline in some species may partially reverse over time, but no long-term human follow-up study has confirmed that.

Want a personal keto plan built around your goals and profile?

Build My Free Plan β†’

Sources