Our analysis identified five genes—HK2, NDUFS4, NEU1, SOD1, and UCP2—whose expression in distinct immune populations had significant causal effects on MDD risk. Here, UCP2 is linked to major depressive disorder.