Taxonomy and systematics
The taxonomy of the ichneumonids is still poorly known. The family is highly diverse, containing 24,000 described species. Approximately 60,000 species are estimated to exist worldwide, though some estimates place this number at over 100,000. They are severely undersampled, and studies of their diversity typically produce very high numbers of species which are represented by only a single individual. Due to the high diversity, the existence of numerous small and hard to identify species, and the majority of species being undiscovered, it has proven difficult to resolve the phylogeny of the ichneumonids. Even the relationships between subfamilies are unclear. The sheer diversity also means DNA sequence data is only available for a tiny fraction of the species, and detailed cladistic studies require major computing capacity.
Extensive catalogues of the ichneumonids include those by Aubert, Gauld, Perkins, and Townes. Due to the taxonomic difficulties involved, however, their classifications and terminology are often confusingly contradictory. Several prominent authors have gone as far as to publish major reviews that defy the International Code of Zoological Nomenclature.
The large number of species in Ichneumonidae may be due to the evolution of parasitoidism in Hymenoptera, which occurred approximately 247 million years ago. Ichneumonidae is the basal branch of Apocrita, which together with Orussoidea makes up the lineage in which parasitoidism in Hymenoptera evolved, and some ichneumonids are thought to have been in stasis for millions of years and closely resemble the common ancestor in which parasitoidism evolved. This common ancestor was likely an Ectoparasitoid woodwasp that parasitized wood-boring beetle larvae in trees. However, this has been disputed as early fossil ichneumonoids (such as Praeichneumonidae, Tanychorinae, Eoichneumoninae, and Protorhyssalinae) have ovipositors that are only a few millimeters long. Therefore, it has been proposed that they make unlikely candidates for parasitoids of wood-boring hosts. The family has existed since at least the Early Cretaceous (c. 125 mya), but probably appeared already in the Jurassic (c. 181 mya), soon after the appearance of its major host groups. It diversified during the Oligocene.