Aphid soldiers, altruistic larvae that protect the colony from predators, are an example of highly social behaviour in an insect group with a natural history different from the eusocial Hymenoptera and Isoptera. Aphids therefore allow independent tests of theory developed to explain the evolution of eusociality. Although soldiers have been discovered in five tribes from two families, the number and pattern of origins and losses of soldiers is unknown due to a lack of phylogenetic data. Here I present a mtDNA based phylogeny for the Hormaphididae, and test the hypothesis that soldiers in the tribe Cerataphidini produced during two points in the life cycle represent independent origins. The results support this hypothesis. In addition, a minimum of five evolutionary events, either four origins and one loss or five origins, are required to explain the distribution of soldiers in the family. The positions of the origins and losses are well resolved, and this phylogeny provides an historical framework for studies on the causes of soldier aphid evolution.