How Your Gut Microbiome is Linked to Depression and Anxiety

Rumiana Tenchov, Information Scientist, CAS
picture of brain

Gut microbiome as an extra organ in human body

The human body harbors a large collection of microorganisms—predominantly bacteria, but also viruses, protozoa, fungi, and archaea. They are collectively known as the microbiome. Gut microbiota, gut flora, or microbiome are the microorganisms that live in the digestive tracts of humans and other animals. While some bacteria are associated with disease, others are particularly important for many aspects of health. In fact, there are more bacterial cells in the human body than human cells–roughly 40 trillion bacterial cells vs. only 30 trillion human cells. These microbes may weigh roughly as much as the brain. Together, they function as an extra organ in the human body and play a huge role in human health. The collective genome of the gut microbiome exceeds over 100 times the amount of human DNA in the body. Considering this enormous genetic potential of the microbiota, it is anticipated that it plays a role in virtually all physiological processes in the human body. Gut bacteria have been linked to several mental illnesses, and patients with various psychiatric disorders such as depression, bipolar disorder, schizophrenia, and autism have been found to have significant alterations in the composition of their gut microorganisms.

The interest in gut microbiome as related to human health, and specifically to mental health, is exponentially increasing in the years after 2000, as demonstrated by a search in CAS Content CollectionTM. Currently, there are over 7,000 publications on gut microbiome as related to mental health (Figure 1).

Graph of Annual number of gut microbiome-related publications related to mental health in CAS database
Figure 1.  Annual number of gut microbiome-related publications related to mental health in CAS Content Collection in the period 2000-2021.


Babies acquire their first dose of microbes at birth. Development of the human gut microbiome

It is generally believed that the uterus is a sterile environment, and that bacterial colonization starts during birth. The microbiome of a newborn varies according to mode of delivery: the microbiome of vaginally delivered infants is like the maternal vaginal microbiome and that of infants delivered by cesarean section resembles the maternal skin microbiome. Various other factors affect the developing neonatal microbiome such as premature birth and mode of feeding. The major determinant of gut microbiome composition throughout adulthood seems to be diet. Fast changes in microbiome composition happen in response to changes in dietary intake. Characteristic patterns are noticeable in plant-based versus animal-based diets.   The development and alteration of the gut microbiome are affected by multiple other factors as well. Exposure to stress ranks as the second most important factor (after diet) affecting the gut microbiome composition, according to a search in the CAS Content Collection. Other factors include: mode of delivery and infant feeding method, environmental conditions, medications, stage and mode of lifecycle, comorbid diseases, and medical procedures (Figure 2). A disruption to the microbiota homeostasis caused by an imbalance in their functional composition and metabolic activities, or a shift in their local distribution is termed dysbiosis, indicating microbial imbalance or maladaptation.

Diagram of major factors affecting gut microbiome
Figure 2.  Major factors affecting gut microbiome

Considering the now recognized significant role of diet on gut microbiome composition, and the vital impact of the gut microbiome on health, the million-dollar question remains: –which diet is beneficial and thus recommendable to keep our gut bacteria happy? Although there is not a definitive unambiguous answer pointing out certain food as a specific illness remedy, some major guidelines have been figured out. A high-fiber diet specifically affects the gut microbiota. Dietary fiber can only be digested and fermented by enzymes from microbiota living in the colon. Short chain fatty acids are released because of fermentation, which lowers the pH of the colon. The highly acidic environment determines the type of microbiota that would survive. The lower pH limits the growth of certain harmful bacteria such as Clostridium difficile. High-fiber foods such as inulin, starches, gums, pectins, and fructooligosaccharides have become known as prebiotics because they feed our beneficial microbiota. In general, high amounts of such prebiotic fibers are found in fruits, vegetables, beans, and whole grains like wheat, oats, and barley. Another highly beneficial class of foods contains probiotics, live bacteria that are good for the digestive system and may further amend our gut microbiome. These include fermented foods such as kefir, yogurt with live active cultures, pickled vegetables, kombucha tea, kimchi, miso, and sauerkraut.

Gut microbiota participants

The human gut microbiota is divided into many groups called phyla. The gut microbiota primarily comprises four main phyla including Firmicutes, Bacteriodetes, Actinobacteria, and Proteobacteria, with the Firmicutes and Bacteroidetes representing 90% of gut microbiota. The majority of bacteria reside within the gastrointestinal tract, with most predominantly anaerobic bacteria housed in the large intestine (Figure 3).  

Illustration of gut microbiota participant bacteria
Figure 3.  Gut microbiota participant bacteria 

The gut-brain axis – gut microbiome as the “second brain”

It is now well established that gut and brain are in constant bidirectional communication, of which the microbiota and its metabolic production are a major component. Michael Gershon called the digestive system “the second brain” in his 1999 book , at the time when scientists were beginning to realize that the gut and the brain in humans were engaged in constant dialogue and the gut microbes significantly modulate brain function. 

It is now a common belief that gut microbiota communicates with the central nervous system through neural, endocrine, and immune routes, and thereby controls brain function. Studies have demonstrated a substantial role for the gut microbiota in the regulation of anxiety, mood, cognition, and pain. Thus, the emerging concept of a microbiota–gut–brain axis suggests that modulation of the gut microbiota may be an effective strategy for developing novel therapeutics for central nervous system disorders.

Gut microbiota and COVID-19

