Patients with a CD4 cell count greater than 500 cells/μl and prior stay in prison were more likely to have a diagnosis of LTBI by TST and/or QFG and/or T-SPOT.TB (adjusted odds ratio [aOR]: 3.8; 95% CI, 1.4 – 9.9; and aOR: 3.3; 95% CI, 1.3 – 8.3, respectively). This evidence concerns the gene CD4 and tuberculosis.