We investigate whether anti-immigrant attitudes affect migrant inflows in Organisation for Economic Co-operation and Development (OECD) countries. Using longitudinal exhaustive data, we find that natives' hostility, particularly natives' propensity to discriminate on the labor market, reduces immigration. This effect is comparable to more conventional migration factors. We obtain robust results when we, for example, capture hostility with far-right parties' popularity instead and control for tighter immigration policies or multilateral resistance to migration. We find a stronger effect for EU-to-EU migrants, migrants from developed countries and linguistically close countries. Our results 1 We are indebted to the current editor and the previous editor of the International Migration Review and the anonymous referees for particularly insightful comments and suggestions. We would also like to thank David Card, Elke Jahn, Vibeke Jakobsen, Lena Nekby, Giovanni Peri, and Lars Skipper for other valuable and constructive comments on earlier versions of this paper. Earlier versions of this paper were presented at seminars at