1 Introduction

The history of Brazil is marked by immigration. Colonized by Portugal [1], the country has been characterized as highly mixed, and has been populated by Italians, Japanese, Poles, Germans, Dutch, French, among others [2,3,4]. Although the data shows that immigrants, for the most part, choose the South and Southeast regions of Brazil [5], their presence is increasing in other regions, but with different profiles compared to past decades. In Recife, a city in Northeastern Brazil, it is common to find immigrants asking for money or food at traffic lights, an unlikely scenario in the first decade of 2000s. Up to 2011, the profile of foreigners in the country was mostly from the United States, Philippines, United Kingdom, India and Germany [6], while in 2022 they were from Venezuela, Haiti and Bolivia.

With the increase in the number of immigrants, discrimination became more frequent. One example of violence against immigrants was broadcasted in 2022: Moïse Kabahambe went to Brazil with his family in 2011 trying to escape from the civil war in the Democratic Republic of the Congo, and was beaten to death after asking for his late wage [7].

Opinion polls show that Brazilians have little knowledge about the reality of immigration in the country. The latest data available found that Brazilians believe the percentage of immigrants, compared to the total population, is around 30%, when in reality it is 0.4% [8]. Although this percentage is still low compared to the United States, Germany, France (or even neighboring countries such as Argentina, Mexico and Chile), the number of immigrants living in Brazil is approximately 1.5 million, considering the most recent data available—an amount that grows every year [9].

Previous research has found that social trust can ease tensions between natives and immigrants [10, 11]. Nevertheless, most analyses have been conducted in European democracies and the United States [12]; thus, we still know very little about the relationship between trust and attitudes towards immigrants in developing countries. Despite the growing flow of immigrants to Brazil and other immigration flows in the Global South [13], to the best of our knowledge, this is the first study analyzing social trust impacts on attitudes towards immigrants in Brazil.

But why is it important to observe the Brazilian case? Here we consider six main reasons: Firstly, few studies on the topic. As the country is considered more an emissary than a recipient of immigrants, studies on immigration to Brazil have focused on the historical flow, immigrants’ quality of life and housing [14], and the role of social capital in individual labor incomes [15]. Secondly, changes in the flow of immigrants as traditional receptors make immigration more difficult. For instance, the United States and many European countries have increased their barriers to the entry of immigrants, especially since 2016 [16], which may cause them to look for other alternatives and countries [17]. Thirdly, the increase in flows to Brazil. Whether due to the linguistic proximity or less bureaucracy, immigrant flows towards Brazil have been steadily increasing since 2017 (see Fig. 1), and the country has recorded the largest number of Venezuelan immigrants in Latin America [18]. In fourth place, from a substantive point of view, migration has been a more salient topic within the social and political arenas. Since 2017, the crisis in Venezuela has led thousands of immigrants to enter the country, putting pressure on the public health system and worrying Brazilian authorities [19]. In fifth place, for economic reasons. Despite being behind countries like Mexico, Argentina, Chile and Uruguay in GDP per capita [20], the country is among the fifteen largest economies in the world [21] and has big cities, such as São Paulo and Rio de Janeiro, that attract a considerable number of immigrants each year (see supplementary materials, figure S.1). Finally, due to Brazil’s low levels of social trust.

Fig. 1
figure 1

Source: Prepared by the authors based on data received from the International Migration Observatory (OBMIGRA)

Immigrant stock in Brazil from 2000 to 2021, by main emissaries (in thousands).

Social trust in Brazil is extremely low, even when compared to European countries with low trust rates or to other developing countries, such as South Africa. [13] has found that at least 51% of respondents believe that South Africans must be prioritized over immigrants when jobs are scarce, and 43% mentioned immigrants as undesirable neighbors. Comparatively, 93% of Brazilians declared they cannot trust most people [21]. Together, these six elements make Brazil an interesting case for migration literature.

