Scale-up of human immunodeficiency virus (HIV) testing and antiretroviral therapy (ART) for people living with HIV has been increasing in sub-Saharan Africa. As a result, areas with high HIV prevalence are finding a declining proportion of people testing positive in their national testing programmes. In eastern and southern Africa, where there are settings with adult HIV prevalence of 12% and above, the positivity from national HIV testing services has dropped to below 5%. Identifying those in need of ART is therefore becoming more costly for national HIV programmes. Annual target-setting assumes that national testing positivity rates approximate that of population prevalence. This assumption has generated an increased focus on testing approaches which achieve higher rates of HIV positivity. This trend is a departure from the provider-initiated testing and counselling strategy used early in the global HIV response. We discuss a new indicator, treatment-adjusted prevalence, that countries can use as a practical benchmark for estimating the expected adult positivity in a testing programme when accounting for both national HIV prevalence and ART coverage. The indicator is calculated by removing those people receiving ART from the numerator and denominator of HIV prevalence. Treatment-adjusted prevalence can be readily estimated from existing programme data and population estimates, and in 2019, was added to the World Health Organization guidelines for HIV testing and strategic information. Using country examples from Kenya, Malawi, South Sudan and Zimbabwe we illustrate how to apply this indicator and we discuss the potential public health implications of its use from the national to facility level.