Introduction

The relationship between climate change and collective violence has been a longstanding scholarly debate. Numerous large-N quantitative studies have explored the effects of extreme hydro-climatic events on violent conflicts, particularly in agricultural societies in Africa1,2,3,4,5,6 and Central-East Asia7,8,9,10,11. Some studies of past societies have also revealed this effect12,13,14,15. These studies often follow a causal model of “climate deterioration—crop failure—social instability” to explain the link between climate change and violent conflicts. In China, extended periods of cooling are widely considered to have contributed to the fall of dynasties16,17,18,19,20. Severe droughts have been linked to the collapse of civilizations such as the Mayans and the Roman Empire21,22,23,24. However, broad historical analyses often overlook regional variations and the specific impacts of short-term climatic extremes, such as floods and droughts, on conflict emergence. Investigating particular historical events can provide deeper insights into the mechanisms through which climate, ecosystems, and human societies interact25.

Chinese history has witnessed numerous instances of social upheaval, particularly peasant rebellions26. Peasant revolts in agrarian societies are always attributed to irrational agricultural structures and distributional practices that created an organized proletariat against an economically weak and politically rigid upper class, ultimately leading to revolutionary wars27,28. Climate plays more of a triggering role in this, with harsh climatic conditions increasing the frequency of wars through food shortages, resulting in social instability and increased violent competition for resources15,19,29,30. The Taiping Rebellion (1851–1864) was one of the deadliest civil wars in history31,32,33,34, lasting 14 years and affecting 18 provinces, including the wealthy Jiangnan region35. Some estimates suggest a population decline of up to 100 million, nearly a quarter of the nation’s population36. Historical climatologists have highlighted the catastrophic floods of 1823 in Jiangsu and Zhejiang provinces, which severely impacted agricultural output in the Yangtze River basin, contributing to the economic decline of the Qing Dynasty and setting the stage for the rebellion17,35,37. Additionally, Ge and Wang38 identified a cooling trend in nineteenth-century China, accompanied by increased floods and other extreme weather events. In Guangxi, the Taiping Rebellion’s origin, agricultural failures from 1830 to 1850 were particularly severe, with at least 10 years of poor harvests39. Low temperatures and flooding further diminished yields, exacerbating human-land conflicts during the Qing Dynasty15,37,38. Quantitative studies by Lee et al.14 suggest that floods had a more significant impact than droughts on civil unrest in the rice-producing areas affected by the rebellion. Similarly, there exists a positive correlation between violent conflict frequency and droughts and floods in the North China Plain during the nineteenth century40.

Despite previous work on the climate-conflict nexus during the Taiping Rebellion, most studies remain qualitative, with quantitative analyses being notably rare. Existing quantitative research predominantly consists of correlation analyses by establishing time series of socio-economic indicators, conflicts, and climate variations (like temperature or precipitation)12,15,38, neglecting key spatial dimensions. For example, Ge and Wang established a correlation between the failure curves from 1730 to 1910 and the sequence of climatic hazards from 1470 to 1949 to illustrate that the Taiping Rebellion was driven by large-scale annual failures in agricultural production across the country induced by climate change38. Zhang et al. constructed a correlation between temperature and harvest and found that the Taiping Rebellion erupted when harvests fell to a critical point during the cold period15. Specifically, there has been little investigation into: (1) how varying intensities of droughts and floods differentially affect violent conflicts across space, and (2) whether neighboring regions experiencing such climatic extremes are similarly impacted, and to what extent. These gaps have left the spatial correlation between hydro-climatic extremes and violent conflicts insufficiently explored.

To fill this gap, we selected the regions affected by the Taiping Rebellion (1851–1864) as the study area. We collected data on all the armed conflicts between the Taiping Army and the Qing government forces41, as well as hydroclimatic extremes (including floods and droughts at different levels) data from 40 meteorological stations in this study area42. This study employs the panel Poisson fixed-effects estimation to analyze the spatial dynamics of the droughts/floods-conflict nexus during the Taiping Rebellion. We validate our findings using Qing administrative division (prefecture) data and a 100 km × 100 km grid-based dataset. Buffer zones of 25 km, 50 km, and 100 km are used to assess the influence of climatic disasters on violence in adjacent regions. These insights aim to clarify the spatial dynamics of climate-related conflict in both historical and contemporary contexts.