Thus, this article aims to analyze if social trust can reduce negative attitudes towards immigrants. We hypothesize that greater generalized trust, as well as trust in foreigners, are related to a more positive attitude towards immigrants. Using the World Values Survey (WVS)Footnote 11 wave 7 (2017–2021), [22] we found a positive relationship, suggesting that social trust has an effect in reducing natives’ negative attitudes towards immigrants. The need to better understand this relationship is also crucial for policymakers, as it suggests that policies that encourage trust between natives and foreigners can reduce xenophobia in the country.

Section 2 frames our theoretical argument. The section also presents our testable hypotheses. Section 3 presents methodological aspects. Section 4 presents our empirical findings and Sect. 5 concludes our paper with our main considerations on the topic.

2 Theoretical framework and hypotheses

2.1 What drives attitudes towards immigrants?

The last decade has seen an increase in xenophobic discourses, especially in Europe and the United States. In 2015, during the presidential campaign, former president Donald Trump linked Mexican immigrants to problems such as drugs and crime [23]. In 2021, the French politician Marine Le Pen informed that, if she had won the presidential election, she would propose a referendum with strict criteria for immigrants who wanted access to French citizenship, social housing, employment, and social security benefits [24].

Such behaviors are not unique to developed countries. In 2018, on the eve of the elections, the governor of Roraima, Brazil, the state through which most Venezuelan immigrants pass, promised to close the border to immigrants. In short, immigrants are generally portrayed as an economic burden, responsible for encumbering the public machine through welfare programs, in addition to increasing local problems such as illegal drug trade and urban crime [25, 26].

There is not a unified theory of the drivers of attitudes toward immigrants. Multiple explanations are found in the literature, varying at individual, regional and national analytical levels. Our intention is not to present the state of the art in this topic, but to discuss and situate the argument presented in this work. [27] has identified at least eight predictors of attitudes towards immigrants: cultural marginality theory, human capital theory, political affiliation, societal integration, neighborhood safety, contact theory, foreign investment, and economic competition.

Starting with the cultural marginality theory, the argument is that greater cultural affinity leads to a more positive attitude towards immigrants. This theory assumes that immigration substantially modifies a country’s cultural structure. Such an impact is seen as a threat, as it would reduce national cultural characteristics in detriment of foreign characteristics [28]. In practical terms, according to this theory, when a citizen feels that his culture is being threatened by the increase in the immigration flow, that person tends to respond negatively in relation to immigrants [29].

The human capital theory states that the level of education is a good predictor of attitudes. Under this perspective, more educated people do not feel that they need to compete with immigrants for jobs, which would lead to a less negative attitude [30]. In a famous study, [31] show that more educated respondents are less racist and believe that immigration has beneficial effects on the economy.

The third theory, political affiliation, suggests that left-wing people have more positive attitudes towards immigrants than those to the right of the political spectrum [32]. [32] analyzed whether the presence of immigrants in Austrian communities affected voting for the far-right party Freedom Party of Austria (Freiheitliche Partei Osterreichs, FPÖ). The authors found that the party’s share of votes increased from 5% in the 1980s to 27% in the late 1990s. This percentage remained constant and the party attracted more than 20% of voters in the 2013 national elections. Furthermore, the authors found that the number of votes for the FPÖ increased in regions with greater immigration flows. In another study, [33] conducted a natural experiment in the Aegean islands, and tested whether exposure to refugees increases support for far-right parties. The authors show that, in municipalities and cities that experienced a sudden increase in the flow of immigrants, electoral support for the far-right parties increased.

The fourth theory, that of neighborhood safety, is linked to the uncertainties brought to society that are attributed to immigrants. The argument is based on the belief that foreigners, being supposedly poorer, tend to look for crime as an alternative to social ascension [34]. Thus, high rates of violence and crime would be associated with immigrants, and would generate a sense of insecurity. This theory is measured by how safe citizens feel walking around their neighborhood at night.

The fifth theory, contact theory, was originally formulated by [35]. It argues that greater contact between natives and immigrants can reduce aversion and negative attitudes. The idea is that, the more we acquire knowledge of “others”, the more we assimilate and empathize with them [36]. According to this perspective, regular contact between different groups could stimulate affective bonds, which could in turn help reduce negative perceptions [37].

