DataFamine chronology
We used the most recent compilation of famines in early modern Europe from Ljungqvist et al.7, who revised and updated the lists from Alfani and Ó Gráda5,62 to provide a comprehensive chronology of famine years. The following European regions from 1500 to 1800 were included: central Europe, France, Great Britain, Ireland, Italy, the Low Countries, the Nordic countries, Spain and Ukraine/Russia (and Belarus). The list of famine years only indicates the presence of famine conditions in a region but does not inform us about the severity or geographical extent of the famine in the given region. For most pre-nineteenth-century European famines, such information is frequently unavailable because of source limitations.
Climate reconstructions
We used a recently published tree-ring-based ENSO reconstruction from Cook and Cane27. This climate field reconstruction of tropical Pacific SSTs (HadISST63) for boreal winter (December–February) is based on a circum-Pacific tree-ring network from regions known to be affected by El Niño rainfall. The dominant mode of the SST field was skilfully reconstructed back to 1100 CE and captures the long-term variability of El Niño exceptionally well back to 1500 CE27. Our metric for ENSO is the NINO3.4 region (5° N–5° S, 170° W–120° W). We used the anomaly in degree Celsius SST for each region, measured as the deviation from the 1801–1900 mean SST. This targets only the boreal winter season (December–February), when ENSO has the strongest effect on global climate.
Our climate analysis focuses on boreal late-spring and early-summer temperature and precipitation (average of AMJJ), winter temperature and precipitation (average of NDJF) and JJA soil moisture. The seasonal window AMJJ captures the main growing season for grains of all types across Europe during the early modern period. While autumn-sown wheat and rye, as shown by Ljungqvist et al.39, were influenced by winter conditions in parts of Europe, the key season was still late spring and early to mid-summer.
For temperature and precipitation, we used the ensemble mean 2-metre air temperature and total precipitation from the Modern Era Reanalysis (ModE-RA)35. ModE-RA is a global monthly palaeo-reanalysis covering the period 1421 to 2008. To reconstruct past climate fields, an offline data assimilation approach is used, blending information from an ensemble of transient atmospheric model simulations and instrumental observations. In the early period, ModE-RA uses natural proxy data and documentary data, while from the seventeenth century onwards, instrumental measurements are also assimilated64. ModE-RA is systematically assessed through comparisons with independent time series, gridded instrumental observations and other proxy-based palaeoclimate reconstructions. Unlike most palaeo-reanalyses, which rely on non-transient priors from climate simulations with low-frequency variability driven by the assimilated proxy data, ModE-RA derives its centennial-scale variability from the model’s response to external forcings. We took advantage of ModE-RA’s monthly temporal resolution—unlike earlier reconstructions by Luterbacher et al.65 and Pauling et al.66—to flexibly construct temperature and precipitation maps for AMJJ and NDJF.
For soil moisture, we used the Old World Drought Atlas36. This resource is a gridded, annually resolved reconstruction of summer (JJA) hydroclimatic variability across Europe and North Africa over the Common Era. It is based on an extensive network of tree-ring chronologies from living, archaeological and sub-fossil material, standardized to preserve long-term variability. The applied climate field reconstruction method was the point-by-point regression with ensemble weighting against the scPDSI. The Old World Drought Atlas provides year-to-year maps of drought and pluvial conditions on a 5,414-point 0.5° × 0.5° longitude–latitude grid, which enables detailed characterization of hydroclimatic variability during the early modern period in Europe.
We further incorporated state-of-the-art reconstructions of additional large-scale climate drivers to isolate the effect of ENSO. Specifically, we used the calibrated NAO reconstruction from Ortega et al.32 and the JSL reconstruction from Xu et al.33. Both variables are available at the annual scale and capture broad, continental to hemispheric-scale circulation patterns.
For our panel of famine episodes, we assigned every region a unique scPDSI/temperature/precipitation value per year based on the spatial average over that region. For subsequent analyses conducted at the sub-regional level (that is, city, district or estate), we geocoded each location and assigned the grid cell(s) closest to its latitude and longitude coordinates to extract local climate values. The temperature and precipitation data are provided at a spatial resolution of 1.8° × 1.8°, while the scPDSI data are at a finer resolution of 0.5° × 0.5°. We used a 1° × 1° radius around the coordinates provided for the scPDSI to match the coarser temperature resolution. This larger radius also smooths our ENSO–scPDSI teleconnection partitions. Note that to weight the scPDSI, temperature and precipitation fields according to their area on a sphere, each grid point is multiplied by \(\sqrt{\cos \phi }\), where ϕ is the latitude.
Commodity prices and grain harvests
We used annual grain price time series published by Ljungqvist and Seim11 for each given city and year. We show that our results are similar when using other grain price compilations in Supplementary Section 9.2. For fish prices, we used a compilation that spans eight European cities (Amsterdam, Antwerp, Barcelona, Bergen, Gdansk (Danzig), London, Munich and Vienna), with cod and herring prices, derived from Matthews49, Allaire and Holm53 and the Allen–Unger Global Commodity Prices Database67.
We included an extensive compilation of quantitative harvest data from the published literature (much of which was included in Ljungqvist et al.39). The assembled data include harvest data from present-day Denmark, France, Germany, Hungary, Italy, Spain, Switzerland and Sweden. We used three main types of harvest data: (1) tithe records from regions where tithes reflected actual fluctuations in harvest size; (2) yield ratios—measuring the quantity harvested relative to the amount sown—from individual farms and estates; and, more rarely, (3) total yield quantities recorded for individual farms, estates or larger districts.
A detailed list of references for the grain harvest and price data is provided in Supplementary Section 1.
Armed conflict measures
To estimate the annual number of conflict fatalities in Europe as a whole, we used the Conflict Catalog, a taxonomy of the most severe recorded historical armed conflicts31. To calculate the yearly fatalities from events that span multiple years, the total fatalities for each event were evenly distributed across all the years of its duration. This method aggregates overlapping events by summing their contributions within each year. Although the assumption of even distribution across years may be less accurate for protracted conflicts such as the Thirty Years’ War (1618–1648), no reliable source provides annualized fatality estimates for such multi-year events, to our knowledge. Similarly, we computed the number of ongoing wars in a given year.
ENSO and the onset of famine episodesCausal inference
We examined the causal impact of ENSO on the onset of famine episodes using a fixed-effects linear probability model. Specifically, we estimated the conditional probability of famine onset as:
$${\text{Onset}}_{i,t}={\alpha }_{i}+{\gamma }_{\text{Decade}(t)}+{\delta }_{i} {\text{ENSO}}_{t}+{{\bf{x}}}_{i,t}\beta + \varepsilon_{it}$$
(1)
where Onseti,t is an indicator equal to 1 if region i experiences a famine in year t but not in year t − 1, and 0 otherwise. Here, αi denotes region fixed effects, which absorb time-invariant regional characteristics; γDecade(t) captures decade fixed effects; δi ⋅ ENSOt allows for region-specific sensitivity to ENSO anomalies (measured using the NINO3.4 index); and xi,t is a vector of time-varying control variables. The error term is denoted εi,t.
We first estimated this relationship using a linear probability model, which provides a transparent baseline for interpreting marginal effects. We used Driscoll–Kray standard errors to correct for autocorrelation and heteroskedasticity.
The fixed effects in equation (1) are central to our identification strategy. By absorbing location-specific and time-trending influences on famine onset non-parametrically, they isolate the contribution of ENSO from both observed and unobserved confounders. This approach is more robust than attempting to enumerate and control for the other possible drivers of famine directly. In effect, the specification attributes variation in famine onset to idiosyncratic ENSO shocks within a region and year, supporting a causal interpretation of the parameter δi. We also report the results of these regressions in table form, as well as a similar logistic regression model, in Extended Data Table 1.
Machine learning attribution
We next quantified the contributions of ENSO and other predictors (regional temperature, precipitation, soil moisture and armed conflict) to famine onsets in central Europe using a gradient boosting classifier68. This approach relaxes the linearity assumption of the previous paragraph and captures potentially complex, nonlinear interactions among covariates.
Formally, the fitted model defines a nonlinear mapping f:
$${\mathbb{P}}({\text{Onset}}_{t}=1| {{\bf{x}}}_{t},{\text{ENSO}}_{t})=f({{\bf{x}}}_{t},{\text{ENSO}}_{t})$$
where xt is the vector of covariates at time t and ENSOt is the NINO3.4 index anomaly.
Model hyperparameters were tuned via 10-fold cross-validation to maximize predictive accuracy for classifying each year as a famine onset or non-onset (see Table 1 for the grid).
Table 1 Hyperparameter grid used for tuning the gradient boosting classifier via cross-validation
Using the fine-tuned model, we estimated the number of central European famine onsets attributable to positive ENSO anomalies. Let \({{\mathcal{T}}}_{+}=\{t:{{\rm{Onset}}}_{t}=1,\,{{\rm{ENSO}}}_{t} > 0\}\) denote the observed famine-onset years with a positive NINO3.4 anomaly, and define the counterfactual ENSO series
$${{\rm{ENSO}}}_{t}^{{\rm{CF}}}=\left\{\begin{array}{ll}0,\quad &t\in {{\mathcal{T}}}_{+},\\ {{\rm{ENSO}}}_{t},\quad &\,\text{otherwise}\,.\end{array}\right.$$
The model is evaluated under both the observed and counterfactual ENSO series,
$${\hat{{\rm{Onset}}}}_{t}^{{\rm{OBS}}}={\bf{1}}\,\left\{f({{\bf{x}}}_{t},{{\rm{ENSO}}}_{t})\ge \tau \right\},\qquad {\hat{{\rm{Onset}}}}_{t}^{{\rm{CF}}}={\bf{1}}\,\left\{f({{\bf{x}}}_{t},{{\rm{ENSO}}}_{t}^{{\rm{CF}}})\ge \tau \right\},$$
using a fixed classification threshold of τ = 0.5. The number of famine onsets attributable to positive ENSO anomalies is then
$${N}_{{\rm{ENSO}}}=\sum _{t}{{\rm{Onset}}}_{t}\left({\hat{{\rm{Onset}}}}_{t}^{{\rm{OBS}}}-{\hat{{\rm{Onset}}}}_{t}^{{\rm{CF}}}\right),$$
which counts historical famine onsets correctly identified under the observed ENSO conditions but not under the counterfactual.
Model performance was evaluated both in-sample and out-of-sample via cross-validation, providing a robust assessment of the classifier’s predictive skill. We show that using different subsets of predictors yields comparable results in Supplementary Section 3.
Dynamic causal effect of ENSO on prices and harvests
We estimated the dynamic causal effects of ENSO shocks using panel local projections41. Specifically, for each horizon h = 0, …, H, we estimated the following regressions.
For grain harvests, where g indexes grain type, r indexes the harvest proxy (tithe, yield or yield ratio), δi,g,r,h are record fixed effects, ϕit is a record-specific linear time trend and Ti ∈ {0, 1} indicates whether record i is teleconnected to ENSO, we estimated:
$$\begin{array}{l}{\rm{ln}}({\text{GrainHarvest}}_{i,g,r,t+h})-{\rm{ln}}({\text{GrainHarvest}}_{i,g,r,t-1})\\={\theta }_{h}\,{\text{ENSO}}_{t}+{\psi }_{h}\,({T}_{i}\, {\text{ENSO}}_{t})+{\bf{x}}^{{\prime} }_{i,t}{{\mathbf{\beta }}}_{h}+{\delta }_{i,g,r,h}+{\gamma }_{h,\text{Decade}(t)}+{\phi }_{i}t+{\varepsilon }_{i,g,r,t+h},\end{array}$$
(2)
where θh is the baseline response on weakly affected records and θh + ψh is the response on teleconnected records. The control vector xi,t includes three lags of ENSO (ENSOt−1, ENSOt−2, ENSOt−3) in all three specifications.
For grain prices:
$$\begin{array}{l}{\rm{ln}}({\text{GrainPrice}}_{i,t+h})-{\rm{ln}}({\text{GrainPrice}}_{i,t-1})\\={\theta }_{h}\,{\text{ENSO}}_{t}+{\psi }_{h}\,({T}_{i}\, {\text{ENSO}}_{t})+{\bf{x}}^{{\prime} }_{i,t}{{\mathbf{\beta }}}_{h}+{\delta }_{i,h}+{\phi }_{i}t+{\gamma }_{h,\text{Decade}(t)}+{\varepsilon }_{i,t+h},\end{array}$$
(3)
where GrainPricei,t is the price of grain in city i at time t, and δi,h represents city fixed effects estimated separately at each horizon h.
For fish prices, where s indexes species (cod or herring), δi,s,h are city–species fixed effects and Ds is a species indicator, we estimated:
$$\begin{array}{l}{\rm{ln}}({\text{FishPrice}}_{i,s,t+h})-{\rm{ln}}({\text{FishPrice}}_{i,s,t-1})\\={\theta }_{h}\,{\text{ENSO}}_{t}+{\psi }_{h}\,({D}_{s}\, {\text{ENSO}}_{t})+{\bf{x}}^{{\prime} }_{i,t}{{\mathbf{\beta }}}_{h}+{\delta }_{i,s,h}+{\phi }_{i}t+{\gamma }_{h,\text{Decade}(t)}+{\varepsilon }_{i,s,t+h},\end{array}$$
(4)
where θh and θh + ψh capture the dynamic causal effect of interest at horizon h, which we interpret as the impulse response function. xi,t is a vector of potential control variables (including three lags of ENSO in the main models), and γDecade(t) are decade fixed effects that control for common long-run shocks across locations. The error term εi,t+h may be serially correlated. The inclusion of fixed effects is essential for the causal interpretation of these parameters, as they absorb location-specific factors and decadal trends, isolating the effect of ENSO shocks from confounding factors, just as the fixed-effects specification does in equation (1). Our main findings remain robust across an alternative model specification, as discussed in Supplementary Section 9.1. Because the ENSO shock does not vary by location, the error term may exhibit both serial and cross-sectional dependence. For inference, we therefore relied on Driscoll and Kraay69 standard errors, which are robust to such dependence. In Supplementary Section 9, we further assess robustness using alternative estimators that explicitly account for spatial autocorrelation. We set H = 3 for grain harvests and a longer horizon of H = 10 for prices, as price responses to climatic shocks are likely to exhibit greater persistence than harvests.
Survival analyses of faminesCausal inference
To evaluate how ENSO influences the hazard of famine termination, we used a Cox proportional hazards model70. We estimated the effect of time-varying ENSO conditions on the hazard of event termination using a time-dependent Cox proportional hazards model with stratification by region, which allows the baseline hazard to vary across regions. The hazard function for famine i in region r at time t is specified as:
$${h}_{i}(t| {\text{ENSO}}_{i}(t),{\bf{X}}(t),r)={h}_{0r}(t)\exp \left({\mathbf{\beta}} \, {\text{ENSO}}_{i}(t)+{{\mathbf{\gamma }}}^{\top }{\bf{X}}(t)\right),$$
(5)
where hi(t∣⋅) is the hazard rate for famine i at time t, h0r(t) is an unspecified region-specific baseline hazard for region r, ENSOi(t) is a time-varying covariate capturing ENSO conditions (NINO3.4 index) at time t for famine i, β is the coefficient capturing the sensitivity of the hazard with respect to ENSO, X(t) is a vector of time-varying control covariates and γ is the corresponding vector of coefficients.
In the Cox proportional hazards framework, coefficients are estimated on the log-hazard scale. The coefficient β corresponds to a hazard ratio of exp(β). This hazard ratio represents the multiplicative change in the hazard of famine termination associated with a +1 °C increase in ENSO, holding other variables constant. The percentage change in hazard can then be computed as exp(β) − 1.
By stratifying the baseline hazard across regions, the model flexibly accounts for unobserved regional heterogeneity in baseline famine risks while still estimating a common effect of ENSO and other covariates. We verified the robustness of our estimates by including additional time-varying controls, such as the Jet Stream Latitude (JSL), the NAO and the number of wars in a given year, and by comparing specifications with clustered standard errors and region-level frailty terms. Incorporating these controls and modelling choices is important for causal interpretation, as they help account for potential confounding factors and unobserved heterogeneity that could otherwise bias the estimated effect of ENSO on famine duration.
Machine learning prediction
For our predictive exercise, we used four different survival models: a standard Cox proportional hazards regression, an elastic-net Cox regression71, a random survival forest72 and a gradient boosting survival analysis—that is, a gradient-boosted Cox proportional hazard loss with regression trees as base learner73. All models use the average values of the selected predictors (NINO3.4, temperature and precipitation indices, JJA scPDSI and armed conflict measures) over the famine episode, with famine duration as the outcome variable.
We employed a cross-validation approach to estimate out-of-sample performance. The nested cross-validation procedure ensures that hyperparameter tuning does not bias the estimate of out-of-sample performance. By performing an inner cross-validation to select the best hyperparameters and an outer cross-validation to evaluate model performance, we obtained an unbiased estimate of the concordance index for unseen data.
The training and evaluation procedure for each model is as follows:
(1)
Define an outer k = 10-fold cross-validation split to evaluate model performance on unseen data.
(a)
Within each outer training fold, perform an inner k = 10-fold cross-validation to tune hyperparameters via a grid search. Select the hyperparameter combination that maximizes the mean concordance index across the inner folds. The specific hyperparameter grids used in this search are detailed in Supplementary Section 7.
(b)
Refit the model with the selected hyperparameters on the entire outer training fold and evaluate its predictive performance (concordance index) on the corresponding outer test fold.
(2)
Aggregate the performance estimates across all outer folds to obtain the model’s out-of-sample concordance index (mean and standard deviation).
(3)
After completing the nested cross-validation, refit each model on the full dataset using the best hyperparameters identified in the inner loops, and compute permutation feature importances to assess variable contributions to predictive performance.
Robustness checks
We conducted a series of robustness checks to test the sensitivity of our findings on famine onsets, duration, grain and fish prices and agricultural yields to modelling assumptions, data sources and inference methods. A summary is provided in Supplementary Table 11.
Permutation tests
We assessed the robustness of our results by randomly permuting the ENSO sequences across years in the panel datasets and re-estimating the models. The observed effects consistently fall well outside the 95% CIs of the resulting placebo distributions (Supplementary Figs. 15 and 16).
Alternative data sources
Using the grain price datasets from Federico et al.46 and Allen74 results in impulse responses nearly identical to our main analyses using the dataset from Ljungqvist and Seim11 (Supplementary Fig. 14a,b). Using the earlier, less extensive, compilation of yield ratio time series of Slicher van Bath42, we again found a strong ENSO effect—if anything, larger than in our main estimates (Supplementary Fig. 14c). This result probably reflects the narrower coverage of the Slicher van Bath42 dataset, which includes a high share of central European time series.
Alternative model specifications
We re-estimated the effects of ENSO on famine duration using parametric hazard models (Weibull, log-logistic and Tobit), which consistently indicate statistically significant positive effects of ENSO anomalies on famine duration (Supplementary Table 12). Additionally, we used fixed-effects regressions to model famine duration, grain prices and harvests. These models, including contemporaneous and lagged ENSO shocks, confirm strong and persistent effects (Supplementary Tables 13–17). We also rejected evidence of nonlinear impacts of ENSO on famine onsets and prices (Supplementary Fig. 13).
Sample composition
We showed that our main results are robust to alternative samples and exclusion tests. The dynamic effects of ENSO on prices and harvests are largely insensitive to excluding one location at a time or to dropping 20-year blocks, leaving the impulse responses unchanged (Supplementary Fig. 18). Similarly, our famine onset and duration results are robust to excluding individual famine episodes, with baseline estimates remaining well within the range of leave-one-out re-estimates (Supplementary Fig. 17).
Inference and standard errors
Our results are robust to alternative standard error corrections, including Conley spatial clustering and two-way clustering (Supplementary Fig. 19).
Software
Econometric analyses were performed in R (v.4.5.1)75 using fixest (v.0.14.0)76 for the linear probability, logit and local-projection models and survival (v.3.8.3)77 for the Cox proportional hazards models. Machine-learning analyses and climate-field processing were performed in Python (v.3.10.18)78 using scikit-learn (v.1.7.1)79, scikit-survival (v.0.25.0)80, SciPy (v.1.15.2)81 and xarray (v.2025.6.1)82. Maps were drawn with Cartopy (v.0.25.0)83, with base layers (coastlines, land and ocean) from Natural Earth (public domain). The full list of packages and versions is provided with the code (see Code availability).
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.