The Machine Learning approach is used in several application domains, and its exploitation in predicting accidents in occupational safety is relatively recent. The present study aims to apply different Machine Learning algorithms for classifying the occurrence or non-occurrence of accidents at work in the retail sector. The approach consists of obtaining an impact score for each store and work unit, considering two databases of a retail company, the preventive safety actions, and the action plans. Subsequently, each score is associated with the occurrence or non-occurrence of accidents during January and May 2023. Of the five classification algorithms applied, the Support Vector Machine was the one that obtained the best accuracy and precision values for the preventive safety actions. As for the set of actions plan, the Logistic Regression reached the best results in all calculated metrics. With this study, estimating the impact score of the study variables makes it possible to identify the occurrence of accidents at work in the retail sector with high precision and accuracy.