Inflammation-induced apoptosis of alveolar type II epithelial cells is a primary contributor to sepsis-induced acute respiratory distress syndrome (ARDS). Klotho is a single-pass transmembrane protein with anti-inflammatory and anti-apoptotic effects. However, the role and mechanism of Klotho in the development of ARDS remains unknown. This study aimed to investigate the effect of Klotho on sepsis-induced apoptosis in human pulmonary alveolar epithelial cells (HPAEpiCs) together with the potential mechanism. Cecal ligation and puncture (CLP) were performed to generate an in vivo sepsis model, and HPAEpiCs were treated with lipopolysaccharide (LPS) to mimic sepsis in vitro. Both models were administered recombinant Klotho protein. The morphology of the lung tissue was observed, and apoptotic cells and cell viability were detected. Interleukin (IL)-1β, IL-6, and tumor necrosis factor alpha (TNF-α) levels were detected using enzyme-linked immunosorbent assay (ELISA), while the expression of Bcl-2, Bax and cleaved caspase-3 was detected with western blotting. Klotho reversed the CLP-induced decrease in mouse survival in vivo (p < 0.001) and increased inflammatory cell infiltration and inflammatory substance exudation in the lung tissue of mice with sepsis (both p < 0.001). Klotho also suppressed apoptosis (p < 0.001) as demonstrated by IL-1β, IL-6 and TNF-α expression (all p < 0.001), and Bcl-2/Bax/caspase-3 pathway activation (p < 0.001). Klotho pretreatment significantly prevented LPS-induced apoptosis in vitro (p < 0.001), as demonstrated by IL-1β, IL-6 and TNF-α upregulation (all p < 0.001); and Bcl-2/Bax/caspase-3 pathway activation in HPAEpiCs (p < 0.001). This study demonstrated that Klotho can ameliorate acute lung injury (ALI) induced by sepsis by inhibiting inflammatory responses and exerting anti-apoptotic effects by suppressing Bcl-2/Bax/caspase-3 pathway activation.