Methods

Research context

In the mid-nineteenth century, the Qing Dynasty faced over a hundred anti-Qing insurrections across various regions of China43. The resistance was particularly pronounced in the provinces of Guangxi, Guangdong, and Hunan, with Guangxi, where the Qing authority was weakest, emerging as the epicenter of resistance. In the summer of 1850, a severe famine struck Guangxi, which the leaders of the Taiping Rebellion perceived as an opportune moment to mobilize their forces. On 11 January 1851, Hong Xiuquan and his followers initiated the rebellion in Jintian village, establishing the “Taiping Tianguo” regime. Following the Jintian Uprising, the Taiping Army rapidly expanded, capturing Dahuangjiangkou (modern-day Jiangkou Town, Guangxi Province) and subsequently extending its control to cities in Guangxi, Hunan, Hubei, Wuchang, Anhui, and Jiangsu. Their influence further reached Henan, Shanxi, and Hebei. Simultaneously, peasant uprisings in northern China, including the Nien Rebellion (1851–1868), frequently erupted in the Yellow and Huaihe River Basins44. These widespread revolts affected key provinces and economic centers across China. Accordingly, this study focuses on the 16 provinces of China Proper affected by the Taiping Rebellion, shown in Fig. 1.

Fig. 1: Provinces and prefectures that had armed conflicts pertinent to the Taiping Rebellion.
figure 1

The red triangles represent meteorological stations that recorded hydro-climatic extremes. The peach-colored areas indicate the number of armed conflicts within each prefecture.

The temporal scope of this research is confined to the period of the Taiping Rebellion, specifically 1851–1864. By the mid-nineteenth century, the population of the Qing Dynasty had nearly tripled compared to the preceding century, placing immense pressure on the limited arable land. Between 1753 and 1842, per capita farmland decreased by 78% in the eight provinces where the Taiping and Nien armies operated38. Concurrently, significant hydro-climatic anomalies were observed at both regional and global levels21,45,46. A marked shift toward colder temperatures, coupled with extreme hydrological events such as droughts and floods, led to widespread agricultural failures, exacerbating the already intense competition for land and resources26,47,48. The issue of unequal farmland distribution further compounded these challenges. Government-owned land accounted for approximately one-tenth of the total arable land. At the same time, peasants, who constituted most of the population, relied on only 30–40% of the land for subsistence38. Additionally, tenants were prohibited from owning land and were forced to lease fields annually, often purchasing seeds at exorbitant prices from landowners while being compelled to sell their grain at reduced prices in the autumn49. Consequently, these populations experienced chronic food insecurity and material deprivation, even during periods of favorable agricultural yields, with their circumstances deteriorating markedly during episodes of harvest failure.

The synergy of social tensions and adverse climatic conditions during this period created fertile ground for peasant revolts. Therefore, the Taiping Rebellion is a valuable case study for analyzing the complex interplay between climate, society, and violent conflicts.

Data collection

To ensure data reliability, this study utilizes well-established climate and socio-economic datasets from prior research:

Data on armed conflicts are drawn from the Tabulation of Wars in Historical China, which records detailed information about Chinese wars from 800 B.C. to A.D. 191141. This dataset offers a distinct advantage over other databases due to its inclusion of detailed geographical information about each conflict, which is crucial for spatial analysis. This study focuses on the armed conflicts between the Taiping Army and Qing government forces during 1851–1864. The Taiping Rebellion spanned a long period and affected many regions throughout the country. To better understand the dynamics of the rebellion, we calculated the centroids of the regions where conflicts occurred, weighted by the annual frequency of conflicts, and analyzed their travel routes (Fig. 2).

Fig. 2: Annual centroids of the armed conflicts during the Taiping Rebellion.
figure 2

The centroids of armed conflicts for each year are shown. Red arrows indicate the direction of movement of these centroids over time. (Since the Taiping leaders began to gather in the late 1850, the 1850 uprising gathering location is added for reference).

