Key takeaways
- In a 2014 Harvard study, gut bacteria shifted within about a day of switching to an all-animal or all-plant diet, then recovered within a few days of going back to usual food123.
- In a study of 20,630 British adults, vegan men averaged 11.6 bowel movements a week and meat-eating men 9.5, so more frequent trips are a normal result of eating more plants4.
- Keto cuts fiber. A Duke trial found more constipation on keto, while a Stanford trial of a carefully planned keto diet found no difference in gut symptoms67.
- Going gluten-free or dairy-free without a plan can leave gaps: NIH warns about fiber, iron and calcium, and adults need 1,000 to 1,200 milligrams of calcium a day810.
- A diet change doesn’t explain everything: NIDDK says to see a doctor right away for constipation with rectal bleeding, constant belly pain, fever, vomiting or weight loss you aren’t trying for, and to see one if diarrhea lasts more than 2 days15.
For five days, a small group of volunteers in a Harvard-led study ate like committed carnivores. They started the day with bacon and eggs, had ribs and brisket at lunch, and ended with salami, prosciutto and cheese, snacking on pork rinds in between2. During a separate five-day stretch, they lived on plants: granola, lentils, rice, vegetables and fruit2.
Their gut bacteria noticed fast. The mix of species shifted within about a day of the new food reaching the gut, lead researcher Lawrence David said2.
Then came the part that gets less attention: within a few days of going back to their usual food, everyone’s gut community recovered, senior author Peter Turnbaugh told Boston’s WBUR3.
That 2014 study in the journal Nature captures what happens when you change how you eat. Your gut responds within days, and your stools, gas and comfort often shift with it. Most of that is adjustment. A few signs are not.
Below, you’ll find what to expect from seven common switches, a two-week plan and a guide to when a change is worth a call.
Your microbes notice a new diet within a day, and lasting change takes longer
On the meat-and-cheese diet in the Harvard study, bacteria that tolerate bile rose, including groups called Alistipes, Bilophila and Bacteroides1. Bile is the digestive fluid your liver releases to handle fat. Meanwhile, bacteria that break down plant fibers, such as Roseburia and Ruminococcus bromii, fell1.
The bacteria’s gene activity changed too, after about three days2. Microbes from the food itself, including bacteria, fungi and viruses, passed through and briefly settled in1.
One finding drew headlines. A species called Bilophila wadsworthia grew on the animal diet1. In animal studies it has been linked to inflammatory bowel disease, but the authors raised that as a possible link, not a finding about disease in people13.
Keep the study’s limits in mind. It involved only about 10 volunteers (news reports at the time said nine or 10), extreme diets and five-day stretches23. Turnbaugh said the effects didn’t appear to last3.
The useful lesson: the first week of a new diet brings fast turnover, so symptoms can appear early and settle. A weekend of different eating won’t remake your gut, either. Our article on microbiome diversity explains why deeper shifts seem to take months of steady eating.
More plants usually means more gas and more bathroom trips
The clearest picture of plant-based digestion comes from EPIC-Oxford, a long-running British study. Researchers asked 20,630 adults aged 22 to 97 about their bowel habits4.
| Diet group | Men: bowel movements a week | Women: bowel movements a week |
|---|---|---|
| Meat eaters | 9.5 | 8.2 |
| Vegetarians | 10.5 | 9.1 |
| Vegans | 11.6 | 10.5 |
Source: Sanjoaquin and colleagues, EPIC-Oxford4.
People who ate more fiber and drank more non-alcoholic fluids also went more often4. This snapshot survey shows a link, not proof. Still, it suggests that going more often on a plant-heavy diet is normal, not a problem to fix.
Gas is the other common change. The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) lists beans, peas, lentils, broccoli, cauliflower, kale, whole grains such as whole wheat, and fruits such as apples and pears among foods that cause gas5. It notes that some people get more gas when they eat too much fiber5.
That’s why speed matters. Our companion guide to adding fiber gradually lays out a six-week ramp, and our beans article covers bean gas in detail.
Keto and low-carb: watch the fiber gap
A strict keto diet drops beans, grains and most fruit, and fiber tends to fall with them7. The digestive results in trials have been mixed.
In a 2004 Duke University trial, 120 overweight adults with high blood fats started on under 20 grams of carbohydrate a day or a low-fat diet for 24 weeks6. The low-carb group reported more side effects, such as constipation and headaches6.
Two details matter. The trial was funded by an unrestricted grant from the Robert C. Atkins Foundation, though the researchers said they kept full control of the data6. And only the low-carb group took daily supplements, so the diet’s effects can’t be fully separated from the pills6.
A 2022 Stanford trial found something different. In the Keto-Med study, 40 adults with prediabetes or type 2 diabetes started a carefully planned keto diet (20 to 50 grams of carbs a day) and a Mediterranean-style diet, 12 weeks each, in random order7. Meals were delivered for the first four weeks of each phase7. Fiber intake dropped on keto, yet questionnaires on gut symptoms and stool type showed no difference between the diets7.
Private gifts and NIH grants paid for the Stanford trial, and the funders had no role in its design or analysis7. The likely lesson: constipation on keto isn’t inevitable, and planning helps. Build meals around non-starchy vegetables, and our keto article covers other ways to protect fiber.
Watch the sweets aisle, too. If your new routine includes sugar-free candy or gum, check for sweeteners ending in “-ol,” such as sorbitol or xylitol. NIDDK lists these sugar alcohols as a cause of gas and, in some people, diarrhea515.
Gluten-free and dairy-free swaps change more than one ingredient
Gluten-free. First, a timing rule. Suspect celiac disease? Ask a doctor about testing before you cut gluten, since going gluten-free first can throw off the results8. Our gut-healing article and an upcoming celiac guide explain the testing.
Without guidance, a gluten-free diet may fall short on fiber, iron and calcium, NIDDK warns. Some packaged gluten-free foods also carry more fat and sugar than the originals8.
A Danish trial adds a twist. In 2018, researchers gave 60 healthy middle-aged adults a low-gluten diet (about 2 grams a day) and a high-gluten diet (about 18 grams) for eight weeks each9. On low gluten, gut bacteria shifted moderately, breath hydrogen fell and people reported less bloating9.
The authors suggested the changes may come from the different types of fiber in the two diets, not from gluten itself9. If going gluten-free makes you feel lighter, the fiber swap may deserve some of the credit. For whole-grain variety, NIDDK lists foods such as quinoa, buckwheat and amaranth as safe gluten-free choices8.
Dairy-free. If lactose, the sugar in milk, was causing symptoms, cutting dairy may ease them. The bigger risk is calcium. People who avoid dairy, including vegans, are more likely to fall short, according to the NIH Office of Dietary Supplements (ODS)10.
Adults need 1,000 milligrams a day, rising to 1,200 for women over 50 and everyone over 7010. The 2025–2030 Dietary Guidelines, released in January 2026, build three dairy servings a day into a 2,000-calorie pattern, so dropping dairy leaves a real hole13.
| Dairy-free swap | Calcium (ODS) |
|---|---|
| Calcium-fortified orange juice, 1 cup | 349 mg |
| Canned sardines with bones, 3 oz | 325 mg |
| Fortified soy milk, 1 cup | 299 mg |
| Firm tofu made with calcium sulfate, ½ cup | 253 mg |
| Cooked kale, 1 cup | 94 mg |
Source: NIH Office of Dietary Supplements10.
Spinach is a poor stand-in, because your body absorbs only about 5% of its calcium, compared with about 27% from milk10. Lactose-free milk keeps all of dairy’s calcium10.
More protein changes what your colon bacteria eat
Protein is having a moment. The 2025–2030 Dietary Guidelines set protein goals of 1.2 to 1.6 grams per kilogram of body weight a day13.
Your small intestine absorbs most of the protein you eat. On high-protein diets, more of it reaches the colon, where bacteria ferment it, according to researchers at the University of Aberdeen’s Rowett Institute12. Some by-products can damage the DNA of gut cells, and one group, N-nitroso compounds, are considered gut carcinogens12.
A 2011 trial by Rowett scientists measured this in 17 men with obesity1112. After a week on a standard diet, each man spent four weeks on two high-protein weight-loss diets, one with moderate carbs (181 grams a day) and one with very few (22 grams)11.
Both high-protein diets raised N-nitroso compounds in stool11. The very low-carb version also cut butyrate’s share of the gut’s fatty acids. Butyrate is a fuel for colon cells, made by bacteria from fiber.
That version also sharply cut protective plant compounds that come from fiber11. The authors warned that sticking with such diets long term may raise the risk of colon disease11.
These are stool markers in a small, short trial, not diagnoses. Rowett scientists say fiber may offset the shift, but that still needs proof in people12. A sensible hedge is to raise protein with fiber attached: beans, lentils, nuts and seeds count toward both. Our protein article covers food sources.
Fasting windows and fermented foods: smaller shifts
Intermittent fasting. A 2024 review in Nutrition Journal pooled 15 randomized trials with 1,365 adults who had overweight or obesity14. People who fasted had no more side effects overall than people in control groups, and no more fatigue or headaches14.
Constipation and diarrhea did show up. About 10% of people in fasting groups reported constipation and about 8% reported diarrhea, though the review didn’t compare those rates with control groups14. Our fasting article covers who should check with a clinician first, including people who take diabetes medicines.
Fermented foods. The new Dietary Guidelines name sauerkraut, kimchi, kefir and miso among foods that support a diverse gut microbiome13. Our fermented foods article explains the Stanford trial behind the buzz and offers a one-serving start.
Expected or worth a call: a diet-change guide
This guide is our own, built from the sources above. It describes what’s common in the first few weeks, not what everyone will feel.
| Diet change | Often normal early on | Worth a call |
|---|---|---|
| More plants or fiber | More gas; more frequent, bulkier stools45 | Constipation with constant belly pain, blood in stool or being unable to pass gas15 |
| Keto or very low-carb | Firmer stools or constipation as fiber drops67 | Constipation with vomiting, fever or lower back pain, or that self-care doesn’t fix15 |
| Sugar-free sweets | Gas or loose stools from “-ol” sweeteners515 | Diarrhea for more than 2 days, or six or more loose stools a day15 |
| Gluten-free | Less bloating for some; less fiber if you lean on packaged foods89 | Before you start, if celiac disease is possible, so you can be tested8 |
| Dairy-free | Fewer symptoms if lactose bothered you; a calcium gap10 | Weight loss you aren’t trying for, along with constipation or other gut symptoms15 |
| High-protein | Changes in stool chemistry, measured in a lab11 | Black, tarry stools or stools with blood15 |
| Fasting window | Constipation or loose stools in some people14 | Signs of dehydration, such as dark urine, extreme thirst or dizziness15 |
A two-week plan for any diet switch
Many natural-health traditions favor change that works with the body rather than against it. Your gut’s quick response is one reason that approach makes sense: microbes adjust within days, so a steady, gradual switch gives them time to catch up12.
This plan is our own design, not a tested protocol.
- Before day 1. If celiac disease is possible, get tested before going gluten-free8. If you take diabetes medicines and plan to fast or go keto, talk with your clinician first; our fasting and keto articles explain why.
- Days 1 to 3. Change one meal a day. Once a day, jot down your stool form and gas level. Our motility article explains the Bristol stool chart, a seven-type picture scale.
- Days 4 to 7. If the first days went fine, change a second meal. Fill the gap your diet tends to leave: vegetables on keto, whole gluten-free grains, calcium-rich swaps for dairy, fiber-rich protein foods81012.
- Days 8 to 14. Move to the full pattern. Now you’re seeing how your body handles the diet, not just the first jolt.
- Day 15 check. If symptoms are steady or easing, keep going. If they’re worse, step back to the last comfortable level for a week before trying again.
Keep fluids steady throughout, since higher fluid intake went with more frequent bowel movements in the EPIC-Oxford data4. Any warning sign in the box above means call, whatever day you’re on.
If cutting foods starts to feel rigid or frightening, reach out to the National Alliance for Eating Disorders helpline at 1-866-662-1235. If you’re in crisis, call or text 988.
How strong is the evidence?
| Claim | What studies found | Evidence level |
|---|---|---|
| Gut bacteria shift within a day of a big diet change, then bounce back | Fast shifts and quick recovery in one small, tightly controlled study of about 10 people123 | ; what the shifts mean for health is unclear |
| Plant-heavy eaters have more frequent bowel movements | Consistent pattern in 20,630 adults; survey data4 | of a link |
| A well-planned keto diet can avoid constipation | No difference in gut symptoms in one planned-diet trial; more constipation in an earlier trial funded by the Atkins Foundation67 | ; results are mixed |
| Gluten itself causes bloating in healthy people | Less bloating on low gluten, possibly from fiber changes9 | |
| High-protein, low-carb diets push colon chemistry in an unhelpful direction | Shifts in stool markers in 17 men over four weeks; no disease outcomes measured11 | |
| Fasting brings more side effects than control diets | No more side effects than control groups in 15 trials14 | |
| Dropping dairy risks low calcium without swaps | Higher risk of shortfall in people who avoid dairy10 |
Questions readers ask
How long does it take my gut to adjust to a new diet?
Gut bacteria shift within about a day, and their gene activity within about three days, in the best-known study2. Symptoms often take longer to settle, which is why our plan builds in two weeks. If symptoms are still getting worse after that, scale back and consider talking with a clinician or dietitian.
Is more gas a sign the diet is working?
Not exactly. Beans, whole grains and many fruits and vegetables are common gas makers5. More gas is a normal side effect of eating more of them, not a measure of health.
Should I take a probiotic when I switch diets?
We didn’t find trials showing that probiotics ease the symptoms of a diet switch. Changing your food gradually is a sensible first step. An upcoming article in this series covers what probiotics can and can’t do.
Will going back to my old diet undo the changes?
Largely, and quickly. In the Harvard study, gut communities recovered within a few days of volunteers returning to their usual food3. That’s also why steady habits matter more than a single week of perfect eating.
The bottom line
Your gut responds to a new way of eating within days. More gas and more frequent stools on a plant-heavy diet, and firmer stools on keto, are common and usually ease as your body adjusts. Each pattern can also leave something out: fiber on keto and gluten-free diets, calcium on dairy-free diets.
Make the switch gradually, fill the gaps on purpose and keep notes for two weeks. Bleeding, constant pain, fever, vomiting, weight loss you aren’t trying for or diarrhea lasting more than two days aren’t part of adjusting. Those need a doctor.
Related reading
About this article
This article was researched using NIH, NIDDK and Office of Dietary Supplements pages, the 2025–2030 Dietary Guidelines and peer-reviewed studies, all listed below. It was reviewed in October 2026. It is general education and not medical, legal or financial advice.
Sources
- David LA, Maurice CF, Carmody RN, et al., Turnbaugh PJ. “Diet rapidly and reproducibly alters the human gut microbiome.” Nature, 2014;505:559–563 (published online December 2013; Harvard DASH record). pubmed.ncbi.nlm.nih.gov
- FoodNavigator. “Diet can ‘rapidly and reproducibly’ alter our gut bacteria: Study.” December 16, 2013. foodnavigator.com
- WBUR. Report on the Harvard diet and microbiome study published in Nature, with comments from Peter Turnbaugh. December 11, 2013. wbur.org
- Sanjoaquin MA, Appleby PN, Spencer EA, Key TJ. “Nutrition and lifestyle in relation to bowel movement frequency: a cross-sectional study of 20 630 men and women in EPIC–Oxford.” Public Health Nutrition, 2004;7(1):77–83. cambridge.org
- National Institute of Diabetes and Digestive and Kidney Diseases. “Eating, Diet, & Nutrition for Gas in the Digestive Tract.” Last reviewed June 2021. niddk.nih.gov
- Yancy WS Jr, Olsen MK, Guyton JR, Bakst RP, Westman EC. “A low-carbohydrate, ketogenic diet versus a low-fat diet to treat obesity and hyperlipidemia: a randomized, controlled trial.” Annals of Internal Medicine, 2004;140(10):769–777 (Duke Scholars abstract), and Duke University Health System news release, “Study: Low-Carb Diet More Effective Than Low-Fat Diet,” 2004. scholars.duke.edu and corporate.dukehealth.org
- Gardner CD, Landry MJ, Perelman D, et al. “Effect of a ketogenic diet versus Mediterranean diet on glycated hemoglobin in individuals with prediabetes and type 2 diabetes mellitus: The interventional Keto-Med randomized crossover trial.” American Journal of Clinical Nutrition, 2022 (Stanford-hosted PDF). med.stanford.edu
- National Institute of Diabetes and Digestive and Kidney Diseases. “Eating, Diet, & Nutrition for Celiac Disease.” Last reviewed October 2020. niddk.nih.gov
- Hansen LBS, Roager HM, Søndertoft NB, et al., Pedersen O. “A low-gluten diet induces changes in the intestinal microbiome of healthy Danish adults.” Nature Communications, 2018 (Chalmers University record). research.chalmers.se
- NIH Office of Dietary Supplements. “Calcium: Fact Sheet for Health Professionals.” Accessed October 2026. ods.od.nih.gov
- Russell WR, Gratz SW, Duncan SH, et al. “High-protein, reduced-carbohydrate weight-loss diets promote metabolite profiles likely to be detrimental to colonic health.” American Journal of Clinical Nutrition, 2011;93(5):1062–1072. pubmed.ncbi.nlm.nih.gov
- Gratz S, Rowett Institute, University of Aberdeen. “The Impact of Dietary Protein and Red Meat on Colonic Health.” March 31, 2019. abdn.ac.uk
- U.S. Department of Health and Human Services and U.S. Department of Agriculture. “Dietary Guidelines for Americans, 2025–2030.” January 2026. cdn.realfood.gov
- Zhong F, Zhu T, Jin X, Chen X, Wu R, Shao L, Wang S. “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 (DOAJ record). doi.org
- National Institute of Diabetes and Digestive and Kidney Diseases. “Symptoms & Causes of Constipation” (last reviewed May 2018) and “Symptoms & Causes of Diarrhea” (last reviewed September 2024). niddk.nih.gov and niddk.nih.gov