This study supports SDG 1, 3, and 6 and by assessing socioeconomic determinants of leprosy risk in over 33 milion Brazilian individuals and providing a robust assessment of the contribution of deprivation to the risk of leprosy, which is classified as a rare disease.