By prioritizing UCP2, SOD1, HK2, NDUFS4, and NEU1, our findings highlight novel, immune-mediated pathways in depression and nominate promising targets for future diagnosis and therapeutic intervention. Here, UCP2 is linked to major depressive disorder.