Higher CD4+ cell counts at first-line ART initiation were associated with lower risk of TB during second-line ART receipt (SHR = 0.97 per unit higher CD4+ cell count, 95%CI 0.95–0.99, p = 0.008). This evidence concerns the gene CD4 and tuberculosis.