Nursing retention is a major challenge globally. Ongoing workforce instability across countries underscores the need to understand the factors influencing turnover and nursing retention. Trust is a crucial element in managing workplace relationships between nurse managers and nurses. Existing studies have shown the direct impact of trust on employees’ intention to leave their job but have not explored the effects of potential mediators such as organizational commitment. The aim of this study was to examine the impact of trust in the leader on nurses’ intention to leave their job through the mediation of organizational commitment. A cross-sectional study was conducted in Italy. A convenience sample of 1853 nurses completed a self-report survey. The study tested a hypothesis-based mediation model using structural equation modeling, which showed good fit indices. The results indicated that trust in the leader had a significant impact on nurses’ intention to leave, and this relationship was partially mediated by organizational commitment. Nurses who trust their leader are more likely to demonstrate higher levels of organizational commitment, resulting in a lower intention to leave their job. Furthermore, organizational commitment and trust emerge as critical factors in reducing nurses’ intention to leave their current positions. Therefore, managers can reduce nurses’ intention to leave by building trustful relationships that enhance organizational commitment.This study was not registered.