OBJECTIVESTo explore the relationship between base excess (BE), alactic BE (aBE), and the deterioration of kidney function in patients undergoing coronary artery bypass grafting (CABG) surgery.DESIGNA retrospective cohort study.SETTINGThe Medical Information Mart for Intensive Care IV (MIMIC-IV) database.PARTICIPANTSPatients undergoing CABG surgery.INTERVENTIONSNone.MEASUREMENTS AND MAIN RESULTSThe outcome was kidney function deterioration, including new-onset acute kidney injury (AKI) and increased severity of AKI. Univariate and multivariate logistic regression models were conducted to explore the associations between baseline BE, aBE levels, and kidney function deterioration in patients undergoing CABG surgery. Odds ratios (ORs) and 95% confidence intervals (CIs) are reported. Covariates were adjusted for, including sepsis, weight, pulse oximetry-derived oxygen saturation, Simplified Acute Physiology Score II, Charlson Comorbidity Index, partial thromboplastin time, vasopressor use, loop diuretics, blood infusions, and acetaminophen use. In total, 5,634 individuals were included who underwent CABG surgery. BE ≤2.61 (OR= 1.22, 95% CI: 1.05-1.41) and aBE ≤1.038 (OR = 1.19, 95% CI: 1.02-1.38) were related to the higher incidence of kidney function deterioration. aBE ≤1.038 (OR = 1.26, 95% CI: 1.01-1.57) was linked to a higher incidence of new onset of AKI. In patients who had AKI at baseline, BE ≤2.61 (OR = 1.88, 95% CI: 1.47-2.41) and aBE ≤1.038 (OR = 1.82, 95% CI: 1.42-2.33) were also related to increased odds of AKI recovery. The relationships between lower BE and aBE and higher odds of kidney function deterioration were also found in those aged ≥65 years, males, patients without chronic kidney disease, patients given vasopressors, and those not administered loop diuretics, nephrotoxic antibiotics, blood infusions, and acetaminophen.CONCLUSIONLower BE and aBE values are associated with an increased risk of kidney function deterioration in patients undergoing CABG surgery. BE and aBE could serve as early markers of kidney injury.