The host specificity of a parasite is not merely a function of how many host species it can exploit, but also of how closely related these host species are to each other. Here, a new index of host specificity is proposed, one that takes into account the average taxonomic or phylogenetic distance between pairs of host species used by a parasite. The index is derived from measures of taxonomic distinctness used in biodiversity studies. It is easy to compute and interpret, ranging from a minimum value of 1 when all host species are members of the same genus, to a maximum of 5, when all host species belong to different classes. The variance of this measure can also be computed, and provides additional information on the taxonomic or phylogenetic structure of the host assemblage. Using data on helminth parasites of Canadian freshwater fishes, we show that the new index, unlike the mere number of known host species, is independent of study effort i.e. the number of published records of a parasite. Although the index and the number of known hosts are not entirely independent statistically, each captures a different aspect of host specificity. For instance, although acanthocephalans infect significantly more host species than trematodes, cestodes or nematodes, there is no difference in the average index value among these 4 helminth taxa, suggesting that the average taxonomic distances between the host species of a parasite do not vary among these higher taxa. We recommend the use of our new index in future comparative studies of host specificity, in particular when the focus is on the evolutionary history of parasites and of their past colonizations of host lineages.