Although Africa has experienced rapid urbanization in recent decades, know little about the process of urbanization across the continent. The paper exploits a natural experiment, the abolition of South African pass laws, to explore how exogenous population shocks affect the spatial distribution of economic activity.