Main

The latest Intergovernmental Panel on Climate Change report states with high confidence that climate change is causing substantial damage and increasingly irreversible losses to ecosystems with magnitudes higher than previously estimated. Climate change also has drastic socioeconomic consequences connected with deteriorating natural adaptive capacity1. Counting the last 50 years, extreme weather damages, on average, account for US$202 million in economic losses every day2. Direct and indirect effects from climate change have also been found to impair general health and mental well-being3,4,5,6,7. Extensive research has provided further insights into societal consequences of climate, especially regarding conflict and migration8,9,10. However, such literature has mostly neglected how climate change impacts cooperation. Whereas climate-induced disasters have been linked to patterns of cooperation5,11,12, much of this literature focuses on floods or other sudden-onset events, providing limited insights into how cooperation, including altruism, is shaped by slow-onset changes such as drought. We understand altruism as one key aspect of cooperation. For this study, altruism is defined as the willingness to compromise individual welfare for the sake of the welfare of someone else. Unless specified differently, the terms prosocialty and altruism are used interchangeably throughout the paper.

More recent social-psychological research on cooperation vis-à-vis intergroup relations and external shocks addressed consequences of resource scarcities, providing many insights into what explains prosocialty. There is some evidence for ‘altruism born of suffering’ arguments but also variation when considering the social categorization of cooperation targets13,14. For instance, group identity represents a key modulator for prosocialty in the aftermath of disasters15,16,17. Whereas we observe greater altruism following sudden-onset disasters, our understanding of possible behavioural change from exposure to gradual environmental hazards remains limited despite established negative consequences for individual well-being7. Direct or indirect exposure to environmental stressors has, for example, been associated with anxiety, depression or post-traumatic stress, even many years after events took place18,19,20.

Several gaps emerge based on the existing findings. First, much of the literature on the impact of drought focuses on conflict with far less emphasis on potential mechanisms for cooperation. Second, while social psychology and related research on altruism consider the role of resource scarcity due to war or natural hazards, these studies have largely neglected consequences of slow-onset environmental changes. Those few studies that look at drought are restricted to samples in high-income countries5,6,21. Particularly on climate change and mental health, there is little empirical research on positive psycho-social impacts from exposure to extreme weather events7,12.

Altruism is a key aspect of cooperation. Being able to cooperate with other individuals or as part of group networks is the foundation of human progress. Cooperation among humans has been widely recognized as a function of prevailing situational norms and possible sanctions for those disregarding social norms. Altruistic emotions and preferences are key aspects that moderate the extent of self-interest and prosocialty, for example, how much we strive for equity or how much we value the well-being of others14,22,23,24.

Building on previous insights, we expect altruism to decrease with increasing drought exposure either directly or indirectly. Direct pathways arise through negative effects on health, including mental health, for example, greater post-traumatic stress, anxiety and depression3,5,11,12,21,25. These outcomes even emerge via indirect channels from reduced access to food and nutrition, loss of livelihoods or the general financial constraints from decreased incomes. Diminished livelihoods and ensuing poverty are also drivers for risk aversion and stress20,24,26. More generally, lower altruism is associated with increased stress and worse well-being24,27. Overall, extreme scarcity can have crucial consequences for decision-making, including attitudes towards cooperation. In times of sustained scarcity, individuals may choose to prioritize their own welfare over the welfare of others. We expect prosocialty to decrease through drought-related cognitive changes due to fear of negative consequences on health and livelihoods.

We furthermore expect group membership to moderate the effect of drought-associated decreases in altruism. Decreases in altruism due to drought should be larger when the social interaction occurs between, rather than within, ethno-religious groups. A prominent argument distinguishes environmental stressors based on sudden-onset events from gradual, slow-moving shifts28. Whereas sudden-onset change can strengthen solidarity, gradual exposure to environmental stress such as drought is more likely to solidify group differences. Droughts are recurring features in almost all arid regions. The severity of climate-induced water scarcity differs annually, but recent decades saw a gradual increase in extreme droughts1. The resulting coping and adaptation strategies related to such gradual environmental changes can vary across individuals and groups29,30. This means some actors will be more successful than others when coping with drought conditions. Such differences can give rise to individual perceptions of relative deprivation and grievances that are less likely when experiencing sudden scarcities and more likely through long-term, gradual exposure to environmental stress. Differing individual perceptions of deprivation, in turn, shift how people evaluate cooperation with others. Factors such as resource scarcity, assumed reciprocity and social boundaries impact how much individuals value their welfare relative to another person31,32. The absence of material resources can also make individuals feel more vulnerable to threats by others33. Experiencing threats should lead individuals to favour ingroup interactions. Furthermore, sharing the burden of scarcity can make ingroup belonging more salient14,34,35,36. In addition, group identities should be especially salient in places that have seen violence, particularly where conflicts overlap with group identities. In sum, we expect group identity to moderate the impact of drought on altruism, that is, a decrease in altruism due to drought should be larger when the interaction occurs between, rather than within, ethno-religious groups.