In the early phases of the rebellion, the Taiping army experienced rapid expansion northward from its point of origin in Guangxi, achieving its northernmost extent in 1853 when it entered Anhui. During the Taiping Rebellion, which lasted from 1850 to 1864, there were three significant southward retreats of conflict centroids in 1854, 1857, and 1859. Notably, 1859 marked the furthest southward advance and signaled the beginning of the decline of the rebellion. In the later stages of the rebellion, spanning from 1860 to 1864, the conflict centroids hovered in three provinces of East China (Jiangsu, Zhejiang, and Anhui), where the Taiping and Qing armies engaged in a series of significant conflicts centered around Nanjing, the capital established by the Taiping forces (also the capital of Jiangsu province). In 1864, the conflict centroids moved westward due to Qing armies pursuing the remnants of the Taiping forces in Sichuan, Hubei, and other regions.

Hydro-climatic extremes are events that deviate significantly from average conditions due to climate change disrupting the hydrologic cycle50. In this study, we consider recorded anomalous hydrological events, such as droughts and floods, as hydrological anomalies resulting from climate change, as these events deviate from the norm and attract societal attention. Our data on hydro-climatic extremes are sourced from the Yearly Charts of Dryness/Wetness in China for the Last 500-year Period42, as well as the Yearly Charts of Dryness/Wetness in NW China for the Last 500-year Period (1470–2008)51. Using a 5-point grading scale (from grade 1 to grade 5 to indicate the range from extreme floods to extreme droughts), the former provides hydro-climatic extremes sequences for 120 locations across China from 1470 to 1979, while the latter revises the sequences for 12 sites in northwestern China and adds grade sequences for seven additional locations. This study integrates these two datasets and selects the 40 metrological stations within the study area to identify occurrences of floods (grades 1 and 2) and droughts (grades 4 and 5).

We calculate the number of sites experiencing extreme floods (grade 1), normal floods (grade 2), normal droughts (grade 4), and extreme droughts (grade 5) each year52 and employ Kriging interpolation to reveal the wet-dry pattern of the study area during Taiping Rebellion (Fig. 3). In the early years of the Taiping Rebellion (1851–1855), the region predominantly experienced humid conditions, with the conflict centroids all located within more humid areas. From 1856 to 1859, a discernible shift towards drier climatic conditions occurred, accompanied by two significant southward retreats of the conflict’s center of mass. Starting in 1860, the differentiation between wet and dry patterns became increasingly indistinct while the rebellion gradually ended.

Fig. 3
figure 3

Annual wet-dry pattern and armed conflicts during the Taiping Rebellion (The pattern in 1850 is added for reference).

Panel Poisson fixed-effects estimation

The panel Poisson fixed-effects estimation provides a robust method for analyzing historical armed conflict data, particularly when many observations are zero53. During the Taiping Rebellion (1851–1864), many regions remained unaffected and experienced no armed conflicts, resulting in numerous zero values in the dataset. This sparse distribution makes standard linear regression and ordinary Poisson regression less reliable, as they can produce unstable or biased results when applied to such data. The panel Poisson fixed-effects estimation, however, effectively addresses these challenges.

Unlike traditional Poisson regression, which assumes that the variance equals the mean, the panel Poisson fixed-effects estimation is more flexible. It accounts for overdispersion and effectively handles sparse data. Additionally, by incorporating fixed effects, this model controls for unobserved regional heterogeneity, ensuring that differences across regions (such as socio-economic and ecological factors) do not distort the analysis53. This is particularly crucial when studying a large geographic area where baseline conflict risks may differ but remain relatively stable within each region over time. By controlling for these stable regional characteristics, we can more precisely assess the impact of droughts, floods, and other short-term climatic stresses on the likelihood of armed conflicts.

Using the panel Poisson fixed-effects model, we investigate how varying levels of droughts and floods influence the frequency of armed conflicts. The basic form of the model is:

$${{{{Conflict}}}}_{{it}}=\exp \left(\beta {{{{Drought}}}}_{{it}}+{\mu }_{i}\right)+{\varepsilon }_{{it}}$$
(1)
$${{{{Conflict}}}}_{{it}}=\exp (\beta {{{{Flood}}}}_{{it}}+{\mu }_{i})+{\varepsilon }_{{it}}$$
(2)

where i represents the region and t represents the year. Conflict_it denotes the number of armed conflicts in region i during year t, corresponding to the frequency of armed conflicts. Droughtit and Floodit represent the frequency of droughts and floods, respectively (we distinguish between different severities of droughts and floods by using Normal and Extreme categories). β is the coefficient. μi is the fixed effect, capturing the unobserved time-invariant heterogeneity across regions. εit is the error term.

