• QFY treatment inhibited activation of the NF-κB-NLRP3 pathway by regulating gut microbial SCFAs that, in turn, facilitate recovery of mice from bacterial pneumonia. This evidence concerns the gene NLRP3 and bacterial pneumonia.