This study makes three important contributions. First, we depart from climate-conflict research with violence as the outcome variable, instead focusing on drought and prosocialty (or altruism). Second, our findings show drought exposure is associated with reduced altruism; this holds even when considering previous exposure to violence or other potential traumatic events. Third, while our general results suggest drought reduces altruism, this is more pronounced towards outgroups. We show with exposure to severe drought, individuals are more altruistic towards ingroup members compared to outgroup members, especially when the ingroup–outgroup relationship is characterized by antagonism and hostility due to war. This is important as reducing the impact of drought could both increase altruism and reduce parochial tendencies.

Drought and altruism

To examine the effect of drought exposure on altruism, we rely on responses from two survey experiments among Iraqi and Syrian refugees living in Turkey, who reside both in a refugee camp (N = 2,292) and in out-of-camp communities (N = 1,811). On the basis of our drought measure, we estimate about 38% of respondents have been exposed to drought before displacement. Situated in a very arid region, Syria and Iraq have seen recurring droughts, and both countries have witnessed intense civil war linked to group identities. This unique setting allows the capture of drought variation and possible moderating group-level effects from salient in- and outgroup differences. From survey responses, we also derive information on age, education years, gender, socioeconomic status and war exposure. The latter is measured through a 16-item-version Harvard Trauma Questionnaire37. We match drought conditions to the respective year each survey respondent reported to have left their home. We consider several measures based on the Standardized Precipitation and Evapotranspiration Index (SPEI)38 to capture intra-annual drought variation: one- and two-year drought averages, growth season drought for major crops, measures for rainfed agriculture, high-value rainfed agriculture and several combinations within those mentioned39,40. For the analysis of our first hypothesis (H1), we create dichotomous variables that take the value 1 if SPEI values fall below −1 (drought conditions) or 0 if otherwise. Altruism among the participants is measured through the welfare trade-off ratio (WTR), which was developed to evaluate the degree to which a respondent values their own welfare relative to another person’s welfare41. This is an established measure for altruism in social psychology32,42,43,44 (Table 1).

Table 1 Summary table, main variables

We first focus on the results (Fig. 1) for effects on altruism measured through the WTR. Here we use different hierarchical models with random intercepts for the governorate respondents reported to have resided last. Note that respondents in this sample are, on average, highly altruistic. This is in line with other studies on refugees that differ from several lab-based experiments that typically find much lower WTR values. The sample mean for WTR is 0.97 (minimum = −1.67, maximum= 2.67). A WTR of 1 represents a high level of altruism, that is, valuing the other person’s welfare and one’s own welfare equally, whereas a WTR of 0 implies complete selfishness and below 0 spitefulness, that is, the willingness to pay a cost to deprive the other of a benefit.

Fig. 1: Drought exposure and altruism.
figure 1

Results for the effect of drought exposure on altruism measured as WTR, displaying coefficients for mixed effects linear regression with error bars indicating 0.95 confidence intervals (two-tailed). a, Specifications with different key individual-level variables. Model a1 (n = 4,037) represents results from our basic model, while models a2 (n = 3,165), a3 (n = 4,034) and a4 (n = 3,163) provide results with combinations of additional controls for urban (a2, a4) and socioeconomic status (a3, a4). b, Coefficients from five different models (n = 4,037) with varying drought operationalizations, all controlling for age, gender and education (Supplementary Information includes complete tables). Error bars indicate 0.95 confidence intervals (two-tailed). Model b1 considers annual drought for rainfed crops and b2 for rainfed crops with high economic value, whereas b3–b5 consider six-month drought aggregates for the last month of the major crop’s growing season with b3 based on the lowest values, b4 the average value and b5 for rainfed crops. d, dummy variable.

