By identifying key molecules such as miR-21-5p, CASKIN1, and CSTB, our findings offer new biomarkers for the molecular mechanism, diagnosis, and treatment of MDD. Here, CSTB is linked to major depressive disorder.