PurposeDespite the growing interest regarding companies' sustainability, its social dimension has mostly been neglected by academics and practitioners. Consequently, this study aims to address this issue by investigating if the adoption of human resource (HR) analytics can positively influence the impact of social sustainable operations practices (SSOP) on employees' motivation and engagement and the effect of these lasts on organizational retention.Design/methodology/approachData were collected through online questionnaires addressed to 281 HR managers of heterogeneous companies from Europe and analyzed through a structural equation modeling (SEM) technique.FindingsThe findings confirmed the positive effect of SSOP on employees’ motivation and engagement, and of these last on employees’ retention. Furthermore, they confirmed that the usage of HR analytics positively moderates the relationship between SSOP and employees’ motivation and engagement.Originality/valueThis study contributes to both sustainable operations management and HR management literature streams. First, it adopts a multidisciplinary perspective which also considers evidence from HR management literature, allowing the authors to concentrate on the social dimension of sustainability. Second, it provided further insight regarding the adoption of a data-driven approach in relation to social sustainable operations management. Finally, it contributes to HR analytics-related literature by demonstrating its impact also on organizational aspects that are not directly controlled by the HR department.