Discover your unique microbiome profile with advanced testing

Learn More →
Article

Intermittent Fasting and Gut Health: What Studies Show

What intermittent fasting gut health studies show: bacteria shift in some trials, but the changes are small, inconsistent and fade. Plus who should skip it.

October 28, 2026 Lucas Summer 12 min read
Last reviewed: October 28, 2026

Intermittent fasting can change gut bacteria, but the effect on gut health is smaller and less certain than most headlines suggest. Human studies link fasting to higher bacterial diversity and more of some fiber-fermenting and mucus-dwelling microbes, yet results vary widely between trials[1]. A 2026 review rated the evidence for time-restricted eating as very low certainty[2].

The changes also tend to fade. In healthy men who fasted during Ramadan, gut bacteria shifted over the month and then returned to baseline after normal eating resumed[3]. Below: what happens in your gut between meals, what the human trials found, which schedules have been studied, possible side effects and who should not fast at all.

What Happens in Your Gut When You Fast?

Between meals, your gut switches to a housekeeping mode. The migrating motor complex (MMC) is a cycle of contractions that appears only in the fasting, or interdigestive, state and repeats every 90 to 120 minutes in humans[4]. In the stomach it mechanically and chemically clears leftovers before the next meal, and a weak MMC is linked to bacterial overgrowth and indigestion[4].

Gut bacteria also lose their main food supply. Most people already fast 8 to 10 hours overnight, and a 16-hour fasting window stretches that gap considerably[1]. Researchers suspect this favors microbes that can live on the gut's own mucus layer when dietary fiber runs out[1].

During long fasts the shift is clearer. In 15 healthy men on a 10-day fast of about 250 kcal a day, fiber-degrading Lachnospiraceae and Ruminococcaceae fell, while Bacteroidetes and Proteobacteria such as Escherichia coli and Bilophila wadsworthia rose[5]. These groups use substances the body produces rather than food. Levels of short-chain fatty acids were unchanged at the end of that fast[5].

What Do Human Studies Show?

Most studies find some change in gut bacteria, but not the same change. A 2024 systematic review found only 8 human studies of intermittent fasting and gut bacteria[1]. Most reported shifts in richness, diversity or composition, but the bacteria affected "varied widely depending on the study," and a pooled analysis was not possible[1].

The newest review, from 2026, looked only at time-restricted eating in adults with overweight or obesity: 9 reports and 517 participants[2]. Of five randomized reports, three found no clear change in diversity, one found that early and late eating windows diverged, and one found higher richness with a 6-hour window[2]. The authors concluded the evidence shows neither a benefit nor its absence[2].

Study Who Fasting pattern Gut finding
Su 2021[3] Two cohorts of healthy men Ramadan, about 1 month Diversity rose; Lachnospiraceae went from 24.6% to 39.7% of bacteria; back to baseline after fasting
Özkul 2019[6] 9 adults, no control group Ramadan, 17 h a day for 29 days More Akkermansia muciniphila and Bacteroides fragilis group in every participant
Xie 2022[7] 90 healthy adults, randomized Early vs mid-day eating window, 5 weeks Early window raised diversity and insulin sensitivity; mid-day window did not raise diversity
Johnson 2025[8] 16 adults (5 with paired samples) 8-hour window, 12 weeks No change in diversity despite weight and visceral fat loss
Mohr 2024[9] 41 adults with overweight, randomized Fasting plus protein pacing vs calorie restriction, 8 weeks Fewer gut symptoms and more Christensenellaceae with fasting plus protein pacing
Mesnage 2019[5] 15 healthy men 10-day fast, about 250 kcal a day Fiber degraders fell, host-substrate users rose; reversed after 3 months

Two caveats apply to almost all of these. Many were small, uncontrolled or based on religious fasting, and the 2024 review notes that weight loss and diet changes during fasting may explain part of the shift[1].

Which Gut Bacteria Change With Fasting?

