Background In a world increasingly stressed by climate change and scarcity of natural resources, the prosocial behaviors of new generations become increasingly essential, especially when aimed at sustainability. This study aims to investigate the gamified system applied to the game-based educational program BLUTUBE, designed to promote better practices regarding virtuous water usage in the primary schools of the Municipality of Lucca. Methods We analyze the self-reported sustainable behaviors of almost 800 students of the 2nd, 3rd, and 4th grades, using a survey about water consumption and awareness of related topics. We examine the association between the increase in the self-reported prosocial behaviors, which occurs after the end of the educational program, and participation in different activities - measured by the number of accumulated points - stimulated through gamification. Results We find that higher participation in gamified activities corresponds more likely to a higher increase in reported sustainable behaviors. Moreover, we observe that this result is led by specific activities - playing the board game Blutube at school, playing the urban game, and taking pictures of virtuous actions - rather than others - playing the board game at home. Lastly, given the difference between genders in the perceived benefits from gamification, we find that males increase more their awareness about sustainable behaviors by playing more the board game than females. In contrast, females raise their awareness when playing the urban game more. Discussion We suggest that playing the board game in a broader social context, such as school, can enhance the perception of children’s behaviors’ impacts on the external environment. Also, to effectively promote sustainable behaviors, educators should consider using game-based learning materials that incorporate rewards mechanisms into the activities. Conclusions This work sheds light on the relationship between gamification and pro-environmental behaviors, laying the ground for future research.