Skip to content
Dr. Gaurang Ramesh

Home Articles

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.

On this page In short The clearest proof Four routes Gut serotonin Mice without bacteria Transferring behaviour Findings in people Probiotics for mood Diet and depression Stress and the gut Sleep and body clock What is not known What is sensible When to see a doctor Questions

In short

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.

When the liver failsGut bacteriamake ammonia from proteinthe treatment acts hereA failing livercannot clear itThe braindrowsy, forgetful, confusedLactulose, taken by mouth, lowers the ammoniaabsorbed from the colon. Standard care in liver failure.

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 shownThe vagus nerveonce it was cut, a strain lost its effectin miceImmune messengersrose with stress only when gut bacteriawere present, in miceShort-chain fatty acidssuspected; hardly tested in peopleTryptophan and serotoninbacteria raised gut serotonin, in miceEach route is plausible. How much each one mattersin people is not known.

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.

Where gut serotonin goesMade in the gut liningbacteria help, in miceActs in the gut and the bloodgut movement, blood plateletsdoes not cross into the brainThe brainmakes its own serotonin

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.

Stress hormone after restraint, in miceOrdinary mouseordinary riseRaised without bacteriamuch larger riseBacteria given early in lifepartly correctedBacteria given laternot correctedMice only. Bar lengths show direction,not measured values.

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.

From people to rodentsHealthy donorsno such changeDonors with depressionless interest in reward,more anxious behaviourMice raised without bacteria, and rats whose bacteriahad been depleted. A behaviour test in a rodent is notdepression in a person.

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 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

In people with low mood or depression

Probiotics for mood: six trialsHealthy volunteers, 30 daysless distress than placebo29 healthy menno effect40 adults with depressionscores improved more79 adults with low moodno difference71 adults, depressive symptomsboth groups improved49 adults on an antidepressantimproved more; a pilot trialbetter than placebono better than placebo

Six trials, mixed results. Different products, different people, and no agreement.

Pooled results

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.

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.

A speech in public, and the gut liningHealthy volunteersgave a speech in publicStress hormone rosethe gut lining became more permeableStress hormone did not riseno change in the liningMast cells steadied beforehandthe speech had no effect on the liningThe small intestine, measured over two hours.

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.

Gut bacteria keep timeRegular daysbacteria rise and fall in step with mealsJet lag and night shiftsthe rhythm is disturbedMice and small human studies. The lines showdirection, not measured values.

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?

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 saysHow it is known
Lactulose reduced hepatic encephalopathy by about four in tenA pooled analysis of 22 trials
A bacterial strain needed the vagus nerve to affect behaviourMice
Gut bacteria raised serotonin made in the gutMice and cell cultures
Without bacteria, the stress-hormone response was largerMice
Stool from people with depression changed behaviour in the recipientMice and rats
Certain gut bacteria were less common in depressionA population study of 1,054 people, checked in 1,070
Probiotics for mood gave opposite resultsSmall randomised trials of 29 to 79 people
Pooled probiotic results varied widelyPooled analyses of 34 and of 23 trials
Better diet improved depression scoresRandomised trials of 67, 72 and 152 people
A diet high in prebiotic and fermented foods did not clearly lower stressA randomised trial in 45 healthy adults
Public speaking made the gut lining more permeableExperiments in healthy volunteers
Night shifts were followed by different proportions of gut bacteriaA study of 10 workers
Two short nights barely changed gut bacteriaA 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.

  1. 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
  2. Review of the microbiota-gut-brain axis. Cryan JF et al. Physiol Rev. 2019. PubMed 31460832
  3. 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
  4. 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
  5. 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
  6. Review of serotonin, tryptophan and gut bacteria. O’Mahony SM et al. Behav Brain Res. 2015. doi:10.1016/j.bbr.2014.07.027
  7. 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
  8. Study of the stress-hormone response in mice raised without bacteria. Sudo N et al. J Physiol. 2004. doi:10.1113/jphysiol.2004.063388
  9. 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
  10. 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
  11. 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
  12. 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
  13. Population study of gut bacteria, quality of life and depression. Valles-Colomer M et al. Nat Microbiol. 2019. PubMed 30718848
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. Meta-analysis of prebiotics and probiotics for depression and anxiety. Liu RT et al. Neurosci Biobehav Rev. 2019. PubMed 31004628
  24. 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
  25. Trial of dietary improvement for adults with major depression. Jacka FN et al. BMC Med. 2017. PubMed 28137247
  26. 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
  27. 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
  28. 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
  29. 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
  30. Experiments on psychological stress and gut permeability in healthy volunteers. Vanuytsel T et al. Gut. 2014. doi:10.1136/gutjnl-2013-305690
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. Study of gut microbiome diversity and sleep physiology. Smith RP et al. PLoS One. 2019. PubMed 31589627

Have a question about your own symptoms?

An article can explain a condition. It cannot examine you. Bring your reports and your questions to a consultation at Arka Anugraha Hospital, JP Nagar, Bengaluru.

Book on WhatsApp+91 80737 37505