Why do some urban governing regimes realize a more equal distribution of public goods than others? Local government interventions in São Paulo, Brazil, have produced surprisingly effective redistribution of residential public goodshousing and sanitationbetween 1989 and 2016. I use original interviews and archival research for a comparative-historical analysis of variation across time in São Paulo's governance of housing and sanitation. I argue that sequential configurations of a) "embeddedness" of the local state in civil society and b) the "cohesion" of the institutional sphere of the local state, explain why and when urban governing regimes generate the coordinating capacity to distribute public goods on a programmatic basis. I further illustrate how these configurations can explain variation in urban governing regimes across the world. Keywords Bureaucracy . Governance . Housing . Movements . Sanitation . Urban inequality From a "new urban crisis" (Florida, 2017) in the United States, to a "planet of slums" (Davis, 2006) across the globe, unequal access to public goods pervades urban life. The scholarly tendency has been to explain urban exclusions as determined by the structural role of cities in the globalized integration of markets (Brenner & Theodore, 2002). Even so, democracy creates the possibility for alternative distributions of social power to address inequalities (Usmani, 2018). Explaining the distribution of public goods in democratic cities begs for variation-finding approaches. Why do some urban governing regimes realize a more equal distribution of public goods than others?This article proposes conceptual tools for answering this question through a comparative and historical study of a "least likely case" (Gerring, 2005) for improvements in including previously excluded residents into the built environment of public goods in the city. São Paulo, Brazil, the fourteenth most populous city in the world, grewTheory and Society