The evolution of altruism and spite is facilitated by positive and negative assortments, respectively. Animals repeatedly meet the same opponents and can choose to keep or terminate the interaction. Previous studies have showed that if the probability that the interaction stops depends on how the pairs are, then a positive assortment can emerge, encouraging the evolution of altruism in dyadic interactions and in interactions involving more than two individuals. In contrast, according to another previous study if the probability that the interaction stops depends on how the pairs are, then a negative assortment can emerge, encouraging the evolution of spite in dyadic interactions. Is the evolution of spite facilitated by interactions involving more than two individuals, in addition to dyadic interactions? The present study shows that the evolution of spite in interactions involving many individuals is possible by studying the repeated n-player game played using spiteful and nonspiteful strategies with opting-out options. These results suggest that spite in large groups may evolve through an opt-out mechanism. It also promotes the investigation about whether there are any examples of spiteful behavior in large groups that have evolved through negative assortment in opt-out options in nature.