Collective cell migration is essential for morphogenesis, tissue remodelling and cancer invasion. In vivo, groups of cells move in an orchestrated way through tissues. This movement involves mechanical as well as molecular interactions between cells and their environment. While the role of molecular signals in collective cell migration is comparatively well understood, how tissue mechanics influence collective cell migration in vivo remains unknown. Here we investigated the importance of mechanical cues in the collective migration of the Xenopus laevis neural crest cells, an embryonic cell population whose migratory behaviour has been likened to cancer invasion. We found that, during morphogenesis, the head mesoderm underlying the cephalic neural crest stiffens. This stiffening initiates an epithelial-to-mesenchymal transition in neural crest cells and triggers their collective migration. To detect changes in their mechanical environment, neural crest cells use mechanosensation mediated by the integrin-vinculin-talin complex. By performing mechanical and molecular manipulations, we show that mesoderm stiffening is necessary and sufficient to trigger neural crest migration. Finally, we demonstrate that convergent extension of the mesoderm, which starts during gastrulation, leads to increased mesoderm stiffness by increasing the cell density underneath the neural crest. These results show that convergent extension of the mesoderm has a role as a mechanical coordinator of morphogenesis, and reveal a link between two apparently unconnected processes-gastrulation and neural crest migration-via changes in tissue mechanics. Overall, we demonstrate that changes in substrate stiffness can trigger collective cell migration by promoting epithelial-to-mesenchymal transition in vivo. More broadly, our results raise the idea that tissue mechanics combines with molecular effectors to coordinate morphogenesis