The systematic detention of migrants at the US-Mexico border; the UK’s wrongful deportation of 7 000 foreign students accused of cheating on a language test. What do these examples have in common? In both cases, an algorithm made a decision with serious consequences for people’s lives. Nearly 70 million people are currently on the move due to conflict, environmental factors, and economic reasons. Many states and international organisations involved in migration management are exploring machine learning to increase efficiency and support border security. These experiments range from big data predictions about population movements in the Mediterranean, to Canada’s use of automated decision-making in immigration applications, to AI lie detectors deployed at European airports. Most of these experiments fail to account for the far-reaching impacts on lives and human rights. These unregulated technologies are developed with little oversight, transparency, and accountability.