Acute lung injury (ALI) caused by fat embolism syndrome (FES) is a disease with high mortality. This study aimed to explore the roles of ursodeoxycholic acid (UDCA) in FES-induced ALI and its underlying mechanisms. An ALI mouse model was established by allografting mouse perinephric fat. For in vitro experiments, human pulmonary microvascular endothelial cells (HPMEC) were treated with FFAs. The effects of UDCA on the expression of farnesoid X receptor (FXR) and the inflammatory response in endothelial cells were investigated. UDCA significantly inhibited the inflammatory response and the expression of proinflammatory markers during FES-induced ALI. UDCA markedly decreased TNF-α and IL-1β expression in vitro. UDCA administration markedly upregulated FXR expression and significantly reduced the phosphorylation of p38 MAPK and NF-κB p65. Knock down FXR expression decreased the effect of UDCA in vivo. Furthermore, knock down FXR expression and overexpressing FXR increased and decreased the inflammatory response, respectively, in vitro. Moreover, administration of a p38 MAPK activator reversed the anti-inflammatory effect of FXR overexpression. UDCA ameliorated inflammation during FES-induced ALI by suppressing p38 MAPK/NF-κB signalling and activating FXR. These findings provide new evidence for the potential of UDCA for FES-induced ALI treatment.