Immunization with TB-MAPS induces long-lived systemic and tissue-resident CD4+ and CD8+ memory T cells. Here, CD4 is linked to tuberculosis.