A higher risk for IRIS onset was associated with CD8 counts ≤ 500 cells/mm3 (aOR=12.32; P=0.010), the presence of extrapulmonary TB (aOR=6.6; P=0.038), and the CT genotype (aOR=61.06; P=0.026) or carrier allele T (aOR=61.06; P=0.026) in the AIM2 rs2276405 Single Nucleotide Polymorphism (SNP), whereas lower risk against IRIS onset was associated with the AT genotype (aOR=0.02; P=0.033) or carrier allele T (aOR=0.02; P=0.029) in the CARD8 rs2043211 Single Nucleotide Polymorphism (SNP) and the T-G haplotype (aOR=0.07; P= 0.033) in the CARD8 variants. This evidence concerns the gene CD8A and tuberculosis.