The gut microbiota regulates the function of the hippocampus, microglia, and astrocytes by regulating coding RNA, non‐coding RNA, and various signaling pathways, and also regulates BDNF expression and the immune inflammatory response related to depression, thus affecting the onset and development of depression. This evidence concerns the gene BDNF and major depressive disorder.