Several revisions in classifying the great apes have caused the use of the term "hominid" to vary over time. Its original meaning referred only to humans (Homo) and their closest extinct relatives. That restrictive meaning has now been largely assumed by the term "hominin", which comprises all members of the human clade after the split from the chimpanzees (Pan). The current, 21st-century meaning of "hominid" includes all the great apes including humans. Usage still varies, however, and some scientists and laypersons still use "hominid" in the original restrictive sense; the scholarly literature generally shows the traditional usage until around the turn of the 21st century.
Within the taxon Hominidae, a number of extant and known extinct, that is, fossil, genera are grouped with the humans, chimpanzees, and gorillas in the subfamily Homininae; others with orangutans in the subfamily Ponginae (see classification graphic below). The most recent common ancestor of all Hominidae lived roughly 14 million years ago, when the ancestors of the orangutans speciated from the ancestral line of the other three genera. Those ancestors of the family Hominidae had already speciated from the family Hylobatidae (the gibbons), perhaps 15 million to 20 million years ago.
In the early Miocene, about 22 million years ago, there were many species of arboreally adapted primitive catarrhines from East Africa; the variety suggests a long history of prior diversification. Fossils at 20 million years ago include fragments attributed to Victoriapithecus, the earliest Old World monkey. Among the genera thought to be in the ape lineage leading up to 13 million years ago are Proconsul, Rangwapithecus, Dendropithecus, Limnopithecus, Nacholapithecus, Equatorius, Nyanzapithecus, Afropithecus, Heliopithecus, and Kenyapithecus, all from East Africa.
At sites far distant from East Africa, the presence of other generalized non-cercopithecids, that is, non-monkey primates, of middle Miocene age—Otavipithecus from cave deposits in Namibia, and Pierolapithecus and Dryopithecus from France, Spain and Austria—is further evidence of a wide diversity of ancestral ape forms across Africa and the Mediterranean basin during the relatively warm and equable climatic regimes of the early and middle Miocene. The most recent of these far-flung Miocene apes (hominoids) is Oreopithecus, from the fossil-rich coal beds in northern Italy and dated to 9 million years ago.
Molecular evidence indicates that the lineage of gibbons (family Hylobatidae), the lesser apes, diverged from that of the great apes some 18–12 million years ago, and that of orangutans (subfamily Ponginae) diverged from the other great apes at about 12 million years. There are no fossils that clearly document the ancestry of gibbons, which may have originated in a still-unknown South East Asian hominoid population; but fossil proto-orangutans, dated to around 10 million years ago, may be represented by Sivapithecus from India and Griphopithecus from Turkey.