No single "fasting bacterium" shows up across studies, but a few names recur[1].

  • Akkermansia muciniphila. It rose in all nine people in a Ramadan pilot[6]. As a mucus-degrading microbe that adheres tightly to the mucus layer, it may cope better than others when food intake drops[1]. In a one-week supervised fast followed by six weeks of probiotics, its rise was significant only over the whole program, not during the fasting week itself[10].
  • Faecalibacterium prausnitzii. Faecalibacterium was one of the few taxa that increased in three or more fasting groups in the 2024 review[1].
  • Lachnospiraceae and Ruminococcaceae. These butyrate-producing families rose during Ramadan fasting[3]. Many Lachnospiraceae can ferment mucus, which may help them when dietary carbohydrates are scarce[1]. In a 10-day fast, by contrast, both families fell[5].
  • Christensenellaceae. This family, which includes Christensenella minuta, increased with fasting plus protein pacing over 8 weeks[9].
  • Bacteroides fragilis group. It rose alongside Akkermansia in the Ramadan pilot[6].

The pattern depends on the length of the fast. During a month of daily Ramadan fasting, butyrate-producing fiber fermenters rose, while a 10-day fast pushed bacteria toward species that feed on the host[3][5]. Whether any of these shifts improves health on its own has not been shown[1].

Does Fasting Reset Your Gut?

No study shows a lasting "reset." In the Ramadan cohorts, bacterial composition returned to baseline once daily fasting stopped[3]. After a 10-day fast, the shifts had reversed within three months[5].

How many hours of fasting does it take to heal the gut?

No trial we read defined a fasting length that repairs the gut, and none of the human studies above measured healing of the gut lining as an outcome. Any benefit seems to last only as long as the eating pattern does, so a long-term change depends on keeping the habit[3].

What is a 7-day gut reset?

It is a marketing phrase, not a medical protocol. The closest thing studied is a one-week supervised fast, which was combined with a laxative and followed by six weeks of probiotics, so the fast's own effect cannot be separated out[10]. Even a 10-day fast produced shifts that were gone within three months[5].

How can you tell if your gut is detoxing?

You can't, because "detoxing" is not something these studies measured. Fatigue, headache and dizziness are common adverse events in fasting trials[11], not signs that toxins are leaving. The gut's real between-meal clearing is the migrating motor complex, which runs on its own whenever you are not eating[4].

Is there a gut detox diet?

No diet has been shown to detox the gut. What you eat during fasting periods still matters, because diet changes may explain part of the gut microbiota shifts linked to fasting[1].

Which Fasting Schedule Is Best for Gut Health?

The best-supported option for gut-related outcomes is eating earlier in the day, based on one randomized trial[7]. In that trial, 5 weeks of early time-restricted eating improved insulin sensitivity more than a mid-day window, and only the early window lowered fasting glucose, reduced inflammation and increased gut bacterial diversity[7]. For how gut bacteria relate to these outcomes, see our pages on improved insulin sensitivity and circadian rhythm support.

Schedule What it involves Gut evidence so far
Early time-restricted eating Eating confined to the early part of the day One 5-week RCT: more diversity and better insulin sensitivity than a mid-day window[7]
16:8 or 8-hour window 16 hours fasting, 8 hours eating, daily Mixed: no diversity change in a 12-week pilot RCT[8]; very low-certainty evidence overall[2]
Ramadan-style fasting Dawn-to-sunset fasting for about a month Diversity and some taxa rise in small studies, then revert[3][6]
5:2 or alternate-day fasting 2 low-calorie days a week, or every other day Only one study of each in the 2024 review: too few to judge[1]
Supervised fasts of 5 to 10 days Very low intake, under medical care Large but temporary shifts[5]; in metabolic syndrome, changes in bacterial genes for short-chain fatty acid production[12]

Why is 16 hours the magic number for fasting?

It isn't, at least for gut bacteria. Sixteen hours is simply a common protocol, roughly double the usual 8 to 10 hour overnight fast[1]. The 2026 review included any daily eating window of 12 hours or less and found no window with clear gut benefits[2]. The IBS pilot used 16:8 but did not compare it with other window lengths[13].

Can Fasting Help Digestive Symptoms?

