Our findings indicated that diazepam can inhibit LPS-induced pyroptosis and inflammatory responses and alleviate pulmonary fibrosis in mice by regulating the let-7a-5p/MYD88 axis. This evidence concerns the gene MYD88 and pulmonary fibrosis.