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, DPP4 is linked to depressive disorder.