ABCB1 rs2032582 was significantly associated with lymphopenia risk (OR = 2.23, 95%CI = 1.07–4.67, P = 0.033; multivariable analysis). Here, ABCB1 is linked to lymphopenia.