Finding support for our first hypothesis, we observe drought exposure to correlate with lower altruism values. This holds when controlling for age, gender, education, socioeconomic status and whether respondents come from urban or rural settings (Fig. 1a). The effect is statistically significant (p < .001) across several model specifications. Respondents with drought exposure show substantially lower WTRs. The effect size is about 0.4 units on our WTR scale. This represents a considerable effect, reflecting approximately 40% decrease in altruism relative to the mean in our sample. The reported relationship also holds using an array of alternative drought measures or when accounting for exposure to traumatic events, including violence.

In addition, we report coefficients for separate models with varying drought operationalizations but all controlling for age, gender and education (Fig. 1b; Supplementary Information includes full tables). For the additional drought measure, we show that results hold also when solely considering the annual average for SPEI to capture drought in areas with rainfed crops (b1) and rainfed crops with high economic value (b2). To better account for seasonal effects, we further consider drought based on SPEI-6 values for the last month of a major crop’s growing season, based on the lowest value for a governorate (b3), the governorate average (b4) and for areas with rainfed crops (b5). Overall, we find very similar results both regarding magnitude and statistical significance irrespective of the drought measure. We believe this points to the wider impact of drought for society but also for possible compounding effects of droughts during armed conflict.

Moderating impact of in- and outgroup belonging

To study possible moderating effects of in- and outgroup belonging (H2), we use the same welfare game and take advantage of the between-subjects treatment (ethno-religious group affiliation). On the basis of the treatment design, we assign the following ethno-religious group affiliations as welfare game targets: Sunni Arab, Yazidi or Shia Arab. Previous research shows ethno-religious outgroup members are treated less favourably in welfare games32,44. There are two differences to the H1 analysis. First, the sample is restricted to Sunni respondents, the great majority of survey respondents. Second, we use the full scale for SPEI with our focus remaining on negative values. A value of ‘−1’ corresponds to a condition that is 1 standard deviation drier than the long-term average; accordingly a SPEI value of ‘1’ represents conditions 1 standard deviation wetter than the long-term average.

We find respondents from regions with relatively more arid conditions treat in- and outgroup targets very differently. For example, we consider average marginal effects and differences in predictive margins of ingroup targets (as compared to outgroup targets) over different values of SPEI-12 (Fig. 2a,b). The results reveal altruism to be higher towards ingroup members for respondents with decreasing SPEI values, that is, increasing exposure to drought. This holds for mild to severe drought conditions and becomes stronger with higher exposure to drought. The moderating effect on altruism declines as SPEI values become higher, that is, as values no longer represent drought conditions. This difference is statistically significant for SPEI values up until about 1, which includes the majority of the sample.

Fig. 2: Drought moderating in- and outgroup effects on altruism.
figure 2

Point estimates derived from marginal effects and predictive margins for altruism over different values for SPEI-12. Ingroup refers to Sunni respondents and outgroup can be either Shia, Yazidi or both. Overlaid histograms show the distribution of drought SPEI-12 average in the sample. For all sub-figures, shaded areas (pink, ingroup; purple, Shia outgroup; grey, Yazidi outgroup) indicate confidence bands at 0.95 (two-tailed, n = 3,765). a, The average marginal effect of ingroup membership on altruism, with outgroup as a base category. b, For the same model, predictive values for altruism based on in- and outgroup treatment. Here outgroup can be both subgroups. The underlying model for the lower panel uses two outgroup treatments. c, The average marginal effect of outgroup membership, with ingroup as base category. d, Predictive values for altruism based on in- and outgroup treatment.

The analysis for H1 revealed a clear correlation between drought exposure and decreased altruism. Here we show this relationship is moderated by group membership. While respondents with higher drought exposure show less prosocialty, they still display higher prosocialty towards ingroup members. In other words, drought decreases altruism more for outgroup targets compared to ingroup targets. We reiterate that refugee samples often show overall high altruism levels13,44. In substantive terms, respondents with high exposure to drought (SPEI < −1) appear to value the welfare of ingroup targets about the same as their own (WTR = 1) but they value the welfare of outgroup targets about half as much as they value their own welfare (WTR = 0.5).

Our findings support the view that drought exposure exacerbates ethnic divides in line with arguments concerning the effect of gradual environmental changes28. Likewise, it is possible that climate adaptation entails parochial altruism, with cooperation directed towards the ingroup. Speaking more generally to social psychology literature, the findings support realistic conflict theory by providing evidence that scarcity increases parochial altruism45,46.

