Gut biome & brain function
How your gut biome is connected to brain function
Your gut and brain trade signals all day through nerves, hormones and immune messengers. The link is real. Most of the big claims about fixing your mood through your gut are still ahead of the evidence.
- Free Shipping on Every Meal PlanFree Shipping
- Up to 20% Off 30-Meal PlansUp to 20% Off
- Chef Cooked, Dietitian BuiltDietitian Built
- Heat & Eat in MinutesHeat & Eat

"Gut feeling" and "trust your gut" sound like figures of speech. They're closer to anatomy. Your gut and brain are in constant contact through a network called the gut-brain axis, which runs on nerves, hormones, immune cells and the trillions of microbes living in your intestines.
That has made the gut one of the most hyped topics in nutrition. Some of it holds up. Some of it comes from mouse studies, small trials or correlations that got promoted on the way to your social feed. So this guide covers the science behind the connection, what affects your gut, and the practical steps worth taking, with each claim sized to the evidence behind it.
One thing up front: food can support your health, but it doesn't replace care for anxiety, depression or any other condition. If you're being treated for one, keep your treatment and talk with your doctor before you change it.
How the gut microbiome connects to the brain
How is your gut biome connected to your brain?
Quick answer
Through a two-way network called the gut-brain axis. The vagus nerve, gut hormones, immune signals and microbial products such as short-chain fatty acids all carry messages. The link is well established, though what it means for treating any one condition is still being worked out.
Your gut microbiome is a community of trillions of bacteria, viruses, fungi and other microbes, mostly in your large intestine. Think of it less as a passenger and more as a working organ you happen to share with other species. It helps digest food, trains your immune system, affects your metabolism and sends signals that reach the brain.
A 2018 review of the gut-brain axis and a 2017 review from the journal Neurobiology of Stress describe the same basic routes: the vagus nerve, gut hormone signaling, the immune system, tryptophan metabolism and microbial products such as short-chain fatty acids. Traffic moves both ways, which is why a stressful meeting can upset your stomach and an upset stomach can sour your mood.
What the research hasn't done yet is turn that map into a simple recipe. Knowing that two systems talk doesn't tell you which food or supplement will change how you feel. Keep that gap in mind whenever someone sells you a gut fix for your brain.
Gut microbiome benefits for overall health
Why do gut microbes matter?
Quick answer
It does four main jobs beyond the brain: it ferments fiber you can't digest, helps train your immune system, plays a part in how you use and store energy, and helps maintain your intestinal barrier. Diversity tends to go with better health, though no single ideal microbiome exists.
Your gut microbes go well past helping you break down food. Here's the work they do, starting with the part you can feel.
Digestion
Microbes ferment the complex carbohydrates and fibers your own enzymes can't handle, turning them into compounds your body can use. When that balance gets disrupted, digestive problems can follow. A diverse microbiome is linked with more regular bowel movements and less trouble with bloating, and it may play a part in irritable bowel syndrome (IBS), although the cause and effect there isn't settled. For the full picture on how dietary fiber supports your gut health and overall well-being, see our fiber guide.
Immune function
Your microbiome is also a training ground for your immune system. It interacts with immune cells and helps them tell harmful invaders from harmless substances. That matters here because immune signals are one of the routes messages take from the gut to the brain.
Metabolism & weight
Gut microbes play a role in how your body processes and stores energy. Research links microbiome imbalances with weight gain and metabolic problems, but that doesn't mean a bacterium is why the scale moved. If weight is your goal, calories and protein still do the heavy lifting, and knowing which foods best support weight loss will get you further than chasing a specific strain.
Intestinal barrier
A healthy microbiome helps maintain your intestinal lining, the barrier between what's in your gut and the rest of your body. Barrier problems are studied in inflammatory bowel disease (IBD) and heart disease, among others. The popular "leaky gut" story goes well past that research, though, and a stronger barrier hasn't been shown to prevent any one disease. If you have ongoing digestive symptoms, get them checked rather than self-diagnosing from a quiz.
Factors that affect your gut microbiome
What shapes gut bacteria?
Quick answer
Four things stand out: what you eat, how you live, the medications you take and your early life and surroundings. Diet is the one you can change fastest. Fiber and fermented foods help, while antibiotics can cut microbial diversity, so take them only as prescribed.
Your microbiome behaves a bit like a garden. It responds to what you feed it and to the conditions around it. These are the four big influences.
| Factor | What helps | What can disrupt it |
|---|---|---|
| Diet | Fiber, fruit, vegetables, fermented foods | A pattern heavy in processed food and sugar |
| Lifestyle | Regular exercise, enough sleep, stress management | Chronic stress, short sleep, long stretches of sitting |
| Medications | Using antibiotics only when prescribed | Antibiotics also kill helpful bacteria |
| Early life & surroundings | Breastfeeding, where possible | Antibiotics early on, C-section birth, infection, stress |
What shapes your gut microbiome
Diet. A diet rich in fiber, fruit, vegetables and fermented foods gives beneficial bacteria something to work with and supports diversity. A diet built around processed food and sugar gives them less, and it shifts the balance toward other species.
Lifestyle. Regular exercise, enough sleep and stress management all go with a healthier microbiome, while chronic stress, poor sleep and a sedentary routine can disrupt the balance. Our guide on the importance of sleep for overall health covers how rest affects your body well beyond your energy.
Medications. Antibiotics are sometimes necessary, and when you need them, you need them. They don't sort good bacteria from bad, though, so they can reduce microbial diversity while they treat the infection. That's a reason to use them only as prescribed, not a reason to skip a course your doctor told you to finish.
Environment and early life. Pollutants and other exposures are being studied as possible influences, although the human evidence is thinner than the headlines suggest. Preclinical studies point to early life as well: antibiotic exposure, no breastfeeding, C-section birth, infection and stress can all shape the microbiome, along with your genes. You can't go back and change any of that, and none of it locks in your health. It's simply part of why everyone's gut looks different.
Gut-brain axis pathways & the vagus nerve
How does your gut talk to your brain?
Quick answer
Mainly through the vagus nerve, which runs between your gut and brain, plus hormones and immune signals. The gut also has its own network of neurons. Gut cells make more than 90% of your body's serotonin, but that supply doesn't simply travel up to your brain.
The gut-brain axis has several working parts. The vagus nerve is the main direct link. The enteric nervous system, sometimes called the "second brain," is a web of neurons lining the gut that can manage digestion on its own while reporting back through the vagus nerve. And your gut microbes influence the system by making compounds, affecting hormones and interacting with immune cells.
- Neurotransmitters. Gut cells and microbes produce or influence serotonin, GABA and dopamine.
- Hormones. Ghrelin and leptin help regulate appetite and energy use, and gut microbes can influence their production and signaling.
- Immune signals. The microbiome interacts with the immune system, and those signals can reach the brain and affect mood and behavior.
The vagus nerve as your gut-brain highway
That nervous flutter before a big moment is the clearest everyday example. The vagus nerve carries signals both ways, so a stressful situation can trigger messages from brain to gut, and the butterflies you feel are part of that exchange. It also carries information about gut sensations and helps regulate hunger and fullness.
A 2024 study from Flinders University added a useful detail. In mouse small intestine, the cells that release serotonin don't appear to connect to vagal nerve endings through direct synapses. They sit an average of 33 micrometers away, and the signal appears to travel by diffusion. It's a mouse anatomy finding, so treat it as a clue about how the wiring works. It isn't a new treatment for anxiety, depression or IBS.
Gut neurotransmitters: serotonin, GABA & dopamine
You'll often read that your gut microbes are tiny factories making nearly all your serotonin. That's not quite right, and the difference matters. More than 90% of your body's serotonin is made in the gut, but mostly by your own cells, called enterochromaffin cells. Microbes influence how much they make. And most of that serotonin stays out in your body, largely in your blood, where it works on your gut and metabolism. So "90% of your happy chemical comes from your gut" is the kind of line that sounds better than it is.
Here's what each messenger does:
- Serotonin plays a role in mood, sleep and appetite. Gut serotonin can locally activate nerve endings connected to the central nervous system, which is one way it can have an effect on the brain without traveling there.
- GABA is an inhibitory neurotransmitter that helps calm the nervous system. Certain gut bacteria can produce it.
- Dopamine is tied to reward, motivation and focus. About 50% of the body's dopamine is commonly estimated to be found in the gut.
- Norepinephrine is involved in alertness, focus and the fight-or-flight response, and gut bacteria can influence it too.
Gut inflammation & brain health
When your gut lining is inflamed, the barrier can let through more than it should, including inflammatory molecules that then travel in your blood. Inflammation that reaches the brain is linked with trouble concentrating, memory problems, brain fog, fatigue and a higher risk of neurodegenerative diseases like Alzheimer's and Parkinson's. "Linked" is doing real work in that sentence, since inflammation can be a cause, a result or both.
The Parkinson's research is a good example of how to read this. A 2024 study in JAMA Network Open, often reported as a Harvard study, looked back at the records of 9,350 patients at Mass General Brigham who'd had upper endoscopies. Those with damage to the lining of the upper digestive tract had a 76% higher rate of later Parkinson's disease than those without it. That's a real signal, but it's an association from past records. It doesn't show gut damage causes Parkinson's. Researchers have also traced how misfolded proteins might travel from gut to brain along the vagus nerve, and that idea is still being tested.
Gut microbiome & mental health research
Can gut health affect anxiety & depression?
Quick answer
It may play a part, but it's not a stand-alone fix. People with depression and anxiety often have different gut bacteria, though cause and effect aren't clear. In one small trial, diet support brought remission in 32% of people versus 8% with social support.
A 2023 review in Nutrients pulled together the research on an imbalanced gut microbiome, known as dysbiosis, and mood disorders. People with anxiety and depression often show a less diverse microbiome with fewer of certain beneficial bacteria. But depression also changes how you eat, sleep and move, along with what medications you take, and all of those change your gut. So the correlation doesn't tell us which came first.
Autism is another area of study. Children with autism spectrum disorders often have gastrointestinal problems and may have differences in their gut microbes. That's an association. It doesn't mean gut bacteria cause autism or that changing them treats it.
Stress & the gut microbiome
The gut microbiome and the body's stress response affect each other. Stress can change your gut bacteria and your gut function. In turn, your microbes affect how the stress system behaves, a pattern seen mostly in animal research so far. Together they can form a loop, with gut trouble feeding stress and stress feeding gut trouble.
What the diet & probiotic trials found
The best-known food trial is SMILES, published in 2017. It enrolled 67 adults with moderate to severe depression and gave them 12 weeks of either dietary support or social support on top of any treatment they already had. Remission was 32.3% in the diet group and 8.0% in the social support group, which is 10 people against 2. Encouraging, and small. It measured diet and depression, not whether a change in gut bacteria was the reason.
Probiotics have a more specific result. A 2021 meta-analysis of seven trials, covering 404 people with depression, found that probiotics reduced symptoms when added to antidepressants, and showed no significant benefit when used alone. Several of the authors disclosed grant support from a probiotic company, so read it with that in mind. The takeaway isn't that a capsule replaces your treatment. If anything, the data points the other way.
Gut bacteria & cognitive function
Can better gut health improve your memory?
Quick answer
Maybe, but it's unproven in people. Short-chain fatty acids from gut bacteria affect brain-related processes, and chronic inflammation is tied to cognitive decline. No trial has shown that changing your gut bacteria sharpens memory, so eat for your whole health and treat any memory benefit as a bonus.
Research on gut bacteria and cognitive function centers on a few ideas. Short-chain fatty acids (SCFAs), which bacteria make when they ferment fiber, can affect inflammation and signaling between the gut and brain. Much of the memory and learning evidence comes from animal work, so "shown to improve memory" goes further than the human data does.
The other ideas are ones we've already covered. The gut microbiome helps produce or influence messengers like serotonin and GABA, which are important for mood, learning and memory. An imbalance can go along with chronic inflammation, which is linked to cognitive decline and neurodegenerative disease. And because the gut microbiome is sensitive to stress, chronic stress can change its composition and function, which may have knock-on effects on how you think.
If you notice new memory trouble or confusion, or someone you love does, that's a doctor's visit, not a diet experiment. Plenty of causes are treatable, and they deserve a proper look.
Foods & habits for gut-brain health
What can you do to support your gut & brain?
Quick answer
Aim for the FDA's 28 g of fiber a day, add fermented foods you like, follow a Mediterranean-style pattern, exercise, protect your sleep and manage stress. None of it requires a supplement, and all of it has health benefits even if the gut-brain research never pans out.
Good news: the advice for your gut and brain health is the boring advice that also helps your heart and your weight. Start with food, since it's what you can change today.
Fiber, fermented foods & the Mediterranean diet
The nutrition research supporting cognitive function keeps coming back to the same few habits.
Fiber. Fruit, vegetables, whole grains, legumes, nuts and seeds contain prebiotics, the fibers that feed helpful bacteria. The FDA's Daily Value is 28 g a day, and 25 to 35 g is a fine range to aim for. Most people fall short, so raise your intake slowly and drink more water, or your gut will let you know about it.
Fermented foods. Yogurt, kefir, sauerkraut, kimchi and kombucha contain live cultures. In a 17-week Stanford trial with 18 people in each group, the fermented food group gained microbial diversity and had lower inflammatory markers. The high fiber group's diversity didn't change. It's a small trial and it didn't test mood or memory, but it's a reason to give fermented foods a real place on your plate. Watch the sugar in flavored yogurt and kombucha.
The Mediterranean pattern. The Mediterranean diet, rich in fruit, vegetables, whole grains, legumes, fish, nuts and olive oil, is the pattern with the most support here. Its fiber and polyphenols feed your microbes, and research links it to better memory and attention and lower risk of neurodegenerative disease. Most of that evidence is observational, so it can't prove the diet alone did it, but the SMILES trial used a similar pattern and the heart data is strong anyway.
Knowing all this has never been the hard part. The hard part is having that food in the house at 7 PM on a Tuesday. Clean Eatz Kitchen's meal plans are chef-cooked, flash-frozen and heat in under 5 minutes, and you can filter the menu by goals like High Fiber or Heart Healthy. If fiber is the specific gap, the High Fiber Meal Plan has at least 5 g of fiber in each meal, built with vegetables, legumes and whole grains plus protein. Two of those a day gets you at least 10 g of the 28 g target. They're meals, not a treatment for anything, but they do remove one nightly decision.
Lifestyle changes for the gut-brain connection
Exercise. Regular physical activity can help gut motility and is linked with lower inflammation and a more diverse microbiome. It also promotes brain-derived neurotrophic factor (BDNF), a protein important for brain health and cognitive function.
Sleep. Your body does a lot of repair overnight, and adequate sleep matters for memory, emotional regulation and clear thinking. You may have seen the claim that just two days of sleep loss wrecks your gut and raises inflammation. The study behind it tested 9 normal-weight men over two nights of partial sleep deprivation. It found subtle shifts in gut bacteria, no change in overall diversity or SCFAs, and lower insulin sensitivity. So a bad couple of nights is worth fixing, but your microbiome isn't ruined by it.
Stress. Chronic stress can disrupt the microbiome and impair gut function, and it's tied to inflammation. The practical question is what you'll really do about it, which brings us to the list below.
Practical tips for reducing stress & supporting your gut
None of these has been proven to reshape your microbiome, and that's fine. They help with stress, and stress is part of the loop. Mindful eating practices are a low-effort place to start: slow down, sit down and pay attention to your food.
- Try meditation, deep breathing or mindful eating for a few minutes a day.
- Add gentle movement like yoga or tai chi, which pairs motion with breathing.
- Spend time outdoors when you can.
- Make time for people you like. Relationships are good for your emotional well-being.
- Keep a hobby that gives you a real outlet for stress.
- Hold a consistent sleep routine, same bedtime and wake time as often as you can.
- Move regularly, even if it's a walk after dinner.
If cooking every night is one of the things stressing you out, having meals ready removes one job from the list. The High Protein Meal Plan adds 2 extra ounces of meat to each meal if protein and fullness are what you're after. There's no subscription, so you can order when you need it.
Make it easy withHigh Protein Meal PlanFrom $63.00View plan Future gut-brain research & therapies
What gut-brain treatments are being researched?
Quick answer
Four are getting the most attention: microbiome mapping, psychobiotics, fecal microbiota transplants and vagus nerve stimulation. All are worth watching, and most remain experimental for brain conditions. Treat any product sold on this research with caution and bring it to your doctor before you try it.
The field is moving fast. Here's where four of the most talked-about ideas stand, with less of the gloss.
Microbiome mapping. Scientists can now use genomic tools to map the microbes in your body, and a 2018 paper argued this will change how medicine treats patients, using surgery as its example. A personal map of your gut that guides your brain care is an idea. It isn't a clinic service yet, and home tests can't tell you what to do about their results.
Psychobiotics. These are probiotics chosen for possible effects on the brain. A 2024 literature review suggests they may work as an add-on for depression, especially hard-to-treat cases. A 2025 review in Microbial Biotechnology is more cautious and says it's still unclear why some strains seem to help and others don't. Natural doesn't mean proven, and they're no replacement for mental health care.
Fecal microbiota transplantation (FMT). Moving stool microbes from a healthy donor to a patient sounds unusual, and it's mainly used for recurrent C. difficile infection. Trials are testing it for other gut and brain conditions, but that work is early. Please don't try this at home.
Vagus nerve stimulation. Implanted stimulators were approved for epilepsy in 1997 and for depression in 2005. Researchers are now testing electrical stimulation for long COVID symptoms like brain fog, and the early results are preliminary. Experts also warn against buying devices without medical guidance, since badly set stimulation can affect your heart.
So where does that leave you? Your gut microbiome is a community unique to you, and it affects your digestion, immune system and brain in ways we're still mapping. You don't have to wait for the science to finish. Eat more fiber and fermented foods, keep to a Mediterranean-style pattern, sleep, move and manage your stress, and get real help when you need it. If getting those meals on the table is the sticking point, Clean Eatz Kitchen has meal plans for that. Build your meal plan and order only what you'll eat.
Gut-brain connection FAQ
Gut-brain questions
How does the gut communicate with the brain?
Through the gut-brain axis, a two-way network that includes the vagus nerve, hormones, immune signals and compounds made by your gut cells and microbes. The vagus nerve is the main direct route. Signals move both ways, which is why stress can upset your stomach and gut trouble can affect how you feel.
What percentage of serotonin is produced in the gut?
More than 90% of your body's serotonin is made in the gut, mostly by your own enterochromaffin cells, with microbes influencing how much they produce. Most of it stays in your blood and body, so it doesn't simply reach your brain. It can still activate nearby nerves, which is one way it may affect the brain.
Can gut health affect mental health conditions like anxiety & depression?
It may play a part. People with these conditions often have less diverse gut bacteria, but depression itself changes diet, sleep and medication, so the direction isn't clear. Better food and some add-on probiotics show early promise, but neither replaces treatment. Talk with your doctor before you change anything you're taking.
What foods support a healthy gut-brain connection?
Fiber-rich foods like fruit, vegetables, whole grains and legumes feed helpful bacteria, and fermented foods like yogurt, kefir, sauerkraut and kimchi add live cultures. A Mediterranean-style pattern with fish, nuts and olive oil brings them together. No single food does the job, so aim for variety and consistency rather than one miracle ingredient.
What is the vagus nerve & why is it important for gut-brain communication?
The vagus nerve is the main nerve connecting your gut and brain, carrying signals in both directions. It relays information about hunger, fullness and discomfort, and it helps your body handle stress. That flutter you feel before a big moment is part of this exchange, and it's why researchers are studying it for brain conditions.
Can improving gut health help with cognitive function & memory?
It's possible, but not proven in people. Short-chain fatty acids from gut bacteria affect signaling and inflammation, and chronic inflammation is tied to cognitive decline. Much of the memory evidence comes from animals. Eat well for your overall health, and see your doctor about any new memory trouble, since many causes are treatable.
How does stress affect the gut microbiome?
Chronic stress can shift the balance of your gut bacteria, impair gut function and raise inflammation. Those gut changes may then feed back into your stress response, creating a loop. Much of that evidence comes from animal studies. Exercise, consistent sleep and relaxation practices help you manage stress, whatever they turn out to do for your microbes.
More on gut & brain health
Keep reading
Sources
- Appleton J. The Gut-Brain Axis: Influence of Microbiota on Mood and Mental Health. Integrative Medicine, 2018
- Foster JA, Rinaman L, Cryan JF. Stress & the gut-brain axis: Regulation by the microbiome. Neurobiology of Stress, 2017
- Xiong RG, et al. The Role of Gut Microbiota in Anxiety, Depression, and Other Mental Disorders. Nutrients, 2023
- Merlo G, et al. Gut microbiota, nutrition, and mental health. Frontiers in Nutrition, 2024
- Spencer NJ, et al. Mechanisms underlying the gut-brain communication: How enterochromaffin (EC) cells activate vagal afferent nerve endings in the small intestine. Journal of Comparative Neurology, 2024
- Chang JJ, Kulkarni S, Pasricha TS. Upper Gastrointestinal Mucosal Damage and Subsequent Risk of Parkinson Disease. JAMA Network Open, 2024
- Jacka FN, et al. A randomised controlled trial of dietary improvement for adults with major depression (SMILES). BMC Medicine, 2017
- Nikolova VL, et al. Updated Review and Meta-Analysis of Probiotics for the Treatment of Clinical Depression. Journal of Clinical Medicine, 2021
- Wastyk HC, et al. Gut-microbiota-targeted diets modulate human immune status. Cell, 2021
- Benedict C, et al. Gut microbiota and glucometabolic alterations in response to recurrent partial sleep deprivation. Molecular Metabolism, 2016
- Alverdy JC, et al. Microbiome Medicine: This Changes Everything. Journal of the American College of Surgeons, 2018
- Dziedzic A, et al. The Power of Psychobiotics in Depression. Nutrients, 2024
- Slykerman RF, et al. Precision Psychobiotics for Gut-Brain Axis Health. Microbial Biotechnology, 2025
- Biazzo M, et al. Fecal Microbiota Transplantation as New Therapeutic Avenue for Human Diseases. Journal of Clinical Medicine, 2022
- Kim SE. Zapping the Vagus Nerve Could Relieve Some Long COVID Symptoms. Scientific American, 2023
- FDA. Daily Value on the Nutrition and Supplement Facts Labels
On this page


