This dataset includes parts of two studies: the Kharitode study and the STOMP-TB study. The Kharitode study is a cluster-randomized controlled trial of tuberculosis contact investigation against facility-based screening in Limpopo Province, South Africa. It includes participants above 15 years of age who presented with tuberculosis symptoms at the 28 primary health clinics randomized to facility-based screening between July 2016 and January 2018. The STOMP-TB study is population-based tuberculosis survey, conducted in Kampala, Uganda. It includes adult participants above 15 years of age who presented with tuberculosis symptoms at four healthcare facilities between May 2018 and December 2019.