Based on the abovementioned data, here we demonstrated for the first time that 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. Here, NLRP3 is linked to bacterial pneumonia.