Not carrying KIR2DL3 (aOR = 0.18, P = 0.03) and carrying HLA-C*07 (aOR = 0.32, P = 0.04) were associated with protection against TB onset among HIV-infected patients. Here, HLA-C is linked to tuberculosis.