BackgroundGiven that students from socio‐economically disadvantaged family backgrounds are more likely to suffer from low academic performance, there is an interest in identifying features of academic resilience, which may mitigate the relationship between disadvantaged socio‐economic status and academic performance.AimsThis study sought to combine machine learning and explainable artificial intelligence (XAI) technique to identify key features of academic resilience in mathematics learning during COVID‐19.Materials and MethodsBased on PISA 2022 data in 79 countries/economies, the random forest model coupled with Shapley additive explanations (SHAP) value technique not only uncovered the key features of academic resilience but also examined the contributions of each key feature.ResultsFindings indicated that 35 features were identified in the classification of academically resilient and non‐academically resilient students, which largely validated the previous academic resilient framework. Notably, gender differences were shown in the distribution of some key features. Research findings also indicated that resilient students tended to have a stable emotional state, high levels of self‐efficacy, low levels of truancy and positive future aspirations.DiscussionThis study has established a research paradigm essentially methodological in nature to bridge the gap between psychological theories and big data in the field of educational psychology.ConclusionTo sum up, our study shed light on the issues of education equity and quality from a global perspective in the times of the COVID‐19 pandemic.