Models of social conflict in animal societies generally assume that within-group conflict reduces the value of a communal resource. For many animals, however, the primary cost of conflict is increased mortality. We develop a simple inclusive fitness model of social conflict that takes this cost into account. We show that longevity substantially reduces the level of within-group conflict, which can lead to the evolution of peaceful animal societies if relatedness among group members is high. By contrast, peaceful outcomes are never possible in models where the primary cost of social conflict is resource depletion. Incorporating mortality costs into models of social conflict can explain why many animal societies are so remarkably peaceful despite great potential for conflict.