IntroductionLeptospirosis is a globally distributed zoonotic and environmentally mediated disease that has emerged as a major health problem in urban slums in developing countries. Its aetiological agent is bacteria of the genusLeptospira, which are mainly spread in the urine of infected rodents, especially in an environment where adequate sanitation facilities are lacking, and it is known that open sewers are key transmission sources of the disease. Therefore, we aim to evaluate the effectiveness of a simplified sewerage intervention in reducing the risk of exposure to contaminated environments andLeptospirainfection and to characterise the transmission mechanisms involved.Methods and analysisThis matched quasi-experimental study design using non-randomised intervention and control clusters was designed to assess the effectiveness of an urban simplified sewerage intervention in the low-income communities of Salvador, Brazil. The intervention consists of household-level piped sewerage connections and community engagement and public involvement activities. A cohort of 1400 adult participants will be recruited and grouped into eight clusters consisting of four matched intervention-control pairs with approximately 175 individuals in each cluster in baseline. The primary outcome is the seroincidence ofLeptospirainfection assessed through five serological measurements: one preintervention (baseline) and four postintervention. As a secondary outcome, we will assessLeptospiraload in soil, before and after the intervention. We will also assessLeptospiraexposures before and after the intervention, through transmission modelling, accounting for residents' movement, contact with flooding, contaminated soil and water, and rat infestation, to examine whether and how routes of exposure forLeptospirachange following the introduction of sanitation.Ethics and disseminationThis study protocol has been reviewed and approved by the ethics boards at the Federal University of Bahia and the Brazilian National Research Ethics Committee. Results will be disseminated through peer-reviewed publications and presentations to implementers, researchers and participating communities.Trial registration numberBrazilian Clinical Trials Registry (RBR-8cjjpgm).