The relationship between immigration and terrorism is an important public policy concern. Using bilateral migration data for 170 countries from 1990 to 2015, we estimate the relationship between levels of immigration and terrorism using an instrumental variables (IV) strategy based on the decades prior stocks of immigrants in destination countries. We specifically investigate rates of immigration from Muslim majority countries and countries involved in armed conflicts. We find no relationship between immigration and terrorism, whether measured by the number of attacks or victims, in destination countries.