A female okapi at Disney's Animal Kingdom.

The okapi /oʊˈkɑːpiː/ (Okapia johnstoni), is a giraffid artiodactyl mammal native to the northeast of the Democratic Republic of the Congo in Central Africa. Although the okapi bears striped markings reminiscent of zebras, it is most closely related to the giraffe. The okapi and the giraffe are the only living members of the family Giraffidae. The okapi stands about 1.5 m (4.9 ft) tall at the shoulder and has an average body length of about 2.5 m (8.2 ft). Its weight ranges from 200 to 350 kg (440 to 770 lb). It has a long neck, and large, flexible ears. Its coat is a chocolate to reddish brown, much in contrast with the white horizontal stripes and rings on the legs and white ankles. Male okapis have short, hair-covered horns called ossicones, less than 15 cm (5.9 in) in length. Females possess hair whorls, and ossicones are absent.

Okapis are primarily diurnal but may be active for a few hours in darkness. They are essentially solitary, coming together only to breed. Okapis are herbivores, feeding on tree leaves and buds, grasses, ferns, fruits, and fungi. Rut in males and estrus in females does not depend on the season. In captivity, estrous cycles recur every 15 days. The gestational period is around 440 to 450 days long, following which usually a single calf is born. The juveniles are kept in hiding, and nursing takes place infrequently. Juveniles start taking solid food from three months, and weaning takes place at six months.

Okapis inhabit canopy forests at altitudes of 500–1,500 m (1,600–4,900 ft). They are endemic to the tropical forests of the Democratic Republic of the Congo, where they occur across the central, northern and eastern regions. The International Union for the Conservation of Nature and Natural Resources(IUCN) classifies the okapi as Endangered. Major threats include habitat loss due to logging and human settlement. Extensive hunting for bushmeat and skin and illegal mining have also led to a decline in populations. The Okapi Conservation Project was established in 1987 to protect okapi populations.

The scientific name of the okapi is Okapia johnstoni. It was first described by British zoologist Ray Lankester in 1901. The generic name Okapia derives from the Lese Karo name o'api, while the specific name (johnstoni) is in recognition of the British Governor of Uganda, Sir Harry Johnston, who first acquired an okapi specimen for science from the Ituri Forest while repatriating a group of Pygmies to the Belgian Congo. The animal was brought to prominent European attention by speculation on its existence found in press reports covering Henry Morton Stanley's journeys in 1887. Remains of a carcass were later sent to London by the English adventurer and colonial administrator Harry Johnston and became a media event in 1901.

In 1901, zoologist Philip Sclater presented a painting of the okapi before the Zoological Society of London that depicted its physical features with some clarity. There was much confusion regarding the taxonomical status of this newly discovered animal. Sir Harry Johnston himself called it a Helladotherium, or a relative of other extinct giraffids. Based on the description of the okapi by Pygmies, who referred to it as a "horse", Sclater named the species Equusjohnstoni. Subsequently, Lankester declared that the okapi represented an unknown genus of Giraffidae, which he placed in its own genus Okapia, and assigned the name Okapia johnstoni to the species.

In 1902, Swiss zoologist Charles Immanuel Forsyth Major suggested the inclusion of O. johnstoni in the extinct giraffid subfamily Palaeotraginae. However, the species was placed in its own subfamily Okapiinae, by Swedish palaeontologist Birger Bohlin in 1926, mainly due to the lack of a cingulum, a major feature of the palaeotragids. In 1986, Okapia was finally established as a sister genus of Giraffa on the basis of cladistic analysis. The two genera together with Palaeotragus constitute the tribe Giraffini.

The earliest members of Giraffidae first appeared in the Early Miocene in Africa, having diverged from the superficially deer-like climacoceratids. Giraffids spread into Europe and Asia by the middle Miocene in a first radiation. Another radiation began in the Pliocene but was terminated by a decline in diversity in the Pleistocene. Several important primitive giraffids existed more or less contemporaneously in the Miocene (23-10 million years ago), including CanthumeryxGiraffokeryxPalaeotragus and Samotherium. According to palaeontologist and author Kathleen Hunt, Samotherium split into Okapia (18 million years ago) and Giraffa (12 million years ago). However, another author J. D. Skinner argued that Canthumeryx gave rise to the okapi and giraffe through the latter three genera and that the okapi is the extant form of Palaeotragus. The okapi is sometimes referred to as an example of a living fossil, as it has existed as a species over a long geological time period, and morphologically resembles more primitive forms (e.g. Samotherium)

The okapi is a medium-sized giraffid, standing 1.5 m (4.9 ft) tall at the shoulder. Its average body length is about 2.5 m (8.2 ft) and its weight ranges from 200 to 350 kg (440 to 770 lb). It has a long neck, and large and flexible ears. The coat is a chocolate to reddish brown, much in contrast with the white horizontal stripes and rings on the legs and white ankles. The striking stripes make it resemble a zebra. These features serve as an effective camouflage amidst dense vegetation. The face, throat and chest are greyish white. Interdigital glands are present on all four feet, and are slightly larger on the front feet. Male okapis have short, hair-covered horns called ossicones, less than 15 cm (5.9 in) in length. The okapi exhibits sexual dimorphism, with females 4.2 cm (1.7 in) taller on average, slightly redder and lacking prominent horns, instead possessing hair whorls.

The okapi shows several adaptations to its tropical habitat. The large number of rod cells in the retina facilitate night vision, and there is an efficient olfactory system. The large auditory bullae lead to a strong sense of hearing. The dental formula of the okapi is Teeth are low-crowned, fine-cusped and efficiently cut tender foliage. The large caecum and colon help in microbial digestion, and a quick rate of food passage allows for lower cell wall digestion than in other ruminants.

The okapi can be easily distinguished from its nearest extant relative, the giraffe. It is much smaller and shares more external similarities with the deer and bovids than with the giraffe. While both sexes possess horns in the giraffe, only males bear horns in the okapi. The okapi has large palatine sinuses, unique among the giraffids. Morphological similarities shared between the giraffe and the okapi include a similar gait - both use a pacing gait, stepping simultaneously with the front and the hind leg on the same side of the body, unlike other ungulates that walk by moving alternate legs on either side of the body - and a long black tongue (longer in the okapi) useful in plucking buds and leaves as well as for grooming.

Okapis are primarily diurnal but may be active for a few hours in darkness. They are essentially solitary, coming together only to breed. They have overlapping home ranges and typically occur at densities of about 0.6 animals per square kilometre. Male home ranges average 13 km2 (5.0 sq mi) while female home ranges average 3–5 km2 (1.2–1.9 sq mi). Males migrate continuously, while females are sedentary. Males often mark territories and bushes with their urine, while females use common defecation sites. Grooming is a common practice, focused at the earlobes and the neck. Okapis often rub their neck against trees, leaving a brown exudate.

The male is protective of his territory, but allows females to pass through the domain to forage. Males visit female home ranges at the time of breeding. Although generally tranquil, the okapi can kick and butt with its head to show aggression. As the vocal cords are poorly developed, vocal communication is mainly restricted to three sounds - "chuff" (contact calls used by both sexes), "moan" (by females during courtship) and "bleat" (by infants under stress). Individuals may engage in Flehmen response, a visual expression in which the animals curls back its upper lips, displays the teeth and inhales through the mouth for a few seconds. The leopard is the main predator of the okapi.