We further observe differences based on the nature of the ingroup–outgroup relationship (Fig. 2c,d). The results suggest that among Sunni respondents, the moderating effect of group identity is stronger when the outgroup target is defined as Shia Arab compared to when the outgroup target is defined as Yazidi. Under drought conditions (SPEI < −1), Sunni Arab (ingroup) targets are met with greater altruism than Yazidi targets, which are, in turn, met with greater altruism than Shia Arab targets. Thus, while we find drought decreases altruism, it does so more towards members of hostile outgroups (here manifested through the armed conflict) compared to either ingroup members or members of a more neutral outgroup. Parochial altruism appears directed more at a specific group resulting from the experience of drought. This suggests intergroup relations, and historical antagonisms remain a key moderator of the impact of drought, as it could highlight existing grievances, inequality and negative emotions towards outgroup members. The latter is in line with existing work on group hostility and altruism44.

Discussion

Our findings suggest drought exposure is associated with decreased altruism. On the basis of the survey experimental design, we further show how intergroup relations moderate drought’s impact on prosocialty. The latter could be an important insight for stakeholders working on initiatives to mitigate environmental change for populations most affected by it.

Our findings contribute to the research on resource competition and the wider climate-conflict literature, which links climate-induced hardship with attitudes towards violence9,10. If hardship decreases altruism, repeated instances of selfishness (non-altruism) could create incentives for some individuals to favour violence. Poverty through livelihood loss might also redirect otherwise general cooperative tendencies to recipients of specific groups, such as ethnic ingroups or those sharing a similar burden. Yet, disputes relating to scarce resources are not binary; they can oscillate between collaborative processes and conflictual actions. Exposure to drought may not necessarily increase support for violence directly47. However, lowered cooperation typically precedes disputes. Studying altruism or other types of cooperation can therefore provide cues on behavioural changes due to environmental scarcity and violence. More generally, we should expect increased competition over scarce resources. Our study suggests drought-induced scarcity is associated with sustained cooperation within but not between groups. Thus, disputes might ensue not as a result of active exclusion of outgroups but rather indirectly due to the shift in locus of cooperation to the ingroup. This might be an important puzzle regarding intergroup disputes. It is crucial to understand disputes both as potential breeding grounds for conflict but also as sources of cooperative action. In the long term, habitual interactions shape cooperative solutions as most actors will determine conflict to be too costly as compared to collaboration48.

The results also speak to more general studies on migration. Insights from such research give important clues as to the motivations of migrants (including refugees) to leave their homes. Exposure to environmental stress shapes incentives to migrate within and across national borders, including moderating aspects of armed conflict on migration patterns49. Our results enrich literature on refugees’ attitudes in host countries and can inform more targeted policy action. In 2020 about 90 million people were recorded as displaced persons, including 10 million due to conflict and a further 30 million due to disasters—the highest such numbers since monitoring started50.

While many of these migrants are fleeing primarily war, debates persist over how climate change contributes to conflict. Recent work finds climate-conflict interactions not occurring through direct effects, but if at all, rather indirectly through agricultural dependence and political exclusion9,10. While research on the climate-conflict nexus continues, many conflict regions are already affected by climate change. Acknowledging that environmental stress and armed conflict co-occur, we should not only ask if drought and war are linked but how drought and war shape those affected, especially regarding mental health and decision-making.

Our study is also limited in that respondents are from highly drought-prone areas that experienced devastating civil wars. As other research with refugee populations, our sample could suffer from different biases due to selection and survivorship biases. Future studies should consider the consequences of both fast- and slow-onset events in populations affected and not affected by war. However, researchers should recognize that many areas affected by armed conflict correlate with exposure to natural hazards. In addition, our study’s insights on group identity are limited to specific groups. It is plausible that majority–minority relations affect group hostility and altruism. Indeed, our study finds a moderating role of group identity to be more important when intergroup relations are characterized by antagonism and hostility. This opens for several follow-up investigations, for instance, research could consider factors determining the differential treatment of varied outgroups. Furthermore, research could consider different group distinctions, such as refugee–host community relations, both within and beyond Iraq or Syria.

Methods

