Intensive Care Unit (ICU) delirium is a cerebral syndrome characterized by acute disturbance of consciousness, with an incidence of 38%-87%. The occurrence of delirium can lead to prolonged hospital stay, accidental extubation rate, mortality and other adverse consequences. Therefore, early identification of delirium and active correction of reversible causes appear to be particularly important. At present, the risk prediction models for delirium in ICU constructed at home and abroad mainly use logistic regression to build delirium risk prediction models for patients admitted to ICU≥24h. However, studies have found that as many as 25% of critically ill patients will develop delirium within 24h of admission to ICU. Therefore, it is particularly important to construct a delirium early warning model for patients entering ICU24h. Logistic regression model has low processing efficiency for non-linear and interactive data, and can not intuitively show the importance of each variable in the predicted result. As a non-parametric statistical method, decision tree can overcome the disadvantages of Logistic regression model and build a better prediction model. Therefore, this study used 24h after admission to ICU as the segmentation point to build a decision tree model for predicting early and late delirium in ICU patients, forming a corresponding risk level system, and compared it with similar delirium models to verify the predictive value of the decision tree model for early and late delirium in ICU patients, providing a basis for the formulation of further intervention and nursing plans. Thereby reducing the incidence of ICU delirium.