The sixth and seventh theories use economic arguments as guiding attitudes. In the case of foreign investment, world-system theories imply that migration is a consequence of the process of resource and human capital exploitation by rich countries. When citizens of rich countries are informed by the media about these countries and the difficult conditions their citizens face, sensitivity increases, and more positive attitudes result. Economic indicators like per capita income and unemployment rate serve as the basis for the theory of economic competition. Lower-skilled workers would tend to express more negative attitudes out of fear that immigrants increase job competition and take their jobs [38].

Finally, our study is supported by the societal integration theory, which uses social trust as a predictor of attitudes. Under this perspective, when citizens have more trust towards each other and/or towards institutions, negative perceptions of immigrants decrease [39]. In the supplementary materials (table S.1) we provide a table with the eight key predictors used in this theory, as well as the level of measurement and references. In the next section we dive deeper into this debate and present our argument.

2.2 Social trust and attitudes towards immigrants

The conceptualization of social trust is a hard task. Studies prefer to approach social trust through its characteristics rather than by presenting a conclusive definition [40]. In general, social trust can be characterized by feelings of security and trust in the good intentions and good will of others [41]. The existence of trust implies the absence of perceived threat [42], where both sides seek out the best interests of each other and aim to achieve similar results [43]. Yet social trust can manifest itself in different ways. One can trust their parents, but not trust politicians, for instance; i.e., trust is not a unified feeling that is applied indistinctly. As it is a multidimensional concept, research identifies at least two types of social trust: particularized and generalized [44]. Particularized trust applies to people close to a person’s social life (e.g., friends and family), while generalized trust is abstract and encompasses people or groups that are not close or are not fully known to each other (for example, acquaintances). Thus, it is expected that trust is higher towards those who are closer [39].

As trust is a central element in human relationships—to the point that [45] claim it is a requirement for a cohesive society—there is a growing amount of studies on the topic. Yet much still needs to be explored regarding social trust as a predictor of attitudes towards immigrants [46]. When constructing our argument we took the advice of [47], who suggest caution when observing that the literature operationalizes social trust both as an effect (dependent variable) and as a cause (independent variable).

Some studies assume that the social heterogeneity brought about by immigration has a negative impact on the levels of social trust [40]. In other words, the greater the physical contact with people of another race or ethnic origin, the more we would become attached to ours and the less we would trust others [48,49,50,51,52,53]. This controversy, as recalled by [54], focuses mainly on the argument that diversity is obstructive to the creation of social trust. A possible explanation for this argument is that, in heterogeneous communities, citizens trust and feel more comfortable interacting with people who are similar in terms of income, race and ethnicity [55, 56]. Thus, trust would thrive in homogeneous communities but fail in heterogeneous ones.

