This pilot study reveals CD4 T cell alterations in T2D that likely worsen TB outcomes. This evidence concerns the gene CD4 and tuberculosis.