This analysis builds upon two original, large-scale and comparable survey experiments conducted among refugees from the wars in Syria and Iraq living in Turkey. We matched the survey data to geo-referenced observational data on drought and other variables. This survey represents a unique sample to study drought and altruism. Syria and Iraq are part of a drought-prone region, which means individuals living in this area have been subject to varying degrees of water scarcity. Exposure to war and severe drought endanger livelihoods, often creating notable poverty. In both Iraq and Syria, even areas away from civil war fighting experienced extreme water scarcity and general resource shortage as critical infrastructure such as water services or irrigation were damaged51,52. Water scarcity further exacerbates coping with shortages and puts additional pressure on livelihoods. Thus, the countries represent more likely cases for observing varying drought conditions and attitudes towards cooperation. Furthermore, both countries have experienced intense civil war fighting along ethno-religious identities. We should therefore expect those group identities to be more salient due to the prevailing conflict.

Survey sample and data collection

Survey responses were collected for refugees from Syria and Iraq residing both inside and outside of refugee camps in Turkey during 2017. The data collection was finalized before the data analysis began. One part of the data is a large and diverse sample drawn from a refugee camp in Mardin, located in Southeastern Anatolia, Turkey (N = 2,292). However not all refugees from Iraq and Syria reside in camps. Drawing only from such a sample could induce bias. We addressed such concerns by conducting the second survey of a community-based, out-of-camp sample of Syrian and Iraqi refugees, drawn from multiple cities in the Central Anatolia region of Turkey (N = 1,811). The survey flow involved participants first completing a demographic questionnaire followed by the welfare game, questions on attitudes towards the welfare game target and finally the checklist of potentially traumatic events. The full list of survey items is included in the Supplementary Information.

Sampling for the community-based survey relied on community trust networks, which means that participants reach out to prospective participants through their own social networks. Data collection was conducted through trained administrators, which increased cultural sensitivity and interpersonal trust. These recruited assistants are themselves refugees from Iraq and Syria. We would like to highlight that this research would not have been feasible without the key effort and hard work by local enumerators. The data collection can be considered cluster sampling, which is relatively common in conflict research, even if this could entail underestimating population variance53. The data collection was continuously evaluated, including implementing further efforts to diversify the sample, for instance, by approaching refugees standing in public transportation hubs, breadlines, outside aid organizations, at universities and in front of refugee camps. Participants of the community-based survey were enrolled in Ankara, Eskişehir, Konya, Istanbul and Yalova until the sample met requirements about diversity and size. One hundred seventeen participants were excluded from data as their age was reported as under 18. From the raw dataset, 87% identified as Sunni Muslim Arabs. As some responses were incomplete in key aspects, we retain a total of 4,103 survey observations. Analyses in the Supplementary Information show the results are not sample dependent.

While psychology studies often use WEIRD (that is, Western, educated, industrialized, rich and democratic) or student-based response samples, survey participants in this study may have experienced high exposure to war trauma. Planning and executing such survey designs requires special care because refugees are considered particularly vulnerable with substantial personal tragedies tied to their journeys. For instance, some research suggests that Syrian refugees face difficulties in maintaining social networks, which also involves decreased emotional and financial support54. Contacting female participants was established through female research assistants. In addition, survey responses were recorded with informed consent in a secluded area on tablet devices in the absence of an enumerator. The only exception to that was when the person was illiterate. Considering increasing numbers of refugees worldwide, it is important to study exposure to violence among refugees because insights from research can meaningfully inform policy decisions and thereby support social cohesion in a sustainable way. The survey project was approved by the regional Ethical Review Board in Uppsala in 2016 (case number 2016/189).

Addressing problems with potential in-sample homogeneity, the data were stratified based on gender and country of origin. Regarding the former, 50% of respondents identified as female and 50% as male. For the community-based sample, about 50% of the survey was completed by respondents from Syria and Iraq, respectively. Yet, Syrian responses make up 78% of the full, pooled sample. Syrian respondents predominately left their countries after 2012, making up 65% of the sample. Furthermore, about half of respondents reported to have completed at least 9 years of schooling and 25% have 12 years of education or more. Self-reported socioeconomic status for the country of origin was reported on an 11-point scale (0–10) with an average of 5.51 (SD = 2.61). The settlement structures for participants’ homes of origin were reported as urban by 50% as compared to rural.

The sample largely aligns with populations relevant to climate-conflict research. Both Iraq and Syria have been exposed to varying drought events and armed conflict. Furthermore, people affected by war or environmental scarcity usually reflect a range of socioeconomic backgrounds55,56.

