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, HK2 is linked to depressive disorder.