Microbiome learning path · Chapter 13
Gut bacteria, mood, stress and sleep
The gut and the brain talk to each other, and gut bacteria take part in the conversation. In mice the evidence is strong: animals raised without bacteria respond differently to stress, and behaviour can be shifted by moving gut bacteria from one animal to another. In people the evidence is much thinner. This chapter sets out what has been shown, in which species, and what trials of probiotics and of diet for low mood have found. It does not replace care for depression or anxiety.
In short
- One gut-to-brain effect is routine medicine. In liver failure, treating the gut clears the mind.
- Gut bacteria can signal to the brain through nerves, the immune system and the substances they make.
- In mice, gut bacteria shape the stress response and behaviour. These are mouse findings.
- People with depression have, on average, somewhat different gut bacteria. That is a link, not a proven cause.
- Probiotic trials for low mood are small and disagree with each other. Diet trials are more encouraging, though few.
- Stress and night-shift work affect the gut. Whether changing the bacteria improves mood or sleep has not been shown.
Is there any proof that gut bacteria affect the brain?
Yes, and it is older than the word microbiome.
Gut bacteria make ammonia when they break down protein. A healthy liver clears it. A failing liver cannot, so ammonia reaches the brain, and the person becomes drowsy, forgetful or confused. Doctors call this hepatic encephalopathy.
The clearest example. In liver failure, a substance made by gut bacteria reaches the brain. The treatment acts in the gut.
The treatment acts on the gut. Lactulose, a sugar that is not absorbed, lowers the amount of ammonia taken up from the colon. In a pooled analysis of 22 trials with 1,415 participants, lactulose and a similar sugar reduced hepatic encephalopathy by about four in ten compared with placebo or no treatment, and fewer people died.
So a change made in the gut can change how the brain works. The open question for the rest of this chapter is how far that goes in people whose liver is healthy.
By which routes could gut bacteria reach the brain?
Four are studied most. The gut-brain axis explained covers the wider system of nerves and hormones.
The vagus nerve
In mice, one strain of bacteria lowered the stress hormone and reduced anxious behaviour. When the vagus nerve had been cut, it did neither.
The immune system
In mice, social stress raised inflammatory messengers in the blood. When antibiotics had first reduced the gut bacteria, the messengers did not rise.
Short-chain fatty acids
Bacteria make these from fibre. A review described them as a suspected messenger, and found that this has hardly been tested directly in people.
Tryptophan
Tryptophan is the amino acid from which serotonin is made. Gut bacteria appear to influence how the body uses it.
Four routes, and where each was shown. Most of the direct evidence comes from mice.
Is serotonin really made in the gut?
Yes. Much of the body’s serotonin is in the gut, made by cells in its lining. Bacteria help. In mice, spore-forming bacteria taken from the guts of mice and of people prompted those cells to make more serotonin. That changed how the gut moved and how blood platelets worked.
This fact is widely misused. Serotonin made in the gut acts in the gut and in the blood. It does not cross from the blood into the brain, which makes its own.
Gut serotonin stays out of the brain. It acts on gut movement and on blood platelets.
So the statement that most of your serotonin is in your gut is true, and it does not mean that your gut makes your mood. It also does not follow that a food or a probiotic will raise serotonin in the brain.
What happens in mice raised without bacteria?
Mice can be raised with no microbes at all. Two experiments on such mice are quoted more than any others.
- The stress hormone. When restrained, mice without bacteria released much more stress hormone than ordinary mice. Giving them gut bacteria early in life partly corrected this. Giving the same bacteria later did not.
- Behaviour. In another laboratory, mice without bacteria were more active and showed less anxious behaviour than ordinary mice. Mice given bacteria early in life behaved like ordinary mice.
Mice without bacteria. The stress response was larger, and only early contact with bacteria corrected it. A sketch of direction, not of measured values.
The two results do not point one way: more stress hormone in one study, less anxious behaviour in the other. What they share is timing. Gut bacteria take part in how the stress system of a young mouse develops, and there is a window in early life when this happens.
These are mice. See how to judge a gut-health claim for why a mouse finding is a starting point and not an answer.
Can behaviour be transferred with gut bacteria?
In rodents, yes.
- Between mouse strains. Two strains of mice differ in how boldly they explore. When mice of each strain were raised without bacteria and then given the other strain’s gut bacteria, their behaviour moved towards that of the donor strain.
- From people to rodents. In two studies, stool from people with depression was given to mice raised without bacteria, or to rats whose bacteria had been depleted. The animals showed behaviour that researchers read as depression-like, such as less interest in reward and more anxious behaviour. Animals given stool from healthy people did not. The rat study took its samples from a group of 34 patients and 33 healthy people.
From people to rodents. The behaviour followed the donor. These are rats and mice.
This is the strongest evidence that the link between gut bacteria and mood could run from gut to brain. It has limits. A behaviour test in a rat is not depression in a person, and the donors were few. No trial in people has shown that giving gut bacteria from a healthy person treats depression.
What has been found in people?
Mostly links.
- A population study. Among 1,054 people in Belgium, two groups of gut bacteria were less common in those with depression, even after allowing for antidepressants. The finding was checked in a second group of 1,070 people. Bacteria that make butyrate were more common in people who reported a better quality of life.
- A review across conditions. A review of 59 studies found a shared pattern in depression, bipolar disorder, schizophrenia and anxiety: fewer of certain butyrate-making bacteria. The pattern was not specific to any one diagnosis. The review also noted that where people lived and the medicines they took could confound the results.
A link has three possible explanations: the bacteria contribute to the low mood, the low mood changes the bacteria, or something else changes both. Low mood changes what people eat, how they sleep and which medicines they take, and each of those changes gut bacteria. See linked or caused.
The link between gut symptoms and mood itself is well established, and it runs both ways. See IBS and anxiety.
Do probiotics help mood?
The trials are small and they disagree.
In healthy volunteers
- Volunteers who took a two-strain probiotic for 30 days reported less psychological distress than those on placebo.
- Among 36 healthy women, four weeks of a fermented milk with added probiotic bacteria changed how the brain responded to pictures of emotional faces on a scan. This shows that something taken by mouth can alter brain activity. It was not a test of mood.
- The strain that calmed mice through the vagus nerve was then given to 29 healthy men. It had no effect on mood, stress, stress hormone or thinking.
In people with low mood or depression
- In 40 adults with major depression, depression scores improved more after eight weeks of a probiotic than after placebo.
- In 79 adults with low mood, eight weeks of a probiotic made no difference on any psychological measure.
- In 71 adults with depressive symptoms, symptoms improved in both groups, which the authors put down to the weekly visits. The probiotic group did better on one measure of negative thinking.
- In 44 adults with irritable bowel syndrome and mild to moderate anxiety or depression, 14 of 22 on a probiotic had a fall in their depression score, against 7 of 22 on placebo. Anxiety and bowel symptoms did not change.
- In 49 adults whose depression had only partly responded to an antidepressant, adding a probiotic for eight weeks was followed by greater improvement than adding placebo. This was a pilot trial, designed to see whether a full trial is worth running.
Six trials, mixed results. Different products, different people, and no agreement.
Pooled results
- An analysis of 34 trials in 2019 found a small effect of probiotics on depression and a smaller one on anxiety. Prebiotics were no different from placebo.
- An analysis of 23 trials in 1,401 patients with a diagnosed condition, published in 2025, found a larger effect on depression. Its authors noted that results varied widely from trial to trial, depending on the product and the length of treatment. Prebiotics again showed no clear effect.
My reading: probiotics for mood are a reasonable subject for research and are not an established treatment. No trial tells us which strain, for whom, or for how long. They do not replace talking therapy or medicine. See what probiotics are.
Does changing the diet help depression?
Here the trials are more consistent, though still few.
- Adults with depression. In a trial of 67 adults with moderate to severe depression, most of them already on treatment, 12 weeks of support from a dietitian was compared with social support. Depression scores improved more in the diet group. Ten of 31 were in remission at the end, against two of 25.
- Young men. In a trial that 72 men aged 18 to 25 completed, a Mediterranean-style diet for 12 weeks lowered depression scores more than befriending support did. Participants knew which group they were in.
- Diet with fish oil. In a trial that recruited 152 adults who reported depression, of whom 95 completed three months, those given a Mediterranean-style diet and fish oil ate more vegetables, fruit, nuts, pulses and whole grains, and had a greater fall in depression at three months.
- Pooled. Across 16 trials, mostly in people without a diagnosis of depression, improving the diet reduced depressive symptoms by a small amount. It did not reduce anxiety.
None of these trials shows that gut bacteria carried the benefit. One trial looked for that directly. Forty-five healthy adults ate either a diet high in prebiotic and fermented foods or a control diet for four weeks. Perceived stress fell by 32% on the diet and by 17% on the control diet, a difference that was not statistically significant, and the gut bacteria changed only subtly.
So eating well appears to help mood a little, and the route is not known. On an Indian plate the same pattern is vegetables, fruit, dals, whole grains and nuts. See fibre and the Indian plate.
What does stress do to the gut and its bacteria?
Stress changes how the gut moves, secretes and feels. That part is not in doubt. See anxiety and stomach problems.
- The lining. In healthy volunteers, giving a speech in public made the small intestine more permeable, and only in those whose stress hormone rose. A stress hormone given directly had the same effect, and a medicine that steadies mast cells blocked it.
- The bacteria, in students. In 23 university students, lactic acid bacteria in stool were lower in the first week of examinations than at the start of the semester. This is one small study.
- The bacteria, in mice. Social stress changed the make-up of the gut bacteria, most clearly straight after the stress.
Stress and the gut lining. Seen in healthy volunteers, and only in those whose stress hormone rose.
Whether such changes in bacteria matter for how a stressed person feels has not been tested.
Do sleep and the body clock matter?
The body clock seems to matter more than one or two short nights.
- A daily rhythm. In mice and in people, gut bacteria rise and fall through the day, in step with meal times. Jet lag disturbed that rhythm.
- Night shifts. In 10 security officers, the proportions of the main groups of gut bacteria differed after two weeks of night shifts compared with four weeks of day shifts.
- Short sleep. In nine men, two nights of about four hours’ sleep caused subtle shifts in a few groups of bacteria, and the community as a whole did not change. In a separate study, restricting sleep caused no clear change in people’s gut bacteria.
- Sleep quality. In one study, people with more varied gut bacteria slept more efficiently and for longer. This is a link.
Gut bacteria keep time. A daily rhythm that follows meals, and is disturbed by jet lag and night shifts. A sketch of direction, not of measured values.
Nobody has shown that changing gut bacteria improves sleep. Regular hours for meals and sleep are sensible for many reasons, and this may be one more. See how sleep affects gut health.
What is not known?
- Whether the differences in gut bacteria seen in depression are a cause, a result or a bystander
- Which probiotic, if any, helps which person
- Whether the benefit of a better diet for mood runs through gut bacteria
- How much of the mouse work applies to people. One promising strain already failed that step.
- Whether any of this holds over years and not weeks
No stool test can diagnose depression or anxiety, or choose a treatment for them. See your microbiome test report.
What is sensible to do?
Treat mood as a condition in its own right
Depression and anxiety have established treatments: talking therapies and medicines. See a doctor. Do not stop a prescribed medicine in favour of a probiotic or a diet.
Eat in a way that suits both
Vegetables, fruit, dals, whole grains, nuts and fermented foods. This is the diet tested for mood, and the one that feeds gut bacteria.
Keep regular hours
Regular times for meals and for sleep suit the gut’s daily rhythm.
Mention both problems
If gut symptoms and low mood come together, tell your doctor about both. Some treatments help both. See gut-directed hypnotherapy and CBT.
From my practice
Many of my patients with long-standing bowel symptoms also carry anxiety or low mood, and each makes the other worse. I ask about both.
I do not order stool tests to explain mood, and I do not prescribe probiotics as a treatment for depression. When low mood is more than mild, I ask a psychiatrist or a psychologist to see the patient alongside me.
Get help straight away if
- You have thoughts of harming yourself or of ending your life
- You feel unable to keep yourself safe
- Someone close to you is in that state
Go to the nearest emergency department, or call a doctor now. In India you can also call the national mental health helpline, Tele MANAS, on 14416. Do not wait for a routine appointment.
| What this page says | How it is known |
|---|---|
| Lactulose reduced hepatic encephalopathy by about four in ten | A pooled analysis of 22 trials |
| A bacterial strain needed the vagus nerve to affect behaviour | Mice |
| Gut bacteria raised serotonin made in the gut | Mice and cell cultures |
| Without bacteria, the stress-hormone response was larger | Mice |
| Stool from people with depression changed behaviour in the recipient | Mice and rats |
| Certain gut bacteria were less common in depression | A population study of 1,054 people, checked in 1,070 |
| Probiotics for mood gave opposite results | Small randomised trials of 29 to 79 people |
| Pooled probiotic results varied widely | Pooled analyses of 34 and of 23 trials |
| Better diet improved depression scores | Randomised trials of 67, 72 and 152 people |
| A diet high in prebiotic and fermented foods did not clearly lower stress | A randomised trial in 45 healthy adults |
| Public speaking made the gut lining more permeable | Experiments in healthy volunteers |
| Night shifts were followed by different proportions of gut bacteria | A study of 10 workers |
| Two short nights barely changed gut bacteria | A crossover study in 9 men |
When should I see a doctor?
See a doctor if low mood, worry or loss of interest is present on most days for two weeks or more, or if sleep and appetite have changed with it. See a gastroenterologist for bowel symptoms that last more than three to four weeks, and sooner for blood in the stool, weight loss you cannot explain or difficulty swallowing.
Questions patients ask me
Can a probiotic treat depression?
It is not an established treatment. Some small trials found a benefit and others found none, and no trial shows which product would help which person. It should not replace talking therapy or medicine.
Is my low mood caused by my gut?
That has not been shown in people. Gut bacteria differ, on average, in people with depression, but low mood also changes eating, sleep and medicines, and each of those changes gut bacteria.
Most serotonin is made in the gut. Does my gut control my mood?
No. Serotonin made in the gut acts on the gut and on blood platelets. It does not cross into the brain, which makes its own.
Can a stool test explain my anxiety?
No. No stool test can diagnose anxiety or depression, or tell you which treatment to take.
Should I stop my antidepressant and work on my gut instead?
No. Do not stop or reduce a prescribed medicine without the doctor who prescribed it. A better diet can be added to treatment. It does not replace it.
Does curd help mood?
There is no proof that it does. In one small study, a fermented milk changed how the brain responded on a scan, which is not the same as feeling better. Curd is a good food for other reasons.
Sources
This page is written for patients and is based on the guidelines and studies below. It is for education and does not replace a consultation.
- Cochrane review of lactulose and a similar sugar for hepatic encephalopathy in cirrhosis. Gluud LL et al. Cochrane Database Syst Rev. 2016. doi:10.1002/14651858.CD003044.pub4
- Review of the microbiota-gut-brain axis. Cryan JF et al. Physiol Rev. 2019. PubMed 31460832
- Mouse study in which a bacterial strain changed behaviour only when the vagus nerve was intact. Bravo JA et al. Proc Natl Acad Sci U S A. 2011. doi:10.1073/pnas.1102999108
- Mouse study of social stress, gut bacteria and immune messengers in the blood. Bailey MT et al. Brain Behav Immun. 2011. doi:10.1016/j.bbi.2010.10.023
- Review of short-chain fatty acids in communication between gut bacteria and the brain. Dalile B et al. Nat Rev Gastroenterol Hepatol. 2019. doi:10.1038/s41575-019-0157-3
- Review of serotonin, tryptophan and gut bacteria. O’Mahony SM et al. Behav Brain Res. 2015. doi:10.1016/j.bbr.2014.07.027
- Study in mice and cell cultures showing gut bacteria raise serotonin made in the gut. Yano JM et al. Cell. 2015. doi:10.1016/j.cell.2015.02.047
- Study of the stress-hormone response in mice raised without bacteria. Sudo N et al. J Physiol. 2004. doi:10.1113/jphysiol.2004.063388
- Study of behaviour and brain development in mice raised without bacteria. Diaz Heijtz R et al. Proc Natl Acad Sci U S A. 2011. doi:10.1073/pnas.1010529108
- Mouse study in which behaviour moved between strains with their gut bacteria. Bercik P et al. Gastroenterology. 2011. doi:10.1053/j.gastro.2011.04.052
- Study giving stool from people with depression to mice raised without bacteria. Zheng P et al. Mol Psychiatry. 2016. doi:10.1038/mp.2016.44
- Study giving stool from 34 people with depression and 33 healthy people to rats. Kelly JR et al. J Psychiatr Res. 2016. doi:10.1016/j.jpsychires.2016.07.019
- Population study of gut bacteria, quality of life and depression. Valles-Colomer M et al. Nat Microbiol. 2019. PubMed 30718848
- Review and meta-analysis of gut bacteria in 59 studies across psychiatric conditions. Nikolova VL et al. JAMA Psychiatry. 2021. doi:10.1001/jamapsychiatry.2021.2573
- Randomised trial of a two-strain probiotic for 30 days in healthy volunteers. Messaoudi M et al. Br J Nutr. 2011. doi:10.1017/S0007114510004319
- Randomised brain-imaging study of a fermented milk with probiotic in 36 healthy women. Tillisch K et al. Gastroenterology. 2013. doi:10.1053/j.gastro.2013.02.043
- Crossover trial in 29 healthy men of a strain that had reduced stress behaviour in mice. Kelly JR et al. Brain Behav Immun. 2017. doi:10.1016/j.bbi.2016.11.018
- Randomised trial of a probiotic for eight weeks in 40 adults with major depression. Akkasheh G et al. Nutrition. 2016. doi:10.1016/j.nut.2015.09.003
- Randomised trial of a probiotic for eight weeks in 79 adults with low mood. Romijn AR et al. Aust N Z J Psychiatry. 2017. doi:10.1177/0004867416686694
- Randomised trial of a probiotic for eight weeks in 71 adults with depressive symptoms. Chahwan B et al. J Affect Disord. 2019. doi:10.1016/j.jad.2019.04.097
- Randomised pilot trial of a probiotic in 44 adults with IBS and anxiety or depression. Pinto-Sanchez MI et al. Gastroenterology. 2017. doi:10.1053/j.gastro.2017.05.003
- Pilot randomised trial of a probiotic added to an antidepressant in 49 adults. Nikolova VL et al. JAMA Psychiatry. 2023. doi:10.1001/jamapsychiatry.2023.1817
- Meta-analysis of prebiotics and probiotics for depression and anxiety. Liu RT et al. Neurosci Biobehav Rev. 2019. PubMed 31004628
- Meta-analysis of prebiotics and probiotics in 23 trials of people with diagnosed depression or anxiety. Asad A et al. Nutr Rev. 2025. doi:10.1093/nutrit/nuae177
- Trial of dietary improvement for adults with major depression. Jacka FN et al. BMC Med. 2017. PubMed 28137247
- Randomised trial of a Mediterranean-style diet in young men with depression. Bayes J et al. Am J Clin Nutr. 2022. doi:10.1093/ajcn/nqac106
- Randomised trial of a Mediterranean-style diet with fish oil in adults with depression. Parletta N et al. Nutr Neurosci. 2019. doi:10.1080/1028415X.2017.1411320
- Meta-analysis of 16 randomised trials of dietary improvement for symptoms of depression and anxiety. Firth J et al. Psychosom Med. 2019. doi:10.1097/PSY.0000000000000673
- Randomised trial of a diet high in prebiotic and fermented foods and perceived stress in 45 healthy adults. Berding K et al. Mol Psychiatry. 2023. doi:10.1038/s41380-022-01817-y
- Experiments on psychological stress and gut permeability in healthy volunteers. Vanuytsel T et al. Gut. 2014. doi:10.1136/gutjnl-2013-305690
- Study of examination stress and stool bacteria in 23 students. Knowles SR et al. Biol Psychol. 2008. doi:10.1016/j.biopsycho.2007.09.010
- Study of the daily rhythm of gut bacteria and jet lag in mice and people. Thaiss CA et al. Cell. 2014. doi:10.1016/j.cell.2014.09.048
- Study of gut bacteria in 10 workers on day and night shifts. Mortas H et al. Chronobiol Int. 2020. doi:10.1080/07420528.2020.1778717
- Crossover study of two nights of short sleep and gut bacteria in nine men. Benedict C et al. Mol Metab. 2016. doi:10.1016/j.molmet.2016.10.003
- Study of sleep restriction and gut bacteria in rats and people. Zhang SL et al. Proc Natl Acad Sci U S A. 2017. doi:10.1073/pnas.1620673114
- Study of gut microbiome diversity and sleep physiology. Smith RP et al. PLoS One. 2019. PubMed 31589627