Recently, correlation has been reported between gut microbiota composition and levels of cytokines and inflammatory markers in patients with COVID-19.  It is suggested that the gut microbiome is involved in the magnitude of COVID-19 severity via modulating host immune responses. Moreover, the gut microbiota dysbiosis could contribute to persistent symptoms even after disease resolution, emphasizing a need to understand how gut microorganisms are involved in inflammation and COVID-19.

Gut microbial neuroactive metabolites

Abnormalities in the gut microbiota-brain axis have come out as a key factor in the pathophysiology of neural disease, therefore increasing amount of research is devoted to understanding the neuroactive potential of the products of gut microbial metabolism. Thus, major neuroactive gut microbial metabolites have appeared as follows.


Gut microbiome produces neurotransmitters, which regulate brain activity. The majority of central nervous system neurotransmitters are also present in the gastrointestinal tract, where they exercise local effects such as modulating gut motility, secretion, and cell signaling. Members of the gut microbiota can synthesize neurotransmitters, e.g., Lactobacilli and Bifidobacteria produce GABA; Escherichia coli produce serotonin and dopamine; Lactobacilli produce acetylcholine.  (Figure 4) They signal the brain via the vagus nerve.

Chemical structures of neurotransmitters produced by gut microbiome
Figure 4.  Neurotransmitters produced by gut microbiome

Short-chain fatty acids

Short-chain fatty acids are small organic compounds produced in the cecum and colon by anaerobic fermentation of dietary carbohydrates that feed other bacteria and are readily absorbed in the large bowel.  Short-chain fatty acids are involved in digestive, immune and central nervous system function, though different viewpoints regarding their impact on behavior exist.  The three most abundant short-chain fatty acids produced by gut microbiome are acetate, butyrate, and propionate (Figure 5).  Their administration was demonstrated to alleviate symptoms of depression in mice.  Gram-positive, anaerobic bacteria which ferment dietary fibers to produce short-chain fatty acids are Faecalibacterium and Coprococcus bacteria.  Faecalibacteria are abundant gut microbes, with significant immunological roles and clinical relevance for a variety of diseases, including depression. 

Chemical structures of short-chain fatty acids produced by gut microbiome
Figure 5.  Short-chain fatty acids produced by gut microbiome


Tryptophan metabolites 

Tryptophan is an essential amino acid participating in protein synthesis. Its metabolic breakdown by bacterial enzymes (tryptophanase) give rise to neuroactive molecules with established mood-modulating properties, including serotonin, kynurenine, and indole (Figure 6). It has been found that dietary intake of tryptophan can modulate central nervous system concentrations of serotonin in humans, and that tryptophan depletion aggravates depression.

Chemical structures of Tryptophan, its metabolites, and lactic acid produced by gut microbiome
Figure 6.  Tryptophan, its metabolites, and lactic acid produced by gut microbiome

Lactic acid

Lactic acid (Figure 6) is an organic acid developing mainly from the fermentation of dietary fibers by lactic acid bacteria (e.g., L. lactis, L. gasseri, and L. reuteri), Bifidobacteria and Proteobacteria. Lactates can be converted by several bacterial species to short-chain fatty acids contributing to the total short-chain fatty acid pool. Lactic acid is absorbed into the bloodstream and can cross the blood-brain barrier. Lactic acid has a well-recognized role in central nervous system signaling in the brain. Due to its ability to be metabolized into glutamate, it is used as an energy substrate by neurons. It also contributes to synaptic plasticity and triggers memory development.


Most bacteria in the gut, such as Lactobacillus and Bifidobacterium, synthesize vitamins (particularly from the group of B-vitamins and vitamin K) as part of their metabolism in the large intestine. Humans rely on the gut microbiota for vitamin production. Vitamins are key micronutrients with ubiquitous roles in a multitude of physiological processes in the human body, including the brain. Active transporters bring them across the blood-brain barrier. In the central nervous system, their role spreads from energy homeostasis to neurotransmitter production. Vitamin deficiencies can have a significant negative effect on neurological function. Folic acid (vitamin B9) is a vitamin of microbial origin that has been extensively implicated in the pathology of depression. 


A recent innovative investigational treatment, fecal microbiota transplantation, has been tested in clinical trials and found extremely therapeutically promising. In the last five years, ~1,000 documents related to fecal transplants have been included each year in the CAS Content Collection. For example, it has been reported that fecal microbiota transplantation is able to resolve 80-90% of infections caused by recurrent Clostridioides difficile that does not respond to antibiotics. The unique implications for clinical trials using fecal microbiota transplants, which are increasingly investigated as potential treatments for a range of diseases, need to be promptly explored. 

At present, research into the modulation of the gut-brain axis via the gastrointestinal microbiota is an emerging innovative, frontline science. A large portion of the data available is based on either basic science or animal models that may not be adaptable to effective human interventions. Therefore, individualized prescriptions of specific prebiotic compounds and probiotic strains that would represent the ideal of personalization for nutrition and lifestyle medicine remain hopeful. Ongoing efforts to further characterize the functions of the microbiome and the mechanisms underlying host-microbe interactions will provide a better understanding of the role of the microbiome in health and disease.

For more on how emerging trends and new approaches are helping the millions of people who suffer from depression, anxiety, and PTSD see our blog on psychedelics and their progress as a therapeutic approach.

Back to top