Acute kidney injury (AKI) is a common complication in critically ill cirrhotic patients with substantial mortality. Given AKI can be prevented via early detection, it is urgent to develop an easy model to identify high-risk patients. A total of 1149 decompensated cirrhotic (DC) patients from the eICU Collaborative Research Database were enrolled for model development and internal validation. The variables used for analysis mainly included laboratory tests. We first built an ensemble model (random forest, gradient boosting machine, K-nearest neighbor, and artificial neural network) named DC-AKI using machine learning methods. Based on the Akaike Information Criterion (AIC), we then constructed a risk score, which was externally validated in 789 DC patients from the Medical Information Mart for Intensive Care database. AKI developed in 212 (26%) of 804 patients in the derivation cohort and 355 (45%) of 789 patients in the external validation cohort. DC-AKI identified the 8 variables most strongly associated with the outcome: serum creatinine (sCr), total bilirubin, magnesium, shock index (SI), prothrombin time, mean corpuscular hemoglobin, lymphocytes and arterial oxygen saturation (SaO2 ). Based on the smallest AIC, a 6-variable model was eventually used to construct the scoring system (sCr, total bilirubin, magnesium, SI, lymphocytes and SaO2 ). The scoring system showed good discrimination with the AUROC of 0.805 and 0.772 in two validation cohorts. The scoring system using routine laboratory data was able to predict the development of AKI in critically ill cirrhotic patients. The utility of this score in clinical care requires further research. This article is protected by copyright. All rights reserved.