We mapped coastal hardening associated with 30 international urban centres and, using machine-learning algorithms, developed a model to forecast the regional expansion of 4 globally common coastal infrastructure types. We applied this model to New Zealand for anticipating regional distributions and future hotspots of socioecological risks over a 25-year period.