These results suggest that IL-1β secreted due to NLRP3 inflammasome activation is critical for the control of intracellular M. kansasii, and that caspase-1 most likely affects infection indirectly, through processing of IL-1β. This evidence concerns the gene NLRP3 and infection.