International audienceBackground: Overall increases in the uptake of HIV testing in the past two decades might hide discrepancies across socioeconomic groups. We used data from population-based surveys done in sub-Saharan Africa to quantify socioeconomic inequalities in uptake of HIV testing, and to establish trends in testing uptake in the past two decades.Methods: We analysed data from 16 countries in sub-Saharan Africa where at least one Demographic and Health Survey was done before and after 2008. We assessed the country-specific and sex-specific proportions of participants who had undergone HIV testing in the previous 12 months across wealth and education groups, and quantified socioeconomic inequalities with both the relative and slop...