We use the log-transformed coefficients from Poisson estimations to calculate Incidence Rate Ratio (IRR), providing a clear and rigorous measure of how climatic disruptions influence conflict likelihood. An IRR greater than 1 indicates that each incremental increase in the explanatory variable, such as an additional flood event, raises the expected conflict rate by the corresponding factor. By expressing regression results as relative risks, the IRR framework helps illustrate how repeated floods or droughts can intensify social unrest and drive conflict escalation.

Sample construction based on different buffer zones and different data processing methods

Though most analyses of hydrological climate change and conflict/security have focused on spatially constrained units (countries, regions, cities, communities), such impacts from both conflicts and climate may be transmitted spatially through population movements54,55,56. The buffer zones of varying radii are established for sample construction to capture these dynamics. The radius of the buffer zones in this study is determined based on the estimated walking speed of displaced refugees and the distances between various administrative units. While historical records often detail the dire conditions refugees face, they rarely provide explicit accounts of their movements during famines or disasters. However, certain historical facts allow us to infer the velocity of the refugee movement. Importantly, the speed at which refugees fled famine should not be equated with the walking pace of an average individual or a marching army. Disasters, like floods, frequently devastated villages, resulting in many displaced persons, including the elderly, children, and their belongings, who migrated in groups49. Furthermore, hunger and disease often slowed their progress significantly. A historical account from the Records of the Three Kingdoms describes Liu Bei’s retreat to Jiangxia (modern-day Jiangxia District, Wuhan City, Hubei Province) alongside 100,000 residents of Fancheng (now Xiangyang City District, Hubei Province). This group could cover only 5 to 10 km per day57. Similarly, records from Dacheng Prefecture mention a traveler in winter, clad in a short coat and tattered shoes, who begged for alms on his journey home, managing to cover only 10 to 15 km per day58. Based on these accounts, it can be reasonably inferred that the average movement speed of displaced populations during such crises was approximately 10 km per day.

Regarding the distances between administrative units in Guangxi, Guilin, which served as the provincial capital during the Qing Dynasty, was approximately 70 km from its directly affiliated Yongning Prefecture. Other subordinate counties ranged from 40 to 125 km from the provincial capital59. As for the proximity between neighboring counties, Lingchuan County is located 2.5 km east of the Xin’an County border and 25 km southeast of Lingui County59. Given these distances, refugees could likely reach nearby villages or the closest counties within a day, neighboring counties within 2–3 days, and prefecture-level cities within 5–7 days, depending on their pace. Reaching the most distant administrative units, such as the provincial capital, would likely require over 10 days of travel.

In the sample construction of this study, we established buffer zones of the radii of 10 km, 25 km, 50 km, and 100 km to correspond with the distances from villages to counties, counties to adjacent counties, counties to prefectures, and prefectures to provincial capitals. These buffer zones allow us to examine the direction and extent of refugee mobility in response to varying levels of hydro-climatic extremes.

To ensure the reliability of our results and check for potential biases arising from the choice of spatial analytical units, we employed two methodological approaches in delineating the units. First, we delineated the units using the Qing administrative divisions (prefecture). However, we recognized that relying solely on this delineation could introduce spatial inconsistencies when analyzing historical events, as past and present administrative boundaries do not always align. To address this issue, we implemented a secondary approach using 100 km × 100 km grid cells, created with ArcGIS and clipped to the regions affected by the Taiping Rebellion. This grid-based framework ensures consistent spatial coverage and helps minimize distortions when administrative units vary greatly in size or shape. For example, in a large administrative region, a localized flood might be overlooked, while in a small unit, sparse data could lead to erratic results. By comparing findings from both administrative division and grid-based methods, we ensure that our results are robust across different spatial analytical units, providing a more reliable foundation for analyzing the relationship between hydro-climatic extremes and armed conflicts.

Results

The overall effect of hydro-climatic extremes on armed conflicts

