Background: The vital signs of trauma patients are complex and changeable, and the prediction of blood transfusion demand mainly depends on doctors' experience and trauma scoring system; therefore, it cannot be accurately predicted. In this study, a machine learning decision tree algorithm (classification and regression tree, CRT and eXtreme gradient boosting, XGBoost) was proposed for the demand prediction of traumatic blood transfusion to provide technical support for doctors. Methods: A total of 1,371 trauma patients who were diverted to the emergency department from January 2014 to January 2018 were collected from an emergency trauma database. The vital signs, laboratory examination parameters and blood transfusion volume were used as variables, and the non-invasive parameters and all (non-invasive + invasive) parameters were used to construct an intelligent prediction model for RBC demand by logistic regression (LR), CRT and XGBoost. The prediction accuracy of the model was compared with the area under the curve (AUC).Results: The studies we performed showed that non-invasive parameters were used to predict blood transfusion. The LR method was the best, with an AUC of 0.72 (95% confidence interval [CI] 0.657-0.775), which was higher than the CRT AUC of 0.69 (95% CI 0.633-0.751) and the XGBoost AUC of 0.71 (95% CI 0.654-0.756) (P<0.05). The trauma site and shock index are important prediction parameters. For all the prediction parameters, XGBoost was the best, with an AUC of 0.94 (95% CI 0.893-0.981), which was higher than the LR AUC of 0.80 (95% CI 0.744-0.850) and the CRT AUC of 0.82 (95% CI 0.779-0.853) (P<0.05). Haematocrit/Haemoglobin is an important prediction parameter. Conclusions: The classification performance of the intelligent prediction model constructed by the decision tree algorithm is not inferior to that of the traditional LR method. With the increase in the data quantity, the accuracy of the model improved in the iteration process, and the prediction performance continuously improved, which is conducive to clinical application and wide promotion.