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. The gene discussed is WIPI1; the disease is major depressive disorder.