This present research aims to clarify the intricate conjunction of enterprise social media (ESM) utilization and employee agility with a main focus on uncovering the underlying mechanisms that work through the mediating influence of work engagement and the moderating influence of regulatory focus. Drawing upon regularity focus theory, 353 Chinese samples of ESM users in organizational contexts are analyzed using SPSS 23.0. The empirical findings substantiate a robust and significant positive linkage between ESM usage and worker agility. Further reinforcing the model, the mediating role of work engagement is established as it channels the impact of ESM usage on worker agility. Turning to the moderating effects, the study unveils the differential impact of prevention focus and promotion focus, wherein individuals with a lower prevention focus exhibit a more pronounced positive linkage between ESM usage and worker agility. Similarly, individuals with a higher promotion focus demonstrate a heightened positive association between ESM usage and worker agility. By comprehensively inspecting the intricate dynamics of ESM usage, work engagement, and regulatory focus, this study enhances our theoretical understanding of how these factors synergistically shape employee agility, ultimately furnishing organizations with invaluable insights to foster and cultivate an agile workforce.