The study focuses on over-time change in anti-immigrant attitudes across European societies and on the role played by cohorts in producing the change in attitudes. We assembled data from four waves of the European Social Surveys for 14 countries between 2002 and 2014. The data analysis is conducted within the framework of a hierarchical age-period-cohort model (HAPC) to estimate the dynamic relations between anti-immigrant sentiment and country's social and economic conditions, while taking into consideration variations across individuals and birth-cohorts. The analysis lends support to expectations derived from the ‘competitive threat’ theoretical model. The findings show that a higher share of non-European ethnic minorities in the country's population is associated with a higher level of ant-immigrant attitudes. Anti-immigrant sentiment was found to be more pronounced in the ‘old immigration countries’ than in the ‘new immigration countries.’ The impact of economic conditions on anti-immigrant sentiment becomes evident through the effect of cohort in the ‘new immigration countries’: cohorts that entered the labor market when the unemployment rate was high are likely to hold more negative attitudes toward immigrants.