Overall, our study suggests that IL-7 and transcriptional factors Id3 and Bcl6 help the TB subunit vaccine to induce long-term immune memory, which contributes to providing immune protection against M. tuberculosis infection. This evidence concerns the gene ID3 and tuberculosis.