11Oxytocin-like peptides have been implicated in the regulation of a wide range of 12 social behaviors across taxa. On the other hand, the social environment, which is 13 composed of conspecifics genotypes, is also known to influence the development of 14 social behavior, creating the possibility for indirect genetic effects. Here we used a 15 knockout line for the oxytocin receptor in zebrafish to investigate how the genotypic 16 composition of the social environment (E s ) interacts with the oxytocin genotype (G) 17 of the focal individual in the regulation of its social behavior. For this purpose, we 18 have raised wild-type or knock-out zebrafish in either wild-type or knock-out shoals 19 and tested different components of social behavior in adults. GxE s effects were 20 detected in some behaviors, highlighting the need to control for GxE s effects when 21 interpreting results of experiments using genetically modified animals, since the 22 social environment can either rescue or promote phenotypes associated with specific 23 genes. 24 25 Keywords: social genetic effects, indirect genetic effects, GxE interaction, oxytocin, 26 social behavior, zebrafish 27 28 29 30