Our results indicate that ongoing HIV replication (suboptimal HIV control) is an important risk factor for TB, independent of CD4 count. Here, CD4 is linked to tuberculosis.