We calculated the Incidence Rate Ratio (IRR) by exponentiating the regression coefficients, which represent the multiplicative effect of a one-unit increase in an independent variable on the incidence rate of the dependent variable. This method helps to interpret the regression results better. An IRR greater than 1 indicates that the variable has a positive effect on the incidence of armed conflicts, while an IRR less than 1 suggests a negative effect. Figure 4 and Table S1 in Supplementary Information show that various hydro-climatic extremes are strongly correlated with armed conflicts when setting a 50 km buffer zone, with total hydro-climatic extremes (floods & droughts), normal floods, and extreme floods all positively correlated with armed conflicts. An increase of 1 unit in total hydro-climatic extremes (floods & droughts), normal floods, and extreme floods corresponded to an increase in armed conflicts by 14.3% (p < 0.01), 24.7% (p < 0.01), and 38.0% (p < 0.05), respectively. Among the different hydro-climatic extremes, the strongest correlation was found between extreme floods and armed conflicts. With no buffer, 25 km buffer, and 50 km buffer, an increase of 1 unit in extreme floods corresponded to an increase in the incidence of armed conflicts by 79.7% (p < 0.1), 76.2% (p < 0.05), and 38.0% (p < 0.05), respectively. Overall, the value of IRR decreases with the expansion of the buffer zone, which implies that the impact of hydro-climatic extremes decreases with the expansion of the buffer zone.

Fig. 4: The impact of hydro-climatic extremes on armed conflicts during the Taiping Rebellion, with prefectures as the spatial analytical units.
figure 4

a Model without buffer zones; b Model with 10 km buffer zones; c Model with 25 km buffer zones; d Model with 50 km buffer zones; and e Model with 100 km buffer zones.

Figure 5 and Table S2 in Supplementary Information reveal that when 100 km × 100 km grids are used as the spatial analytical units, the effects of hydro-climatic extremes (floods & droughts) on armed conflicts become more significant than when prefectures are used as spatial units. Total hydro-climatic extremes (flood & drought) strongly correlate with armed conflicts across all buffer zone settings (no buffer, 10 km, 25 km, and 50 km). However, the IRR values decrease as the buffer zone expands, reinforcing the trend observed in the previous analysis. As for normal floods and extreme floods, their effects are the greatest when setting a 10 km buffer zone: the incidence of armed conflicts corresponds to an increase of 55.7% (p < 0.01) and 136.4% (p < 0.01) for normal floods and extreme floods respectively with an increase of 1 unit and then decreases with the buffer zone expansion. These two hydro-climatic extremes have the same effect on armed conflicts in 25 km and 50 km buffer zones. Compared to floods, droughts are not significantly correlated with armed conflicts under both data treatments.

Fig. 5: The impact of hydro-climatic extremes on armed conflicts during the Taiping Rebellion, with 100 km × 100 km grids as the spatial analytical units.
figure 5

a Model without buffer zones; b Model with 10 km buffer zones; c Model with 25 km buffer zones; d Model with 50 km buffer zones; and e Model with 100 km buffer zones.

The effect of hydro-climatic extremes on armed conflicts in different time segments

Since Fig. 3 shows that different wet and dry patterns are exhibited in the first half (1851–1857) and the second half (1858–1864) of the Taiping Rebellion, we performed time-segmented sample regression on the Taiping Rebellion data to test the robustness of our findings presented in the previous section. The results show that hydro-climatic extremes, especially floods, had a positive impact on the incidence of armed conflicts in both the first half and the second half of the Taiping Rebellion, regardless of which spatial analytical unit was used (Tables S3S6 in Supplementary Information).

The cumulative effect of hydro-climatic extremes on armed conflicts

To further explore the cumulative impacts of hydro-climatic extremes during the Taiping Rebellion, we conducted a cross-sectional Poisson model. The related results are presented in Tables S7 and S8 in Supplementary Information. Hydro-climatic extremes are strongly and positively correlated with armed conflicts at all buffer zone ranges, whether using prefectures or 100 km × 100 km grids as the spatial analytical units. Taking the data processed by grids as an example, hydro-climatic extremes have the most significant impact on armed conflicts when no buffer zones are set: for every unit increase in total hydro-climatic extremes (floods & and droughts), the incidence of armed conflicts increases by 12.8%, 23.0%, 50.9%, 30.2%, and 153.2% for normal floods, extreme floods, normal droughts, and extreme droughts, respectively. It is important to note that while droughts are not correlated with armed conflicts in the panel Poisson fixed-effects estimation, their cumulative effects on armed conflicts appear to be more pronounced than those of floods. This suggests that droughts do not have an immediate impact on conflicts within the same year. However, prolonged droughts do have a significant effect on the incidence of armed conflicts over time.

