This article asks what shaped immigrant policy in the 50 states between 2005 and 2011. Theoretically, politicians are influenced by electoral considerations as they craft laws. Law-makers consider both current public opinion and how the electorate is likely to change, at least in the near future. Empirically, the article analyses an original dataset on immigrant-related laws enacted by the states with a Bayesian spatial conditionally autoregressive model. The analysis shows that state immigrant policy is affected primarily by legislative professionalism, electoral ideology, state wealth and change in the foreign-born population.