Peficitinib is a selective Janus kinase (JAK3) inhibitor recently developed and approved for the treatment of rheumatoid arthritis in Japan. Glycolysis in macrophages could induce NOD-like receptor (NLR) family and pyrin domain-containing protein 3 (NLRP3) inflammasome activation, thus resulting in pyroptosis and acute lung injury (ALI). The aim of our study was to investigate whether Peficitinib could alleviate lipopolysaccharide (LPS)-induced ALI by inhibiting NLRP3 inflammasome activation. Wild type C57BL/6J mice were intraperitoneally injected with Peficitinib (5 or 10 mg·kg−1·day−1) for 7 consecutive days before LPS injection. The results showed that Peficitinib pretreatment significantly relieved LPS-induced pulmonary edema, inflammation, and apoptosis. NLRP3 inflammasome and glycolysis in murine lung tissues challenged with LPS were also blocked by Peficitinib. Furthermore, we found that the activation of JAK3/signal transducer and activator of transcription 3 (STAT3) was also suppressed by Peficitinib in mice with ALI. However, in Jak3 knockout mice, Peficitinib did not show obvious protective effects after LPS injection. In vitro experiments further showed that Jak3 overexpression completely abolished Peficitinib-elicited inhibitory effects on pyroptosis and glycolysis in LPS-induced RAW264.7 macrophages. Finally, we unveiled that LPS-induced activation of JAK3/STAT3 was mediated by toll-like receptor 4 (TLR4) in RAW264.7 macrophages. Collectively, our study proved that Peficitinib could protect against ALI by blocking JAK3-mediated glycolysis and pyroptosis in macrophages, which may serve as a promising candidate against ALI in the future.