We screened depression-related DEGs in the GEO database and combined them with the TCMSP database in this study and concluded that the occurrence of depression was closely related to changes in SPP1, SERPINE1, CCNB1, CCL3, and other genes. Here, SPP1 is linked to major depressive disorder.