PurposeThis study delves into the impact of mindfulness on the retention intention of technology employees, with a particular focus on the mediating variables of affective commitment (AC) and organizational identification (OI). The primary aim is to gain a comprehensive understanding of the underlying mechanisms through which mindfulness influences the retention intention of technology employees.Design/methodology/approachThe research employed a survey approach with self-administered questionnaires and structural equation modeling. The collected data were analyzed using Statistical Product and Service Solutions (SPSS) 24 and Analysis of Moment Structure (AMOS) 28. Multiple mediation analyses was conducted through AMOS to examine the mediating effects of OI and AC.FindingsThe association between mindfulness and retention intention among technology employees showed an overall positive correlation. Additionally, AC and OI were positively correlated with retention intention. In the impact of employee mindfulness (EM) on retention intention, all indirect effects were found to be significant.Originality/valueTo the best of the authors' knowledge, this study is the first to investigate the relationship between EM and retention intention, as well as the associations of AC and OI with them, extending the application of mindfulness in management and offering insights for talent retention among company decision-makers.