In the PPI network, DPP4, CYP3A4, EP300 MGAM and NR1H4 showed higher degrees and were identified as essential genes of intestinal microbiota influencing the occurrence of depression through the brain–gut axis. Here, NR1H4 is linked to major depressive disorder.