Possibly for some people, but the trials are early. In an 8-week pilot, 97 adults with irritable bowel syndrome (IBS) who followed a daily 16:8 schedule saw their IBS Symptom Severity Score fall by an average of 100.2 points[13]. Scores fell in constipation-predominant (-125.2), diarrhea-predominant (-76.0) and mixed IBS (-93.1)[13]. There was no control group, and the authors call the results preliminary[13].

In Crohn's disease, a randomized trial tested a fasting-mimicking diet, a structured low-calorie plan followed 5 days a month for 3 months. Clinical response was 69.2% with the diet versus 43.8% on a usual diet, and remission was 64.6% versus 37.5%[14]. Fecal calprotectin, an inflammation marker, fell 22.0% versus a rise of 8.0%[14]. This was a structured trial protocol, not daily intermittent fasting.

Ramadan studies add a caution for inflammatory bowel disease. People with mild, uncomplicated Crohn's disease had a low risk of flares, but one study found older people with ulcerative colitis had more flares and worse disease status than those who did not fast[15].

For SIBO, the link is theoretical. A weak migrating motor complex is associated with bacterial overgrowth[4], and longer gaps between meals give the MMC more time to run. No trial in our sources tested fasting as a SIBO treatment.

None of the sources we read recommend fasting for gastritis, and none tested it as a treatment. In one retrospective analysis of 1,661 endoscopies for indigestion, rates of gastritis and stomach ulcers did not differ before, during or after Ramadan[15].

Duodenitis and duodenal ulcers were more common during Ramadan, and another study found monthly surgery for perforated ulcers rose from 4.55 to 14.05 during Ramadan[15]. If you have H. pylori gastritis or peptic ulcers, ask your doctor before fasting.

Can Intermittent Fasting Upset Your Stomach?

Yes, for some people. A 2024 meta-analysis of 15 randomized trials in 1,365 adults with overweight or obesity found fasting was not linked to more adverse events overall than control diets[11]. Still, constipation (10.2%) and diarrhea (7.8%) were among the most common complaints in fasting groups, alongside fatigue (14.5%), headache (13.5%) and dizziness (9.8%)[11]. The authors suggest irregular eating times may contribute to these changes in bowel movements[11].

If you notice persistent bowel changes, ongoing bloating or pain after starting a fasting schedule, that is a reason to talk to a clinician rather than push through. Our guide to signs of poor gut health covers symptoms worth checking.

Who Should Not Try Intermittent Fasting?

Intermittent fasting is not for everyone, whatever its effect on gut bacteria.

  • People with a current or past eating disorder. Authors of a 2023 commentary on fasting risks say these patients should never be encouraged to fast[16]. Almost all fasting trials exclude them[17].
  • Teens and young adults, especially women and gender-diverse people, who showed stronger links between fasting and disordered eating in survey data[16].
  • Children, older adults, and people who are pregnant or breastfeeding, because safety has not been studied in these groups[16][17].
  • People with type 2 diabetes on insulin or sulfonylureas, who need their doctor to plan any medication changes before fasting[17].

If you have IBS, Crohn's disease or another digestive condition, discuss fasting with your care team first. The supportive trials above were small, uncontrolled or used a structured protocol[13][14].

How to Fast Without Shortchanging Your Gut Bacteria

If you choose to fast, here is how to apply these findings.

  1. Treat food quality as the main lever. Weight loss and diet changes may explain part of the gut shifts seen with fasting[1], so fill your eating window with fiber-rich foods from our high-fiber foods list and the steps in how to improve gut health.
  2. Consider an earlier eating window. The only randomized trial comparing timing found more gut and metabolic benefit from eating earlier in the day[7].
  3. Expect changes to fade if you stop. Shifts in gut bacteria reverted after Ramadan fasting ended[3].
  4. Watch your bowels. Constipation and diarrhea are among the more common complaints in fasting trials[11].
  5. Time supplements sensibly. If you take probiotics, our guide on when to take probiotics covers timing with and without food.

Other daily habits matter too. Our guide to alcohol and gut health covers another common influence on gut bacteria, and our gut microbiome hub explains the main bacterial groups named here.

This article is for general educational purposes and is not medical advice. Studies of intermittent fasting and gut bacteria are mostly small and short, and their results do not predict how your own gut will respond. Talk to a qualified healthcare professional before starting a fasting schedule, particularly if you are pregnant or breastfeeding, have a history of disordered eating, take medication for diabetes or another condition, or are managing a diagnosed digestive disease.

