IntroductionGeriatric patients with dementia incur higher healthcare costs and longer hospital stays than other geriatric patients. We aimed to identify risk factors for hospitalization outcomes that could be mitigated early to improve outcomes and impact overall quality of life.MethodsWe identified risk factors, that is, demographics, hospital complications, pre‐admission, and post‐admission risk factors including medical history and comorbidities, affecting hospitalization outcomes determined by hospital stays and discharge dispositions. Over 150 clinical and demographic factors of 15,678 encounters (8407 patients) were retrieved from our institution's data warehouse. We further narrowed them down to twenty factors through feature selection engineering by using analysis of variance (ANOVA) and Glmnet. We developed an explainable machine‐learning model to predict hospitalization outcomes among geriatric patients with dementia.ResultsOur model is based on stacking ensemble learning and achieved accuracy of 95.6% and area under the curve (AUC) of 0.757. It outperformed prevalent methods of risk assessment for encounters of patients with Alzheimer's disease dementia (ADD) (4993), vascular dementia (VD) (4173), Parkinson's disease with dementia (PDD) (3735), and other unspecified dementias (OUD) (2777). Top identified hospitalization outcome risk factors, mostly from medical history, include encephalopathy, number of medical problems at admission, pressure ulcers, urinary tract infections, falls, admission source, age, race, anemia, etc., with several overlaps in multi‐dementia groups.DiscussionOur model identified several predictive factors that can be modified or intervened so that efforts can be made to prevent recurrence or mitigate their adverse effects. Knowledge of the modifiable risk factors would help guide early interventions for patients at high risk for poor hospitalization outcome as defined by hospital stays longer than seven days, undesirable discharge disposition, or both. The interventions include starting specific protocols on modifiable risk factors like encephalopathy, falls, and infections, where non‐existent or not routine, to improve hospitalization outcomes of geriatric patients with dementia.Highlights A total 15,678 encounters of Geriatrics with dementia with a final 20 risk factors.Developed a predictive model for hospitalization outcomes for multi‐dementia types.Risk factors for each type were identified including those amenable to interventions.Top factors are encephalopathy, pressure ulcers, urinary tract infection (UTI), falls, and admission source.With accuracy of 95.6%, our ensemble predictive model outperforms other models.