Part of the analysis relies on geographic information, particularly on governorates participants reported to have lived in. Certain regions from the countries of origin are over-represented, probably a result of the conflict dynamics and the respective proximity to Turkey. For Syrian respondents, 25% reported to have lived in the Aleppo Governorate, 15% in Damascus, 10% in Raqqa, 9% in Deir ez-Zor, 8% in Daraa, 8% in Al-Hasakah, 6% in Homs and 5% in Idlib. Respondents from the remaining four governorates each represent between 1 and 3% of the Syrian responses. There is less variation within the Iraqi sample. Here most participants are from Saladin (0.31), Baghdad (0.24), Nineveh (0.18), Al Anbar (0.11) and Basra (0.10). All other Iraqi regions are represented by less than 3%, respectively. More disaggregated geographic data were not collected due to ethical concerns.

Altruism and survey treatment

Altruism among the participants is measured through the WTR, which was developed to evaluate the degree to which a respondent values their own welfare relative to another person’s welfare41. This is an established measure for altruism with existing literature providing several examples of this strategy32,42,43,44.

The WTR measures the relative value placed on a respondent’s own welfare relative to the welfare of someone else. In the survey task, the participants were requested to make 13 consecutive decisions and are told to evaluate each decision independently. In each of the scenarios, the participant is asked to imagine a target individual, presented as a refugee with a specific ethno-religious group affiliation (that is, Sunni Arab, Yazidi or Shia Arab). The characteristics of the target individual remain the same for all 13 scenarios. While we focus on ethno-religious affiliation of WTR recipients, we note that the survey participants are randomly assigned to a total of 12 different conditions (3 × 2 × 2 between-subjects design) established through combinations of age (25 or 65 years old), gender (female or male) and group affiliation. For example, the question was phrased as ‘Imagine you must allocate money between you and a 25-year-old Sunni Arab male refugee. Which option would you choose?’ In each scenario, the respondents are asked to choose between giving the target individual a sum of money, held constant in all scenarios (30 Turkish Lira) or receiving a specific amount of money for themselves. In each scenario, the monetary reward that they would get for themselves becomes progressively lower. To calculate the WTR, we first locate the respondent’s ‘switch point’, that is, the average of the last sum of money the participant opted to keep for themselves and the first sum of money they chose to give to the other person. The WTR is calculated by dividing the switch point by the sum allocated to the other person. The WTR ranges between −1.67 and 2.67, with higher values indicating a greater degree of altruism. WTR values equal to 1 mean a respondent values their own welfare and others’ welfare equally. Values above 1 reflect individuals who value the other person’s welfare more than their own. A WTR equal to 0 implies valuing solely one’s own welfare, that is, complete selfishness. Lastly, a WTR below 0 implies a respondent is willing to pay to deprive the other of benefits, that is, spitefulness.

A key component of the described trade-off task includes the random assignment to social features of a fictitious person, the recipient of the allocated money. We are aware of issues with hypothetical biases, which have been discussed in the literature57,58. On the basis of the literature, we expect less pronounced bias due to the field setting and because we are less interested in exact magnitudes than in switch points.

For the second hypothesis, H(2), we limit the sample to the ethnic Sunni respondents to ease interpretation for the group treatment variable. This setup allows us to compare in- and outgroup identities from the survey experiment. We treat the ‘Sunni Arab’ treatment as the ingroup, while ‘Shia Arab’ and ‘Yazidi’ are considered outgroup treatments. We then analyse both a combined and disaggregated outgroup treatment (Fig. 2). In the Supplementary Information, we show our result holds when controlling for the two other treatment categories (gender and age) and considering solely Shia–outgroup targets.

Drought

Research suggests that weather perceptions match well against meteorological observations in agriculture-dependent societies59. Yet, many countries in the Middle East suffer from regular water shortages and in many places discussing water shortage is considered a ‘taboo’ seldom done in the public domain60. Using observational climate data to obtain drought measures is thus less prone to biases of self-reports. Because drought exposure can have an important impact on livelihoods, particularly in arid regions, we assume such effects to be potentially long lasting4,5.

