Huoxiang Zhengqi Oral Liquid (HZOL) is a classic Chinese patent medicine used in China for more than 1,000 years in treating gastrointestinal and respiratory diseases. Clinically applied HZOL in early respiratory disease stages can reduce the proportion of lung infection patients that progress to severe acute lung injury (ALI). However, few pharmacological studies evaluated its level of protection against ALI. We explored mechanisms of HZOL against ALI by employing network pharmacology, molecular docking, and rat experiments. Firstly, network pharmacology prediction and published biological evaluation of active ingredients of HZOL suggested that HZOL exerted the protective effect in treating ALI mainly in the areas of regulation of cell adhesion, immune response, and inflammatory response and closely related to the NF‐κB pathway. Secondly, molecular docking results demonstrated that imperatorin and isoimperatorin combined well with targets in the NF‐κB pathway. Finally, ALI rats induced by lipopolysaccharides (LPS) were used to validate prediction after pretreatment with HZOL for 2 weeks. Results confirmed that lung and colon injury occurred in ALI rats. Furthermore, HZOL exerts anti‐inflammatory effects on LPS‐induced ALI and gut injury by repairing lung and colon pathology, reducing and alleviating pulmonary edema, inhibiting abnormal enhancement of thymus and spleen index, modulating hematologic indices, and increasing levels of total short‐chain fatty acids (SCFAs) in the cecum. Additionally, abnormal accumulation of inflammatory cytokines IL‐6, IL‐1β, TNF‐α, and IFN‐γ in serum and bronchoalveolar lavage fluid was significantly reduced after pretreating with HZOL. Furthermore, HZOL downregulated the expression of TLR4, CD14, and MyD88 and phosphorylation of NF‐κB p65 in lung tissue. Altogether, HZOL was found to exert an anti‐inflammatory effect regulation by increasing levels of SCFAs, inhibiting the accumulation of inflammatory cytokines, and attenuating the activation of the TLR4/NF‐κB p65 pathway. Our study provided experimental evidences for the application of HZOL in preventing and treating ALI.