The combination of the XGBoost model with the SHAP is an effective tool for predicting the risk of CSFL during lumbar fusion surgery. Its implementation could aid clinicians in making informed decisions, potentially enhancing patient outcomes and lowering healthcare expenses. This study advocates for the adoption of this approach in clinical settings to enhance the evaluation of CSFL risk among patients undergoing lumbar fusion.