Avian pathogenic Escherichia coli (APEC) is the causative agent of chicken colibacillosis. Paeoniflorin, a natural ingredient extracted from Paeonia lactiflora, has a variety of pharmacological effects including anti-inflammatory and immunomodulatory. However, its effects and mechanism in APEC-induced acute lung injury (ALI) in chicken is not clear. The aim of this study was to investigate the protective effect of paeoniflorin on APEC-induced ALI and its possible mechanism. Paeoniflorin (25, 50, and 100 mg/kg) was administered by gavage for 5 d starting at 9 d of age and the chicken were infected with APEC by intraperitoneal injection at 12 d of age. The tissues were collected after APEC infection for 36 h for analysis. The results showed that paeoniflorin significantly alleviated the symptoms, increased the survival rate and body weight gain of APEC-infected chicken, and improved the histopathological damages, and reduced APEC loads in lung tissues. In addition, paeoniflorin restored the gene expression of ZO-1, Occludin and Claudin-3 during APEC infection. Moreover, paeoniflorin pretreatment significantly affected the endocannabinoid system (ECs) by increasing DAGL, decreasing MAGL, increasing secretion of 2 -AG. Then, paeoniflorin significantly decreased the secretion of IL -1 b, IL -6 and TNF- a in lung tissues, and decreased the mRNA expression of CXCL8, CXCL12, CCL1, CCL5, and CCL17. In addition, paeoniflorin significantly reduced the phosphorylation levels of PI3K, AKT, P65, and I kB. In summary, we found that paeoniflorin inhibited APEC-induced ALI, and its mechanism may be through affecting ECs and inhibiting the activation of PI3K/AKT and NF- kB signaling pathways, which provides a new idea for the prevention and treatment of chicken colibacillosis.