Cooperation in human interactions often involves voluntary participation rather than obligatory requirements. This paper investigates the impact of voluntary exit strategies on cooperation within scale-free networks, employing spatial prisoner’s dilemma games as the framework. We analyze three distinct exit strategies: leader priority exit, fringe priority exit, and random exit, across varying dilemma strengths. Our findings reveal that in scenarios of weak dilemma strength, leader priority exit significantly diminishes cooperation, particularly when only a small subset of players is granted exit rights. In contrast, under strong dilemma strength conditions, both leader priority and random exits serve to unexpectedly bolster cooperation. This enhancement is primarily facilitated by high-degree nodes opting out, thereby enabling low-degree nodes to establish stable cooperation. Furthermore, our study underscores the pivotal role of network structure. In assortative networks, random exit emerges as the most effective strategy in promoting cooperation. On the other hand, disassortative networks exhibit a substantial increase in cooperation levels when employing leader priority exit. These results highlight the intricate interplay between exit strategies, dilemma strength, and network topology, offering critical insights for promoting cooperation in varied social contexts.