The concept of ideological configuration is proposed to refer to a complex of ideological attitudes - Right-Wing Authoritarianism (RWA) and Social Dominance Orientation (SDO) - based on a shared core of derogation of outgroups. This concept is used in two surveys, in Chile and in Germany, to predict attitudes toward foreigners. Analyses using structural equation modeling (SEM) showed that a second-order factor involving RWA and SDO predicts hostility toward foreigners in Germany and affection toward Peruvian and Argentinean immigrants in Chile. This prediction was stronger in Germany than in Chile. The difference in strength is discussed in terms of the kind of measurements, different contexts of migration, and characteristics of the immigrants. Further research using the concept of ideological configuration is proposed.