PurposeUnderpinned by paradox theory, this study aims to investigate how and when intragroup cooperation and competition combine to drive individual creativity. It further examines how group goal orientation influences individuals’ creative processes by underscoring its effect on individuals' tendency to adopt a paradox lens.Design/methodology/approachA time-lagged survey was conducted with 85 leaders and 420 employees in Chinese high-tech companies that were actively engaged in innovative activities.FindingsThe results reveal that pure cooperation or pure competition exerts no significant influence on creativity, yet simultaneous high levels of cooperation and competition give rise to strong levels of creativity. This combined effect of cooperation and competition on employees' creativity could be explained by their changes in cognitive flexibility. Moreover, employees' flexible responses to high levels of cooperation and competition could be promoted when groups enact learning goals rather than performance goals.Originality/valueThis study provides a theoretical perspective on how cooperation and competition can be contingent upon each other. It also highlights the role of group learning goals when members strive to be creative in groups with high levels of competition and cooperation.