To investigate whether signal transducer and activator of transcription (STAT1/3/5) have a protective effect on hyperoxia-induced acute lung injury (HALI) and its mechanism. Seventy C57BL/6J mice were randomly divided into five groups: normoxia control group, HALI group, and STAT1/3/5 inhibitor groups, with 14 mice in each group. The HALI model was established by exposure to more than 90% hyperoxia for 48 hours; three STAT inhibitor groups were pretreated by intraperitoneal injection of STAT1 inhibitor 40 mg/kg and STAT3 inhibitor 5 mg/kg, and STAT5 inhibitor 10 mg/kg for 1 week. Six blood samples were randomly collected from each group, and microRNA-21 (miR-21) expression was measured by quantitative real-time reverse transcription-polymerase chain reaction (RT-PCR). Lung tissue of the sacrificed mice was obtained, and enzyme linked immunosorbent assay (ELISA) was used to detect the contents of tumor necrosis factor-α (TNF-α), interleukins (IL-6, IL-1β), superoxide dismutase (SOD), malonic dialdehyde (MDA), and matrix metalloproteinase 9 (MMP9). The water content of lung tissue was calculated. The pathological changes in lung tissue were observed under the light microscope, and the pathological score of lung injury was performed. Western blotting was used to detect the expression of phosphorylated STAT (p-STAT1, p-STAT3, p-STAT5) in lung tissue. The 7-day cumulative survival rates of the remaining 8 mice in each group were analyzed using Kaplan-Meier survival curves. Under the light microscope, the alveolar structures in the HALI group and the STAT1 inhibitor group were destroyed, a large number of neutrophils (NEU) infiltrated in the alveoli and lung interstitium, which were thickened. The pathological score of lung injury and the water content of the lung tissue was significantly increased. In STAT3 inhibitor and STAT5 inhibitor groups, the alveolar cavity was clear, the degree of NEU infiltration and the thickness of lung interstitium were lower than those in HALI group, the pathological score of lung injury and the water content of lung tissue were significantly decreased, especially in STAT3 inhibitor group. Compared with the normoxia control group, the contents of TNF-α, IL-6, IL-1β, MDA, and MMP9, and the expression levels of p-STAT3 and p-STAT5 in the HALI group were significantly increased. In contrast, the content of SOD and the expression of miR-21 were significantly decreased. Compared with the HALI group, the contents of TNF-α, IL-6, IL-1β, MDA, and MMP9 in the STAT3 inhibitor group and STAT5 inhibitor group were significantly decreased. At the same time, the content of SOD and the expression of miR-21 were significantly increased, especially in STAT3 inhibitor group [TNF-α (μg/L): 42.53±3.25 vs. 86.36±5.48, IL-6 (ng/L): 68.46±4.28 vs. 145.00±6.89, IL-1β (μg/L): 28.74±3.53 vs. 68.00±5.64, MDA (μmol/g): 20.33±2.74 vs. 42.58±3.45, and MMP9 (ng/L): 128.55±6.35 vs. 325.13±6.65, SOD (kU/g): 50.53±4.19 vs. 22.53±3.27, miR-21 (2-ΔΔCt): 0.550±0.018 vs. 0.316±0.037, all P < 0.05]. Kaplan-Meier survival curve analysis showed that the 7-day cumulative survival rates of the STAT3 inhibitor group and STAT5 inhibitor group were significantly higher than those of the HALI group [62.5% (5/8), 37.5% (3/8) vs. 12.5% (1/8), both P < 0.05]. Inhibition of STAT3 hyperactivation may suppress the inflammatory response, regulate oxidative stress, improve lung permeability through regulating the expression of miR-21, which exert lung protection in HALI.