Frequently Asked Questions

How many days a week should you fast 16:8?

No study we read compared different numbers of fasting days per week for gut outcomes. The trials that looked at gut bacteria or digestive symptoms used a daily schedule: an 8-week pilot in people with IBS used 16:8 every day, and a 5-week randomized trial in healthy adults used daily time-restricted eating. A 2026 review of time-restricted eating found the overall gut evidence to be of very low certainty, so there is no evidence-based number of days for gut health.

Does fasting help bloating?

There is little direct evidence. The clearest human data come from an uncontrolled 8-week pilot in 97 people with IBS who followed 16:8 eating: their IBS symptom severity score fell by an average of about 100 points. Without a control group, part of that drop may not be due to fasting. In fasting trials in adults with overweight, constipation and diarrhea were among the more common complaints. If bloating is new, persistent or severe, see a clinician rather than relying on meal timing.

Does fasting kill gut bacteria?

Not in the way the worry suggests. Fasting changes which bacteria thrive rather than wiping them out. In a 10-day fast of about 250 kcal a day, bacteria that break down plant fiber, such as Lachnospiraceae and Ruminococcaceae, fell, while groups that live on substances the body itself produces, such as Bacteroidetes and some Proteobacteria, rose. Those shifts had reversed three months later. In month-long Ramadan fasting, diversity rose and then returned to baseline after fasting ended.

Does fasting make gastritis or ulcers worse?

For gastritis, the data are reassuring but limited. A review of Ramadan fasting studies describes a retrospective analysis of 1,661 endoscopies for indigestion that found no difference in gastritis or stomach ulcers before, during or after Ramadan. Duodenal problems were different: duodenitis and duodenal ulcers were more common during Ramadan, and other studies found more ulcer perforation surgery and upper GI bleeding. If you have an ulcer or gastritis, talk to your doctor before fasting, watch your symptoms closely and get medical care if they flare.

Is 24-hour fasting good for gut health?

None of the studies we read tested single 24-hour fasts or water-only fasts for gut health. The longer fasts that have been studied were supervised and lasted 5 to 10 days. A 10-day fast shifted bacteria toward species that feed on host-derived substances, with changes gone by three months. A 5-day fast followed by a DASH-style diet in people with metabolic syndrome altered bacterial genes linked to short-chain fatty acid production and lowered blood pressure. These results do not show that repeated 24-hour fasts improve gut health.

How does gut health affect weight loss on intermittent fasting?

The direction of cause is unclear. A 2024 systematic review suggested that some of the gut changes seen with intermittent fasting may be driven by the weight loss and diet changes that come with it, rather than by meal timing itself. In a fasting trial in people with metabolic syndrome, the gut bacteria people had before starting helped predict whose blood pressure responded. Gut bacteria may influence results, but no study shows that fasting works mainly through the gut.

