Objective To analyze the influencing factors for drug-induced kidney injury(DIKI)in patients with chron-ic hepatitis B(CHB)receiving tenofovir disoproxil fumarate(TDF)therapy and to construct a risk prediction model.Methods A multicenter retrospective study was conducted,enrolling hospitalized CHB patients who received TDF antiviral therapy at five tertiary hospitals in Hubei Province from January 2020 to August 2024.Nine machine learning algorithms,including Logistic Re-gression,Random Forest,eXtreme Gradient Boosting(XGBoost),Support Vector Machine,K-Nearest Neighbors,Decision Tree,Naive Bayes,Neural Network,and Gradient Boosting Machine,were employed to construct prediction models.Model per-formance was evaluated using accuracy,precision,recall andthe area under the receiver operating characteristic curve(AUC)based on test dataset metrics.Results A total of 3 595 patients were included,among whom 77.3%were male,with a median age of 54 years.The incidence of TDF-related kidney injury was 5.17%(186/3 595).Ten core predictive variables were selected by the Boruta algorithm:estimated glomerular filtration rate(eGFR),total cholesterol,fibrinogen,albumin,prothrombin time,serum chloride,serum calcium,total bilirubin,uric acid,and serum sodium.Models built on the training set(n=2945)showed that XGBoost achieved the best performance.Validation on the test set yielded a precision of 0.885-0.951,an accuracy of 0.939-0.975,a recall of 0.913-0.957,and an AUC of 0.587-0.728,indicating good model stability and clinical applicability.Conclusions TDF therapy is significantly associated with the risk of kidney injury,which is influenced by baseline renal func-tion,comorbidities,concomitant medications,laboratory findings,and other factors.The risk prediction model based on the XG-Boost algorithm can be used for early clinical identification of high-risk patients,providing a reference for individualized medica-tion.