Discussion

Hydrological and climatic variability affects human societies primarily through intermediary socio-economic factors, particularly in agrarian communities where agricultural production and governance are key determinants of social stability. This relationship has been well-documented in previous studies at the global level60,61,62,63. Although our statistical models do not include these intermediary factors explicitly, their crucial role in mediating the relationship between climate events and conflicts cannot be neglected. Therefore, our findings are interpreted in light of historical evidence and contextual information related to these factors.

Previous studies show that the intensity of droughts and floods and their subsequent impacts on societies vary across regions14,60,64,65,66. The results of this study indicate that floods have a more pronounced impact on armed conflicts than droughts, with the severity of flooding positively correlating with the likelihood of armed conflicts. Droughts, on the other hand, only impact armed conflicts if they are prolonged and continuous. This may be attributed to how floods and droughts affect agricultural output and economic activities. Both extreme floods and droughts result in significant agricultural losses; however, their impacts differ in nature and immediacy. Floods tend to cause sudden and severe destruction of farmland and settlements67, often forcing affected individuals to abandon their homes and relocate to nearby areas. In contrast, droughts develop more gradually, affecting agricultural production over a longer period and are generally easier to manage67. In the short term, the southern regions in China, where the Taiping Rebellion predominantly occurred, were better equipped to cope with drought due to their dense river networks and extensive water infrastructure68,69, which helped to alleviate water shortages. Furthermore, the widespread cultivation of drought-resistant crops such as sweet potatoes and maize likely softened the impact of drought on agricultural output12. Hence, droughts had a comparatively smaller effect on food production than floods67, and were less likely to cause large-scale displacement to nearby cities in the short term.

This study employs two spatial data frameworks—Qing administrative divisions and 100 km × 100 km grids—to examine the relationship between hydro-climatic disasters and civil conflicts during the Taiping Rebellion. Our regression results are more significant for 100 km × 100 km grids as the spatial analytical units. This may be because hydro-climatic extremes do not evolve along administrative divisions, and the use of grids captures their free-dispersing effects better than the use of administrative divisions in the data treatment. The findings from both spatial frameworks consistently demonstrate that floods significantly influence the emergence of armed conflicts in neighboring regions, supporting our hypothesis that flood-induced displacement contributes to civil unrest in adjacent areas. This finding aligns with historical evidence. For instance, in 1848, severe flooding struck Changsha City in Hunan Province, displacing hundreds of thousands of people. The resulting influx of refugees into the city led to widespread theft and robbery both within the city and in surrounding areas49. Similarly, in the summer of 1853, flooding in Gaoyou, Jiangsu Province, drove large numbers of refugees into Yangzhou, causing grain prices to spike and triggering incidents of small-scale grain looting70. A comparable situation occurred in Huzhou, Zhejiang Province, in 1860, when conflict erupted between flood refugees and local farmers over farmland. The government responded by deploying troops to suppress the violence71.

Moreover, the extent to which floods impact armed conflicts appears to depend on the mobility of displaced populations, as measured by the defined buffer zones. Our regression results indicate that in 100 km × 100 km grids, the influence of both normal and extreme floods on armed conflicts increases when the buffer zone is set in our statistical models, peaking at a distance of 10 km, and then gradually declines. In contrast, within a broader 100 km buffer zone, there appears to be little correlation between flood events and conflict incidence. This pattern reaffirms that floods trigger conflicts primarily through the displacement and migration of affected populations. Flood victims are more likely to relocate to nearby counties rather than distant major cities, thereby increasing the likelihood of conflict in areas closer to the origin of the disaster. This may be due to two different factors. One is that catastrophic floods devastate homes and farmland, leading to famine and poverty, which in turn decreases the mobility of refugees. In unison, local authorities often restricted refugee access to major administrative centers or cities to prevent looting, theft, and potential uprisings, particularly during large-scale displacements caused by extreme floods. This strategy was particularly evident in the capital, Beijing, where Qing Dynasty authorities set up border checkpoints to prevent refugees from entering the city72. In unison, the government also set up congee kitchens and shelters on the outskirts of the capital and in nearby counties and cities to support some of the displaced population73. However, these measures shifted the burden to lower-level administrative units, which faced increased pressure to accommodate refugees, heightening the risk of armed conflicts.

