Type 2 DM impairs the memory phenotype and polyfunctional profiles of Mtb-specific CD4+ and CD8+ T cells, which could influence the LTBI-DM immunopathology towards increased TB disease risk. Here, CD8A is linked to tuberculosis.