Correction to: Nature Human Behaviour https://doi.org/10.1038/s41562-023-01770-y, published online 5 February 2024.

In the version of the article initially published, three citations were missing from the sixth paragraph and have now been added as references 24–26: Wang, Q., Phillips, N. E., Small, M. L. & Sampson, R. J. Urban mobility and neighborhood isolation in America’s 50 largest cities. Proc. Natl Acad. Sci. USA 115, 7735–7740 (2018); Xu, Y., Belyi, A., Santi, P. & Ratti, C. Quantifying segregation in an integrated urban physical-social space. J. R. Soc. Interface 16, 20190536 (2019); and Moro, E., Calacci, D., Dong, X. & Pentland, A. Mobility patterns are associated with experienced income segregation in large US cities. Nat. Commun. 12, 4633 (2021). The references have been inserted in the HTML and PDF versions of the article.