Legalising people’s migration status makes them more rather than less likely to return to their country of origin, researchers say, highlighting just one of the ways that science can contribute to the migration debate and guide policymakers in their long-term thinking.