References

  1. Paukkonen I, Törrönen EN, Lok J, Schwab U, El-Nezami H. The impact of intermittent fasting on gut microbiota: a systematic review of human studies. Frontiers in Nutrition. 2024;11:1342787. doi:10.3389/fnut.2024.1342787 ↩
  2. Zhai YM, Liu X, Wang Z, et al.. Time-restricted eating and gut microbiota alpha diversity in adults with overweight or obesity: an updated rapid systematic review. Frontiers in Nutrition. 2026;13:1910444. doi:10.3389/fnut.2026.1910444 ↩
  3. Su J, Wang Y, Zhang X, et al.. Remodeling of the gut microbiome during Ramadan-associated intermittent fasting. The American Journal of Clinical Nutrition. 2021;113(5):1332-1342. doi:10.1093/ajcn/nqaa388 ↩
  4. Takahashi T. Interdigestive migrating motor complex -its mechanism and clinical importance. Journal of Smooth Muscle Research. 2013;49:99-111. doi:10.1540/jsmr.49.99 ↩
  5. Mesnage R, Grundler F, Schwiertz A, Le Maho Y, Wilhelmi de Toledo F. Changes in human gut microbiota composition are linked to the energy metabolic switch during 10 d of Buchinger fasting. Journal of Nutritional Science. 2019;8:e36. doi:10.1017/jns.2019.33 ↩
  6. Özkul C, Yalınay M, Karakan T. Islamic fasting leads to an increased abundance of Akkermansia muciniphila and Bacteroides fragilis group: A preliminary study on intermittent fasting. Turkish Journal of Gastroenterology. 2019;30(12):1030-1035. doi:10.5152/tjg.2019.19185 ↩
  7. Xie Z, Sun Y, Ye Y, et al.. Randomized controlled trial for time-restricted eating in healthy volunteers without obesity. Nature Communications. 2022;13(1):1003. doi:10.1038/s41467-022-28662-5 ↩
  8. Johnson AJ, Alvear A, Knights D, Chow LS, Bantle AE. A Randomized Pilot Study of Time-Restricted Eating Shows Minimal Microbiome Changes. Nutrients. 2025;17(1):185. doi:10.3390/nu17010185 ↩
  9. Mohr AE, Sweazea KL, Bowes DA, et al.. Gut microbiome remodeling and metabolomic profile improves in response to protein pacing with intermittent fasting versus continuous caloric restriction. Nature Communications. 2024;15(1):4155. doi:10.1038/s41467-024-48355-5 ↩
  10. Remely M, Hippe B, Geretschlaeger I, Stegmayer S, Hoefinger I, Haslberger A. Increased gut microbiota diversity and abundance of Faecalibacterium prausnitzii and Akkermansia after fasting: a pilot study. Wiener klinische Wochenschrift. 2015;127(9-10):394-398. doi:10.1007/s00508-015-0755-1 ↩
  11. Zhong F, Zhu T, Jin X, et al.. Adverse events profile associated with intermittent fasting in adults with overweight or obesity: a systematic review and meta-analysis of randomized controlled trials. Nutrition Journal. 2024;23(1):72. doi:10.1186/s12937-024-00975-9 ↩
  12. Maifeld A, Bartolomaeus H, Löber U, et al.. Fasting alters the gut microbiome reducing blood pressure and body weight in metabolic syndrome patients. Nature Communications. 2021;12(1):1970. doi:10.1038/s41467-021-22097-0 ↩
  13. Clausen MT, Sverdrup H, Brevik A, Molin M, Kolby M. Time-Restricted Eating and Symptom Severity in Irritable Bowel Syndrome: Results from a Pilot Study. Nutrients. 2026;18(5):765. doi:10.3390/nu18050765 ↩
  14. Kulkarni C, Fardeen T, Gubatan J, et al.. A fasting-mimicking diet in patients with mild-to-moderate Crohn's disease: a randomized controlled trial. Nature Medicine. 2026;32(3):1023-1033. doi:10.1038/s41591-025-04173-w ↩
  15. Tibi S, Ahmed S, Nizam Y, et al.. Implications of Ramadan Fasting in the Setting of Gastrointestinal Disorders. Cureus. 2023. doi:10.7759/cureus.36972 ↩
  16. Blumberg J, Hahn SL, Bakke J. Intermittent fasting: consider the risks of disordered eating for your patient. Clinical Diabetes and Endocrinology. 2023;9(1):4. doi:10.1186/s40842-023-00152-7 ↩
  17. National Institute of Diabetes and Digestive and Kidney Diseases. What Can You Tell Your Patients About Intermittent Fasting and Type 2 Diabetes?. NIDDK Diabetes Discoveries & Practice Blog. 2024. Available at: https://www.niddk.nih.gov/health-information/professionals/diabetes-discoveries-practice/patients-intermittent-fasting ↩
L

Lucas Summer

Independent Microbiome Researcher

Share:

FREE DOWNLOAD

You've read the research. Now get the protocol.

The complete Metabolic & Blood Sugar Protocol -- 14 pages, 16 peer-reviewed citations, specific strains and doses, and a phased action plan you can start this week.

16 citations 14 pages Phased protocol
Download Free Protocol

No spam. Unsubscribe anytime. Join 10,000+ readers.

Related Articles