We match drought conditions to the respective year each survey respondent reported to have left their country. Our analysis builds on several different measures for drought that we aggregate to the governorate level, derived from a 0.5 by 0.5 decimal degree grid61. Drought conditions might matter more for areas with important crops, especially regarding rainfed agriculture. We therefore consider several SPEI measures38 to capture intra-annual drought variation: annual drought aggregates, six-month measures for growth season drought of major crops, measures for rainfed agriculture, high-value rainfed agriculture and several combinations39,40. For our annual drought measures, we use governorate averages of SPEI-12 for December of each relevant year, based on the SPEI38. For variables considering harvesting periods, we use the lowest SPEI-6 value at the final month of the crop growth season for an area within a given governorate. For instance, if the last month of the local crop’s growing period is given as August, SPEI-6 values in our analysis would represent the conditions for the six-month period covering March to August. We consider a local major crop as the respective crop with largest harvest area based on global data for irrigated and rainfed crops39. The Supplementary Information further details aggregation and coding procedures for all drought measures, including additional results showing our findings are robust to different operationalizations.

The mean value for SPEI is 0, and the standard deviation is 1. SPEI values are spatially and temporally comparable. For ease of interpretation, we use dummy variables in our models for direct effects (Hypothesis 1) and the full SPEI scale for Hypothesis 2. For the former, the variable takes the value 1 if at least one area within a governorate reports SPEI values below one standard deviation, thus indicating more than usual dry conditions.

Using governorate-based aggregates for respective drought-year assumes that local drought affects wider areas. We find this plausible as local droughts can have spillover effects and because environmental hazards can create a sense of exposure for those nearby even if they were not directly affected62,63,64. Some survey respondents left their home countries before 2010. For those responses, the survey uses intervals to mark the time periods when individuals left, and we aggregated data for the intervals accordingly. The exact phrasing is ‘When did you leave Syria/Iraq?’ The time periods are: 1994 or earlier, 1995–1999, 2000–2004 and 2005–2009.

Control variables and estimation

We carefully considered potential confounding variables based on other findings. In some situations, altruism can vary with gender65,66; moreover, previous research suggests climate resilience to drought differs by gender67. Other work also shows that drought impacts people differently depending on their age, while under some conditions, age may explain prosocial attitudes32,68. Altruism is also affected by mental health. The interactions of mental health and drought have been shown to differ by rural or urban dwelling69 and by how much people are exposed to poverty26. Thus, we should expect areas with higher population density (like urban areas) to be affected differently by drought or include demographics that explain variation in altruism. Ethnically motivated civil conflict can trigger more parochial views, thereby making in- and outgroup differences more salient. This salience could diminish prosocialty or inter-ethnic cooperation commonly found in drought-experienced communities. Respondents in our sample have had varying exposure to war, which can have notable effects on altruism. Furthermore, in the case of Syria, research finds violence to be higher during the cropping season70. Thus, it is important to control for possible exposure to potentially traumatic events, including war-related violence13,71. On the basis of these insights, we use the following controls derived through the survey: age, gender, education, urban versus rural background and socioeconomic status before leaving. Furthermore, we use governorate-level data to capture population density and disaggregated gross domestic product data.

Exposure to wartime trauma was assessed using Part I of the Harvard Trauma Questionnaire37. The version of the Harvard Trauma Questionnaire we use contains a checklist of 16 traumatic life events, determined to be relevant for Syrian and Iraqi refugees. The instrument includes the following comprehensive list: (1) ‘Lack of food or water’, (2) ‘Ill health without medical care’, (3) ‘Lack of shelter’, (4) ‘Imprisonment’, (5) ‘Physical abuse’, (6) ‘Serious injury’, (7) ‘Combat situation’, (8) ‘Indiscriminate shelling or bombing’, (9) ‘Being close to death’, (10) ‘Forced evacuation’, (11) ‘Forced separation from family’, (12) ‘Murder of family or friend’, (13) ‘Unnatural death of family or friend’, (14) ‘Murder of stranger or strangers’, (15) ‘Kidnapped’ and (16) ‘Torture’.

In our estimation strategy, we employ hierarchical linear models with random intercepts for governorates to account for variation at that administrative level. It is possible that the effect of drought also varies by governorate; we therefore conduct robustness tests with random coefficients for drought in addition to random intercepts (appendix includes results and other robustness tests). Following ref. 72, we can write the varying-intercept model more generally as \({y}_{i}={\alpha }_{j[i]}+\beta {x}_{i}+{\varepsilon }_{i}\). The equation for both varying slopes and coefficient is represented as \({y}_{i}={\alpha }_{j[i]}+{\beta }_{j[i]}{x}_{i}+{\varepsilon }_{i}\). The annotation follows those commonly used for linear regression. y represents our unit-level outcome variables. We consider i to represent individual responses, which is our unit of analysis, j[i] indexes governorates where a respondent i has resided before leaving.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.