Xanthocercis is a tree genus in the family Fabaceae. Species include:
Xanthocercis madagascariensis Baill. - Madagascar
Xanthocercis rabiensis Maesen
Xanthocercis zambesiaca (Baker) Dumaz-le-Grand (Mashatu tree) - Malawi, Mozambique, South Africa, Zambia and ZimbabweMembers of this genus accumulate hydroxypipecolic acids and iminosugars in their leaves.