Most of the empirical literature has, in fact, corroborated this [57]. [53], for example, argues that those living in heterogeneous areas exhibit less trust. [58], controlling for age and educational level, concluded that social trust is lower in heterogeneous communities. Similar results have been found by other authors (see, for instance, [40, 55, 59,60,61,62].

These studies suggest that homogeneous societies are more fertile for the development of trust. However, there are few studies dedicated to studying the inverse relationship—social trust impacting attitudes towards immigrants—and there is limited empirical evidence accessing this relationship [63]. [47], for example, using data from the European Social Survey (2002 round), found that citizens with a higher degree of trust have more positive attitudes than the rest of the population. This is confirmed by [64], who used data from European Values Study and found that particularized and generalized trust are linked to lower levels of religious and racial prejudice.

In short, when social trust is used as an effect, the relationship found tends to be negative, whereas when it is analyzed as a cause it tends to present a positive relationship. Nevertheless, there are exceptions. For example, in an experiment in Germany, [65] found not only a strong and negative impact of ethnic diversity on trust, but that a greater stimulus to ethnic and religious heterogeneity led to a lower level of respondents’ trust in their neighbors. On the other hand, analyzing the impact of social trust on attitudes towards immigrants, [63] found that it had a positive impact both in and within European countries, even when controlling for different social factors.

We argue that social trust is central to reducing negative perceptions towards immigrants and a good predictor of attitudes in environments with strong perceived threat and prejudice, as is the case in Brazil. Our argument is also supported by studies such as that of [66]: even after including different contextual variables, these authors found a positive effect of social trust in all models (see also 27). Considering the two levels of social trust detailed above, our first hypothesis is that generalized trust will have a positive relationship on attitudes towards immigrants in Brazil:

Hypothesis 1

The greater the generalized trust, the higher the positive attitudes towards immigrants.

Applying the same argument to the particularized level, we hypothesize that greater trust in people of other nationalities is able to reduce aversion and perceived threat and lead to more receptive behavior:

Hypothesis 2

The greater the trust in foreigners, the higher the positive attitudes towards immigrants.

3 Data and method

3.1 Data source

We used data from the WVS wave 7 (2017–2021), Footnote 2 a high-quality database produced since 1981, which explores topics such as individual values and beliefs and their impact on people’s lives. The database encompasses over 100 countries, covering almost 90% of the world population. Topics explored include support for democracy, religion, globalization, the environment, family, culture and diversity, with multiple analytical possibilities. In the case of this wave, the WVS has a specific immigration question session Footnote 3 In Brazil, 1,762 people participated in wave 7. The sample covered all regions, especially where the immigration flow is greater and the theme is more salient, such as São Paulo, Rio de Janeiro and Minas Gerais (the three richest Brazilian states). The percentage of men and women was balanced, but only 9 of the 1,762 people were immigrants. The percentage is low, but consistent and representative of the real population.

3.2 The dependent variable— attitudes towards immigrants

We measured attitudes towards immigrants using the following question: “From your point of view, what have been the effects of immigration on the development of this country? For each of the following statements about the effects of immigration, please, tell me whether you agree or disagree with it. [Increases unemployment]”. The variable has two alternatives: (1) Agree, and (2) Disagree. The option (3) Hard to say is only checked if the respondent mentions it, but it is not read by the interviewer. The question captures a realistic threat commonly associated with immigrants: the perception that they increase competition for jobs and steal jobs from natives, increasing local unemployment. As mentioned in the supplementary material, the answer 3 was grouped with agreement. The scales recoding, described in supplementary materials, table S.2, indicate the highest value indicating disagreement with the statement.

3.3 The independent variable—social trust

Following [44], we separate social trust into two categories: generalized and particularized. To measure generalized trust, we use the classic question “Generally speaking, would you say that most people can be trusted, or you can’t be too careful?”. The question has two alternatives: (1) most people can be trusted, and (2) need to be very careful. In turn, we chose the category of people of other nationalities to capture particularized trust, which became the variable trust in foreigners. The question asks whether the respondent trusts people of other nationalities, and provides four alternatives: (1) trust completely, (2) trust somewhat, (3) do not trust very much, and (4) do not trust at all. This variable was recoded into a dummy variable, isolating those who trust completely and somewhat, from those who do not trust very much or at all.

3.4 Control variables

We also controlled for widely consolidated variables as predictors for attitudes. We included economic and socio-demographic characteristics, such as Age, Female, Level of education, Unemployed, and Income. Previous studies have shown that younger, more educated, employed and higher-income people have more positive attitudes toward immigrants [67]. We also included Ideology, to verify if left-wing people are more positive about immigrants. Table 1 shows that the number of observations for Ideology was much lower than for the other characteristics, which suggests respondents’ difficulty in placing themselves in the political-ideological spectrum.

Table 1 Descriptive statistics (N = 1,762)

3.5 Analytical strategy

Survey data analysis techniques, collected from representative samples, date from the nineteenth century. They have guided the socio-political and economic debate in several dimensions, by providing concrete data on numerous facets of social reality, from the occupancy rates of jobs to public opinion on various topics that support the political process [68]. Despite focusing on complex samples, [68] present a comprehensive approach to the elaboration and analysis of research data and specific statistical methods described that can be applied to different types of survey. Although many surveys are only a descriptive and data collection tool about a population, the proper statistical treatment of observational data makes it possible to explore and expand the understanding of multivariate relationships in the target population to investigate causality between variables of interest.

There are several ways and models for analyzing survey data [68]. Here, our dependent variable was modeled as a dummy, applying a logit model. Logistic regression is used to predict the probability of category membership on a dependent variable based on multiple independent variables. The independent variables can be either dichotomous (i.e., binary) or continuous (i.e., interval or ratio in scale). According to Stock and Watson [69] the logit model is:

$$\Pr (Y\, = \,1|X_{1} ,X_{2} , \ldots ,X_{k} ) = \frac{1}{{1 + e - (\beta_{0} + \beta_{1} X_{1} + \beta_{2} X_{2} + \ldots + \beta KXK}}$$

Here Yi is the dependent variable defined in categories 0 (agree or hard to say) and 1 (disagree), while ꞵ measures the influence of X covariates on the probability of the occurrence of Y, and k, the total of correlated linearly independent. Three models guide our empirical analysis. Model 1 considers the two variables associated with social trust and ideology. We isolated ideology due to the low percentage of observations in the sample, which could interfere with the other results. Models 2 and 3 exclude ideology and include other control variables. The logit coefficients are best interpreted by computing predicted probabilities [70].

4 Results

Table 2 reports the results of the model, where attitudes towards immigrants are measured by the belief that they increase unemployment. Column 1 presents the first model, including widespread trust and foreigners, controlling for ideology. The results show that greater social trust reduces the chances of the respondent having a negative attitude. With regards to ideology, our results support studies that show great differences of attitudes towards immigrants according to a person’s location on the political-ideological spectrum [32, 33]. Immigration has been one of the main ideological platforms of far-right parties, which commonly include anti-immigration policies in their programs. These parties and their politicians benefit and garner many votes by raising concerns among voters that a greater influx of immigrants could bring about economic and cultural harm [71].

Table 2 The impact of social trust on attitudes towards immigrants

The second model includes two more controls. The results confirm that people with higher income are more likely to have a positive perception of immigrants than those with lower income people. A possible explanation may lie in the perception of risk [54]. People with low incomes are more socially vulnerable, and have a greater sense of uncertainty than those with greater financial stability. Thus, immigration tends to be seen as a risk, or as something that will worsen their situation. The results also suggest that younger people tend to express more positive attitudes towards immigrants. Figure 2 illustrates these results: respondents aged 17–40 tended to disagree with the statement that immigrants increase unemployment, when compared to other age groups. The results align with [72], who analyzed 25 countries.

Fig. 2
figure 2

Probability of declaring a positive attitude towards immigrant, by age group, Source: Prepared by the authors based on data extracted from World Values Survey wave 7

Finally, our third model includes the other controls. The two variables associated with social trust maintained their significance. Both confirmed our expectations that greater generalized and particularized trust positively impact attitudes towards immigrants, reducing the perception that they increase unemployment. Figure 3 illustrates this relationship. Although education had a positive effect on attitudes towards immigrants, the coefficient was not statistically significant, in line with studies like that of [13]. As mentioned earlier, previous studies have shown that higher levels of formal education are associated with a more positive perception of immigrants [31]. Two possible explanations can be cited. The first is that people with less education fear a risk of growing labor competition more than those that are highly educated. Second, a higher level of education is associated with greater knowledge of the world, diversity and interaction with strangers, which could lead to less fear of the unknown [11].

Fig. 3
figure 3

Probability of declaring a positive attitude towards immigrant, by (a) generalized trust and (b) trust in foreigners, Note: Prepared by the authors based on data extracted from World Values Survey wave 7

This model also showed that individuals who identify as left-wing are more unlikely to express negative attitudes toward immigrants. The literature has found ambiguous results regarding this association. Some studies argue that this association occurs both due to a common feeling of social justice, equality and multiculturalism [73] and a lower perception of danger and competition [74]. In other words, people who identify as left-wing tend to fear the unknown less and identify more with others in vulnerable situations. However, this relationship is not unanimous. After analyzing 21 European and Anglo-Saxon countries between 1972 and 2012, [75] concluded that there is no clear association between political orientation and anti-immigration behavior.Footnote 4

Another finding of this model was that individuals with an unfavorable economic situation are more likely to oppose immigration in Brazil. As recalled by [13], it is not the objective competition with immigrants that causes this attitude, but the perceived threat. Subjective feelings can cause the belief that increased immigration leads to greater competition in the labor market, and that immigrants would be able to steal jobs from natives [54]. Thus, this perceived threat is feared more by people who already lack an adequate income. Such aversion to immigrants is understandable in the Brazilian case, where at least 31% of the population lives in poverty [76].

The literature also considers age as a determinant of attitudes towards immigrants, and similar results were found in this study. We found that in Brazil older people tend to express more concern about the possible negative effects of immigration than younger people. At least one study highlights generational differences and the impact of information over time [77], as younger people tend to be more informed and to assimilate changes more quickly. However, [78] state that it is not possible to consider age as an analytical factor isolated from context. In other words, it is not just a matter of stating that past generations are more cautious about immigration, but of the historical times and events that helped shape this perception.

Surprisingly, in contrast to an established literature confirming a relationship between higher education and positive attitudes (see 31), we found no evidence of this relationship. Studies about Europe and the United States attest that the number of years of formal education impacts the perception of immigrants. Our findings, however, agree with similar studies carried out in South Africa, Russia, and some Asian countries, where no effect of education was reported [13, 79].

5 Concluding remarks

How can social trust influence attitudes towards immigrants? After broadly assessing the most important theoretical approaches to attitudes towards immigrants and the main aspects the literature points out regarding the idea of social trust, we analyzed the impact of generalized and particularized social trust on attitudes towards immigrants in Brazil. More specifically, we analyzed whether it reduces the belief that immigrants increase unemployment among natives. We hypothesized that the greater the generalized (H1) and particularized (H2) trust, the more positive the attitude. In the empirical analysis, we applied a logit model. Although this relationship has been widely studied in developed countries, our study contributes to the scarce literature on developing countries, such as [13] and [79], who have analyzed the South African and Russian cases, respectively.

In general, our findings corroborate previous literature on the topic by pointing out that the level of income of a country might not make a difference when it comes to attitudes towards immigrants (although this could be another avenue for a future research agenda). In addition to testing and finding evidence for political and economic hypotheses, which the literature identifies as important factors on attitudes, we also verified the role of age. Nevertheless, in the last case we are aware that context may also matter. For instance, generational differences and the impact of information over time might play a role on attitudes. Younger people may also be more informed and adaptable to changes, and historical events and societal context could shape perceptions. Finally, this study found no evidence of links between higher education and positive attitudes toward immigrants, which came as a surprise and contradicted other studies.

Similar mechanisms that shape attitudes towards immigrants in developed countries and South Africa also seem to apply to Brazil. The country is marked by high social inequality and poverty, which might lead the most vulnerable to have negative attitudes towards immigrants. As in South Africa, recent historical contexts may have had impacts still felt today, as the country faced years of military rule and authoritarian leadership in different moments of the twentieth century. However, the impact of these events on the perception of immigrants still needs to be tested. As in the study by [13], higher social trust seems to be linked to lower levels of anti-immigrant attitudes. As citizens have more trust, whether in general or towards people of other nationalities, the chance of believing that immigrants are bad for their country decreases. As already observed by [53], trust seems to promote environments of greater tolerance and assimilation. Considering this fact, and applied to the Brazilian case, our results give strong support to the work of [47]: if the goal is to reduce ethnic-social tensions, investing in social trust may be a very good idea.