The Taiping Rebellion emerged against hydro-climatic extremes that intensified already fragile population-environment dynamics. Before the rebellion, the Guangxi region suffered from prolonged floods and droughts, which devastated agricultural land and displaced large numbers of peasants74,75. Many of these landless peasants moved to urban centers such as Nanning and Guilin in search of livelihoods76,77. However, the influx of refugees into cities with already limited resources worsened food shortages, drove up prices, and fueled tensions between local residents and newcomers39,74,75. For instance, in Wuzhou Prefecture, the drought of 1845 triggered a sharp rise in refugee numbers. Competition between refugees and locals over access to water escalated into violent riots78. In 1849, another severe drought struck Guangxi. In response, desperate refugees looted food supplies in Liuzhou and Guilin and even attacked local authorities for releasing grain from government storage77,79.

The Qing government’s response to the growing unrest was widely regarded as a failure. Instead of addressing the root causes of the crisis, authorities suppressed the refugees and continued to impose taxes even during times of famine80. In stark contrast, the Taiping Heavenly Kingdom’s platform, promising shared land and food (plowing together, eating together), resonated strongly with the starving and landless displaced population81. Capitalizing on this discontent, rebel leader Hong Xiuquan distributed food to refugees, winning over many followers. As local governance collapsed and the appeal of land redistribution grew, displaced people gradually united to form the foundation of a militia force82. By the time of the Jintian Uprising in 1851, over half of the initial 20,000 participants were displaced peasants who had lost their homes due to hydro-climatic extremes83. This was recorded in the Records of Guiping County that most of the participants were displaced persons with “hungry faces”77. The Taiping Rebellion emerged out of these challenging climatic and socio-economic conditions.

In the case of the Taiping Rebellion, the process from the outbreak of hydro-climatic extremes to the armed conflicts also involved the migration of refugees, the failure of local governance, and the collapse of the economy. The chaotic migration and the influx of impoverished and homeless refugees caused environmental overload in the receiving regions, which triggered a series of negative socio-economic consequences. Nowadays, there are still many underdeveloped countries whose socio-economic settings are very similar to the historical agrarian societies (like the Qing dynasty), facing the short-term challenge of not being able to enhance the carrying capacity of the environment (e.g., increase crop yields)84 and enhance local governance capacity85 in the short term. It is necessary to consider the scale of climate refugee migration, their migration capacity, and strategies to manage the risk of conflicts. Climate refugee migration is now more cross-border (e.g., transnational movements triggered by droughts in sub-Saharan Africa86,87). However, the absence of a targeted protection framework in international law (climate refugees are not covered by The 1951 Refugee Convention) increases the risk that those who cross borders will have to move through informal channels88,89. All of these call for the international community to expand the legal framework for climate refugees and to plan for orderly migration to reduce climate change-triggered conflicts.

This study provides a nuanced examination of the impact of hydro-climatic extremes on violent conflicts during the Taiping Rebellion, offering new insights into the spatial dynamics of climate-induced social unrest. By employing the panel Poisson fixed-effects estimation, we demonstrate that floods had a more significant influence on the outbreak of armed conflicts than droughts. The intensity of floods positively correlates with conflict frequency, a finding consistently supported by both prefecture and 100 km × 100 km grid spatial data.

Our analysis shows that the spillover effects of hydro-climatic extremes, primarily driven by refugee migration, vary with distance from the disaster’s origin. Floods are more likely to trigger conflicts in nearby smaller, sub-regional cities rather than in distant, inter-provincial towns. The impact of both normal and extreme floods on armed conflicts decreases as the buffer zone expands, echoing the refugee mobility during the late Qing Dynasty.

Moving beyond the static analysis of the climate-conflict nexus, this study advances our understanding of how spatial and environmental factors interact to shape social stability. The findings underscore the importance of considering spatial heterogeneity and migration dynamics when assessing the broader societal impacts of climate extremes. In doing so, this research illuminates the complex mechanisms by which climate variability can exacerbate underlying social tensions, offering valuable lessons for contemporary discussions on climate change and violent conflicts.