At present, the behavior of employees has gradually become a key point to improving the competitiveness of enterprises. Meanwhile, under the influence of leaders, colleagues, families and employees' own development, the pressure of employees has become a common phenomenon. This pressure is bound to affect the behavior of employees, and even cause employees to perform counterproductive work behaviors to damage the interests of enterprises. Based on self‐determination theory, this study builds a model with a mediator and a moderator focusing on stress and counterproductive work behavior. A total of 223 valid samples were successfully collected through a temporally lagged design and multi‐source survey. The collected data was used to examine the impact of challenge and hindrance stressors on employee's counterproductive work behaviors through harmonious passion, and the moderating role of team ethical climate. Results proved that challenge and hindrance stressors have a significant negative impact on counterproductive work behaviors through harmonious passion. Moreover, harmonious passion is a complete mediator between challenge stressors and counterproductive work behaviors. At the same time, the impact of challenge stressors on harmonious passion could be negatively moderated by team ethical climate, which means that when team ethical climate is higher, the impact of challenge stressors on harmonious passion would be weaker.