Four diagnostic genes (ULK1, MAPK14, WIPI1, and DUSP1), and a MDD diagnostic model was constructed, which demonstrated good predictive performance in both the training and validation sets. Here, MAPK14 is linked to major depressive disorder.