Guide
Gut-Brain Axis and Brain Fog: Inflammation, Leaky Gut and SIBO, Explained Plainly
How your gut and brain talk to each other, what people with gut trouble and brain fog report, what leaky gut and SIBO mean, how SIBO is tested, the gut habits people use, and when gut symptoms need a doctor.
Last updated November 20, 2026.
A small first step
- Add one extra plant food to a meal you already eat, and write down how your gut and head feel two hours later.

Ask people with gut trouble what bothers them most, and a lot of them don’t say the bloating. One person on Reddit’s r/SIBO wrote: “I could live with the diarrhea if I had to — it’s mostly the brain fog and fatigue.” One person on Reddit’s r/SIBO described it this way: “The brain fog is easily the worst part—it feels like being completely exhausted and unable to process anything, but without the physical sleepiness behind your eyes.”
Many of them have noticed the link themselves. One person on Reddit’s r/guthealth said: “Well since then the brain fog has mostly subsided amd only flares up when I eat junk, especially the gluten and sugary kind.” And one person on Reddit’s r/guthealth wrote: “It is ultra sensitive, acid reflux, HORRIFIC brain fog, headaches, dizzyness, and this weird fuzzy forehead feeling when my stomach is really off.”
That’s the gut-brain axis in real life. Here’s how it works, and what people do about it.
The two-way line between your gut and your brain
The “axis” is the name for two-way communication between your gut and your brain. A major review in Physiological Reviews describes the routes:
| Route | What travels on it |
|---|---|
| Nerves | The vagus nerve and the enteric nervous system, the network of nerves in your gut |
| The immune system | Inflammatory signals |
| Hormones and chemical messengers | Including a process that uses the amino acid tryptophan |
| Gut microbes | Substances made by the trillions of microorganisms in your gut |
The same review says researchers have come to see the microbiota as one of the key regulators of gut-brain function.
You’ve felt the nerve route yourself. Harvard Health notes that anger, anxiety, sadness and elation can all trigger gut symptoms, and the connection runs both ways: a troubled intestine can send signals to the brain just as a troubled brain can send signals to the gut. Harvard also says stress can affect the movement and contractions of the GI tract, and that functional gut conditions are not imagined.
Can inflammation cause brain fog?
Inflammation is one of the routes on that line. The immune system is how the gut and brain talk, and diet changes the signal: in a 17-week randomized study of healthy adults, a diet high in fermented foods steadily increased the diversity of gut microbes and decreased inflammatory markers.
Nate, who runs this site, came to the same place after years of fog that started when his first son was born:
“The biggest shift came when I stopped thinking of brain fog as only a brain problem. For me it was systemic throughout my body. What finally moved the needle was bringing down inflammation.”
For him that meant a few unglamorous basics: avoiding toxins where he could, moving every day, getting sunlight, solid rest, and no processed food. He’s clear that it’s his experience, not medical advice.
Fog is also a common report during and after infections, when the immune system is busy; brain fog after illness covers that pattern.
What is leaky gut?
The lining of your intestine has two jobs that pull in opposite directions. A 2014 review describes it this way: an intact barrier protects the body against microorganisms and toxins, while still letting nutrients through. “Leaky gut” is the popular shorthand for increased permeability. It isn’t a formal diagnosis.
Permeability can be measured, and it’s higher in some diagnosed conditions. A 2019 review in Gut by Michael Camilleri notes that inflammatory or ulcerating intestinal diseases result in a leaky gut, and the 2014 review lists inflammatory bowel disease, celiac disease, food allergy, irritable bowel syndrome and critical illness among conditions linked with increased permeability.
One person on Reddit’s r/guthealth described a common way people think about it: “I have minor brain fog and IBS and I suspect both are linked to leaky gut and LPS in the blood.”
If someone has told you that you have leaky gut, it’s fair to ask a few plain questions: what exactly was measured, what the result means for you, what the plan is based on, and what you should expect to change and by when. Ongoing diarrhea, belly pain or weight loss you didn’t intend point to conditions that have real tests, so get those looked at.
What is SIBO, and can it cause brain fog?
The American College of Gastroenterology defines small intestinal bacterial overgrowth as an excessive number of bacteria in the small bowel, causing gut symptoms. Symptoms generally attributed to SIBO include abdominal pain, gas, bloating, distension, diarrhea, constipation, weight loss and, in some cases, anemia.
A syndrome of brain fog, gas and bloating has been described. It comes from a 2018 study at Augusta University in Georgia:
- It looked at 30 people with gas, bloating and brain fog, and 8 people with gas and bloating but no brain fog. All had an intact gut and negative standard tests.
- After stopping probiotics and taking a course of antibiotics, brain fog resolved in 23 of the 30 people, and gut symptoms improved.
Fog that changes with food is a common report. One person on Reddit’s r/SIBO wrote: “My brain fog increases depending on what foods i eat (mainly high FODMAP).”
How SIBO is tested
Breath tests. The usual test is a hydrogen-methane breath test. According to the review, you drink a carbohydrate solution (glucose or lactulose) and breathe into a collection device at intervals, usually over 2 to 3 hours. Bacteria that ferment the carbohydrate produce gases that show up in your breath.
Preparation matters. The review describes a restricted, low-residue diet the day before, an overnight fast of at least 8 hours (ideally 12), and holding certain medicines such as laxatives and promotility drugs if you can safely do so, and avoiding smoking before the test. Because instructions vary, follow the ones from whoever orders the test.
The aspirate. The more direct method is taking fluid from the small intestine and culturing it. The review says small-intestine aspirates under ideal conditions remain the gold standard, but they’re invasive and have technical limitations, so breath tests are used far more often.
A breath test can miss SIBO. A pooled analysis found the glucose breath test had about 41 to 55% sensitivity, depending on the threshold, and about 84% specificity, so a negative result doesn’t rule it out. The NIDDK lists SIBO among problems more common in people with IBS.
Treatment is a clinician’s call. The breath-testing review says it’s generally advisable to get a diagnostic workup before antibiotics, because symptoms alone are poor predictors and antibiotics can disturb gut microbes. Don’t stop or start a probiotic or medicine on your own because of this page; bring it to the clinician who knows your whole picture.
Gut habits people use
- Plant variety. The American Gut project collected stool samples from over 10,000 people and found the microbiome tracked how many different plants people eat, more than broad labels like “vegan.” The Dietary Guidelines for Americans describe healthy eating patterns as higher in vegetables, fruits, legumes and whole grains.
- Fermented foods, in small portions. Yogurt, kefir, sauerkraut, kimchi. Start small and see how your stomach feels before doing more.
- Fiber, added slowly. The NIDDK says too much fiber at once can cause gas, and that adding it slowly, by 2 to 3 grams a day, can help prevent gas and bloating.
- Less junk. People who track it often find the fog follows the sugary, processed days. One person on Reddit’s r/guthealth noticed this pattern: “every time i had a high sugar day or a lot of processed food, the bloating would spike AND the eye dryness would get worse AND the fog would be bad the next morning.”
- Sleep and stress. The Physiological Reviews authors say stress can significantly affect the microbiota-gut-brain axis. That’s one more reason sleep and stress show up on nearly every page here; see anxiety, stress and brain fog.
The meal-and-gut log
For two weeks, write one line after each meal in the symptom diary:
- What you ate, roughly, and when.
- Gut: bloating, gas, pain, bowel changes, 0 to 3.
- Head: fog 1 to 5, one to three hours later.
- Sleep and stress that day.
Make one change at a time and hold the rest steady for a few days. A pattern you can see on paper is more useful than one you remember, and it gives a clinician something real to work with. If you suspect celiac disease, get tested before going gluten-free; Beyond Celiac says cutting gluten first can give incorrect test results.
When gut symptoms and fog need a doctor
Feeling foggy and having gut symptoms at the same time can have many explanations. A few signs are worth getting checked rather than managed with food changes alone. These come from the NIDDK and Mayo Clinic:
- Any blood in your stool, black or tarry stools, or blood in vomit. Mayo Clinic says to seek medical advice for any blood in stool. The NIDDK lists black or tarry stool among the symptoms of acute GI bleeding and says to seek medical help right away for acute or severe bleeding.
- Vomiting for more than two days, or unexplained weight loss along with nausea and vomiting. Mayo Clinic lists both as reasons to call a doctor.
- Unintended weight loss or a change in bowel habits that lasts longer than four weeks. Mayo lists these among the symptoms that can accompany blood in stool, so they’re worth mentioning if you’ve noticed them.
These are the kinds of things a clinician can look into with an exam and tests.
Small first steps
- Add one extra plant food to a meal you already eat: beans in a soup, a handful of spinach in eggs, berries on yogurt.
- If you want to try fermented foods, add a small portion to one meal and see how your stomach feels.
- Start the meal-and-gut log tonight.
If your fog follows meals more than your gut does, read brain fog after eating. For the full picture, see the guide to fixing brain fog.
Sources and citations
- The Microbiota-Gut-Brain Axis (Cryan et al., 2019) — Physiological Reviews, via PubMed (leaves this site)
- The gut-brain connection — Harvard Health Publishing (leaves this site)
- American Gut: an Open Platform for Citizen Science Microbiome Research (McDonald et al., 2018) — mSystems, via PubMed (leaves this site)
- Gut-microbiota-targeted diets modulate human immune status (Wastyk et al., 2021) — Cell, via PubMed (leaves this site)
- Dietary Guidelines for Americans, 2020-2025 — U.S. Department of Agriculture and U.S. Department of Health and Human Services (leaves this site)
- Eating, Diet, & Nutrition for Irritable Bowel Syndrome — National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) (leaves this site)
- Symptoms & Causes of GI Bleeding — National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) (leaves this site)
- Blood in stool in adults — Mayo Clinic (leaves this site)
- Nausea or vomiting in adults — Mayo Clinic (leaves this site)
- Leaky gut: mechanisms, measurement and clinical implications in humans (Camilleri, 2019) — Gut, via PubMed (leaves this site)
- Intestinal permeability - a new target for disease prevention and therapy (Bischoff et al., 2014) — BMC Gastroenterology, via PubMed (leaves this site)
- Alcohol's Effects on the Body — National Institute on Alcohol Abuse and Alcoholism (NIAAA) (leaves this site)
- Alcohol and Gut-Derived Inflammation (Bishehsari et al., 2017) — Alcohol Research: Current Reviews, via PubMed (leaves this site)
- ACG Clinical Guideline: Small Intestinal Bacterial Overgrowth (Pimentel et al., 2020) — American Journal of Gastroenterology, via PubMed (leaves this site)
- Brain fogginess, gas and bloating: a link between SIBO, probiotics and metabolic acidosis (Rao et al., 2018) — Clinical and Translational Gastroenterology, via PubMed (leaves this site)
- Understanding Our Tests: Hydrogen-Methane Breath Testing to Diagnose Small Intestinal Bacterial Overgrowth (Tansel and Levinthal, 2023) — Clinical and Translational Gastroenterology, via PubMed Central (leaves this site)
- Critical appraisal of the SIBO hypothesis and breath testing: a clinical practice update (Kashyap et al., 2024) — Neurogastroenterology and Motility, via PubMed Central (leaves this site)
- Symptoms & Causes of Irritable Bowel Syndrome — National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) (leaves this site)