We found that some HLA types are associated with irAEs of different organs and detected a significant association between HLA-DRB3*01:01 and thrombocytopenia (OR 3.48 (1.19,9.42), p = 0.011), HLA-DPB1*04:02 and hypokalemia/hyponatremia (OR 3.44 (1.24,9.1), p = 0.009), leukopenia (OR 2.1 (0.92,4.8), p = 0.037), anemia (OR 2.33 (1.0,5.41), p = 0.026), HLA-A*26:01 and bilirubin elevation (OR 2.67 (0.92,8.31), p = 0.037). The gene discussed is HLA-DPB1; the disease is Decreased total leukocyte count.