Altogether, our results demonstrate that STAT3 is a dominant modulator of the immune response, controlling inflammation in M. tuberculosis-infected macrophages, which may be beneficial for the establishment of an intracellular niche for M. tuberculosis survival at the site of infection. This evidence concerns the gene STAT3 and infection.