Here, we show that absence of Batf2 could dampen over-inflamed immunological state leading to resistance against tuberculosis and listeriosis in mice. This evidence concerns the gene BATF2 and tuberculosis.