This innovative study addresses the prevalent issue of sports injuries, particularly focusing on ankle injuries, utilizing advanced analytical tools such as artificial intelligence (AI) and machine learning (ML). Employing a logistic regression model, the research achieves a remarkable accuracy of 90.0%, providing a robust predictive tool for identifying and classifying athletes with injuries. The comprehensive evaluation of performance metrics, including recall, precision, and F1-Score, emphasizes the model’s reliability. Key determinants like practicing sports with injury risk and kinesiophobia reveal significant associations, offering vital insights for early risk detection and personalized preventive strategies. The study’s contribution extends beyond predictive modeling, incorporating a predictive factors analysis that sheds light on the nuanced relationships between various predictors and the occurrence of injuries. In essence, this research not only advances our understanding of sports injuries but also presents a potent tool with practical implications for injury prevention in athletes, bridging the gap between data-driven insights and actionable strategies.