These results suggest that enhancement of NLRP3 function ameliorates mycoplasmal pneumonia by suppressing secondary infection by other pathogens. Here, NLRP3 is linked to infection.