Compared with the HC group, the MDD, ID, and iMDD groups exhibited significant increases in CD3+ and CD4+ T cell percentages, accompanied by a marked reduction in NK cells (p < 0.01). Here, CD4 is linked to major depressive disorder.