Abstract
A large body of research in psychology and political science shows that multilingualism predicts immigrant tolerance. I argue that this pattern may be explained by the cognitive and affective effects of code-switching. Specifically, the act of language switching itself may (i) increase perspective-taking or (ii) heighten the inclination to override intuitive responses (System 1) in favor of deliberate ones (System 2). Alternatively, switching into a non-dominant language may (iii) dampen the influence of affective processes when evaluating immigrants. In a survey experiment with 1,266 multilingual speakers in Malaysia, participants who were assigned to switch languages during the survey expressed more tolerant attitudes toward immigrants. Code-switching did not, however, increase perspective-taking or cognitive control. Instead, the effect was largest among respondents who switched into a non-dominant language, which is consistent with emotional distancing. The findings underscore the pivotal role that language plays in shaping political attitudes toward immigrants.

![Author ORCID: We display the ORCID iD icon alongside authors names on our website to acknowledge that the ORCiD has been authenticated when entered by the user. To view the users ORCiD record click the icon. [opens in a new tab]](https://preprints.apsanet.org/engage/assets/public/apsa/logo/orcid.png)