Spearman’s correlation analysis showed that different microbial communities (Corynebacterium, Faecalibaculum, Enterorhabdus, Desulfovibrio) correlation with differential metabolites (Cholic acid, Deoxycholic acid, etc.)and depression-related biochemical indicators (5-HT, DA, BDNF, IL-6, and TNF-α). The gene discussed is TNF; the disease is major depressive disorder.