Boscia albitrunca, commonly known as the shepherd tree or shepherd's tree (Afrikaans: Witgat, Sotho: Mohlôpi, Tswana: Motlôpi, Venda: Muvhombwe, Xhosa: Umgqomogqomo, Zulu: Umvithi), is a protected tree in South Africa.
The species epithet "albitrunca" refers to the oftentimes white trunk. Traditionally, the shepherd tree was used by Dutch settlers, "boers", to create a variant of coffee that is derived from the roots of the tree. It is an evergreen tree native to southern and tropical Africa, living in the hot, dry, and often brackish low-lying areas, sometimes on abundant lime or occasionally found in rocky terrain. It is a common tree of the Kalahari, bushveld and lowveld. It is one of the most important forage trees in the Kalahari.