London’s eight million inhabitants regularly connect with almost twice the number of people as Cambridge’s 100,000 residents. This increasing exposure to people – and hence to ideas, activities, and even diseases – could explain the impact of city size on socioeconomic outcomes.