This study investigates the factors influencing the severity of accidents at highway-rail grade crossings in the United States and explores strategies to mitigate the risks to road vehicle drivers. Two approaches are employed for modeling accident severity: statistical methods, such as multinomial logistic regression, and machine learning techniques, including Extreme Gradient Boosting (XGBoost) and random forest algorithms. The analysis is based on data from the Federal Railroad Administration’s database, covering a twelve-year period (2010-2022). The results identify several key controllable factors that significantly impact accident severity, including vehicle speed, the position of road users, visibility obstructions, the number of cars in the train, and the speed of the train. Among the models tested, XGBoost demonstrated superior accuracy in predicting accident severity compared to multinomial logistic regression and random forest. Based on the findings, several recommendations are proposed to reduce accident risk at grade crossings, such as lowering train speeds, implementing advanced speed control systems, enhancing lighting at crossings, improving barrier inspections, and optimizing train scheduling. These measures aim to enhance safety and minimize collision severity at highway-rail crossings.