To investigate the protective mechanisms of hydrogen sulfide (H2S) in sepsis-induced acute kidney injury (SAKI), we conducted an in vivo study using a SAKI mouse model induced by intraperitoneal lipopolysaccharide (LPS) injection. Following 6 h of LPS injection, levels of tumor necrosis factor-alpha (TNF-α) and blood urea nitrogen (Bun) were significantly elevated in mouse plasma. In the kidneys of SAKI mice, expression of H2S-generating enzymes cysteinyl-tRNA synthetase (CARS), cystathionine γ-lyase (CSE) and cystathionine β-synthase (CBS) was markedly downregulated, while glucose-regulated protein 78 (GRP78), activating transcription factor 6 (ATF6), phosphorylated protein kinase R-like endoplasmic reticulum kinase/protein kinase R-like endoplasmic reticulum kinase (p-PERK/PERK), and B-cell lymphoma-2 recombinant protein X/B-cell lymphoma-2 (Bax/Bcl2) expression was significantly upregulated. H2S improved renal function and attenuated renal histopathological changes in SAKI mice, thereby alleviating LPS-induced endoplasmic reticulum stress (ERS). Additionally, it inhibited the expression of p-PERK/PERK and Bax/Bcl2. After inhibiting CSE activity with dl-propargylglycine (PPG i. p.), the renal tissue pathology in LPS-induced AKI mice was further exacerbated, leading to enhanced activation of the PERK/Bax-Bcl2 pathway. Our findings suggest that endogenous H2S influences the pathogenesis of SAKI, while exogenous H2S protects against LPS-induced AKI by inhibiting the PERK/Bax-Bcl2 pathway involved in ERS.