Abstract
Global warming and the rising frequency of extreme climate events pose significant threats to food security. We examine the influence of climate change on food security in Sub-Saharan Africa, with a specific emphasis on four key crops: maize, rice, wheat, and soybeans. We employ a random forest model to estimate spatial and temporal yield trends based on climate variables, land‑use patterns, and irrigation ratios. We also studied the differential impacts of climate change on various crop types, taking into account their physiological characteristics and responses to changing environmental conditions. This prediction is performed under three Shared Socioeconomic Pathways (SSP2‑4.5, SSP3‑7.0, SSP5‑8.5)—using five global climate models (GCMs): BCC-CSM2-MR, CanESM5, IPSL-CM6A-LR, GFDL-ESM4 and MPI-ESM1-2-LR. The findings suggest the following: (1) Maize, a C4 crop, is projected to experience a severe decrease in future harvests, especially under the SSP5-8.5 scenario. The worst declines are forecasted in eastern South Africa and Zambia. (2) Both rice and wheat are C3 crops that experience a “CO2 fertilization effect,” resulting in an increase in yields over time. The SSP5-8.5 scenario primarily focuses on the increase in rice production in West Africa, highlighting this phenomenon. Conversely, significant increases in wheat yield are observed in South Africa and Nigeria. (3) Soybean, a C3 nitrogen-fixing crop, is projected to retain consistent yields overall but with a modest decline in comparison with past norms. The general distribution pattern of soybean yields remains mostly consistent across the SSP scenarios, with the increase in high-yield regions occurring primarily in South Africa.
Similar content being viewed by others
Introduction
The present state of global food security is confronted with significant obstacles. The Global Food Crisis Report 2024 (GRFC), which was published by various organizations, including the Food and Agriculture Organization (FAO) of the United Nations and the World Food Programme (WFP)1, revealed that in 2023, approximately 282 million people in 59 countries and regions worldwide experienced severe food insecurity. This represents an increase of 24 million people compared with the previous year, indicating a significant deterioration in the food security situation. According to the Sixth Assessment Report of the IPCC, climate change has substantial and diverse effects on food security. The analysis suggests that due to global warming, heat waves and agricultural droughts are more common, resulting in a decrease in crop production worldwide. Temperature increases in several regions, including South and Central America, Asia, and Africa, are expected to cause a decline in maize yields of up to 35%2. Climate change not only results in decreased crop yields but also increases the occurrence and severity of extreme weather events, posing a greater risk to the stability of food production and supply networks. In Africa, the food security situation is quite severe due to the prevailing climate conditions. A significantly larger percentage of the population in Africa experiences hunger than other regions do, with approximately 20% of the population affected3. Maize is the predominant food in Sub-Saharan Africa4, with rice production also increasing in the region5. Wheat and soybeans are also essential food crops in certain countries6,7. However, all of these crops face difficulties due to climate change and constraints on essential resources—such as water availability, arable land, soil nutrients, and agricultural inputs. Consequently, evaluating the effects of climate change on food security in Africa will provide a comprehensive understanding of the various impacts of climate change on agricultural production. This will facilitate the development of efficient and sustainable food security strategies and adaptation measures—recognizing that increased agricultural production is a key measure of food security.
Extensive research has been conducted on the consequences of climate change for agricultural productivity, with a primary emphasis on examining how alterations in temperature and precipitation patterns affect crop yield. Li et al.8 performed a thorough examination of the correlation between climate change and agricultural pests. They reported that rising temperatures and changes in precipitation patterns not only directly affect crop yields but also indirectly impact crop production by altering the growth and reproduction cycles of pests. Dhaliwal et al.9 found that growing‑season temperatures exceeding 30 °C during anthesis reduce sweet corn yields by approximately 0.5% in irrigated fields and by 2% in rainfed fields. Hawkins et al.10 reported that maize yield in France increased significantly from the 1960s to the 2030s as a result of thermal stress and that maize yield declined significantly during periods of high temperatures as temperatures rose. Piao et al.11 explored the impacts of climate change on water resources and agriculture in China, where warmer temperatures and changes in precipitation patterns significantly affect rice and wheat yields. Berg et al.12 found that, despite C4 crops’ inherent heat tolerance, projected warming and altered precipitation patterns could markedly reduce tropical maize and sorghum yields, and that CO₂ fertilization only partially offsets these losses, especially in arid Köppen zones where rainfall uncertainty is greatest, thus threatening local food security. Challinor et al.13 combined process-based crop modelling with province‑level socioeconomic data, including fertilizer inputs, agricultural investment and rural household counts, to derive a vulnerability index that they applied to modelled drought events. They showed that elevated temperature extremes and precipitation variability significantly increase the risk of wheat crop failure in Northeast China. Proctor’s14 research further confirmed the significant reduction in rice yield caused by high temperatures and irregular precipitation patterns, particularly during critical growth stages. This finding reinforces the profound impact of temperature and precipitation changes on crop productivity. However, most of these studies focus on single crops or specific regions, failing to fully reveal the comprehensive impacts of climate change on multiple crops, especially in complex environments like Africa.
In addition, projects such as ISIMIP and AgMIP have made significant contributions to multi-model integrated assessments. ISIMIP evaluates climate impacts under standardized scenarios by integrating models from various fields, while AgMIP focuses on the agricultural sector, aiming to improve crop models and explore changes in socio-economic scenarios. Their latest CMIP6-forced ensembles reveal more pessimistic prospects for maize, soybean and rice, and earlier “emergence” of climate impacts than previously anticipated, while projecting larger CO2-related gains for wheat at high latitudes15 and estimating that once-in-a-century extremes could expose a further 11–36% of the world’s population to hunger by mid-century16. Nevertheless, these projects concentrate mainly on global or continental scales, with limited attention to the pronounced regional heterogeneity within Sub-Saharan Africa (SSA). Their process-based crop models also idealise land-use dynamics and water-management constraints, factors that heavily condition real-world production in resource-limited environments.
Machine learning techniques are extensively employed in scientific studies to forecast forthcoming food production. Guilpart et al.17 used machine learning techniques combined with climate data to study the self-sufficiency rate of soybeans in Europe and effectively predicted future yield changes. Ahvo et al.18 used the random forest algorithm to simulate the impact of agricultural inputs, revealing its significant impact on crop yields in major production regions around the world. Van Klompenburg et al.19 applied artificial neural networks to successfully predict wheat yields in Argentina, which further demonstrated the effectiveness of machine learning techniques. Srivastava et al.20 investigated the yield prediction of winter wheat via convolutional neural networks (CNNs) in combination with weather, soil, and crop phenology data, effectively improving the prediction accuracy and demonstrating the potential of deep learning in agricultural prediction. Lobell et al.21 developed a scalable crop yield mapper via satellite data and machine learning algorithms, demonstrating its application in large-scale crop monitoring. Crane-Droesch22 used a yield modelling strategy that involved a semi-parametric deep neural network to anticipate the substantial negative effects of climate change on maize yields. Han et al.23 utilized the Weather Research and Forecasting (WRF) model with Chemistry (WRF-Chem) and the extreme gradient boosting (XGBoost) machine learning algorithm to create a precise dataset of near-surface O3 concentrations for the entire Beijing‒Tianjin‒Hebei region from 2014 to 2019. Paudel et al.24 integrated crop modelling principles with machine learning to examine the efficacy of this approach in forecasting crop yields at the regional level for three nations and five specific crops. This study aims to investigate the benefits of using machine learning techniques in the prediction of crop yield on a wide scale. Prodhan et al.25 introduced a nonlinear ensemble machine learning technique to forecast upcoming droughts and their influence on simulated agricultural yields in South Asia. Furthermore, many existing research has paid insufficient attention to variables such as land use and irrigation practices when applying machine learning models, even though these factors are crucial for accurately predicting crop yields in resource-constrained environments.
Despite advancements in various methods, research on the impact of climate change on food security still faces several challenges, primarily manifested in the following aspects: (1) Previous research has focused primarily on investigating the effects of climate change on a single crop, with few studies exploring the impact of climate change on the yields of various crops; (2) the majority of studies have examined only the influence of climate-related factors, such as temperature and precipitation on food production, neglecting important other factors, such as land use and irrigation practices; (3) existing studies have focused mostly on a broad-scale analysis, failing to utilize detailed grid-scale analysis, particularly in the African region, which is a key area of concern for food insecurity; and (4) existing research on future forecasting lacks a thorough assessment of prospective changes in future crop yield due to a lack of integrated application of numerous models and scenarios.
In light of the shortcomings above and the necessity of existing studies, our study uses machine learning techniques to forecast trends in yield changes for four primary crops—maize, rice, wheat, and soybeans—in Sub-Saharan Africa. The evaluation relies on historical and projected simulated data for climate, land use, and irrigation. It utilizes three future climate scenarios (SSP2-4.5, SSP3-7.0, SSP5-8.5) and five climate models (BCC-CSM2-MR, CanESM5, IPSL-CM6A-LR, GFDL-ESM4 and MPI-ESM1-2-LR) at a grid scale of 0.5°. In addition, it examines the spatial and temporal evolutionary patterns of past and future crop yields, offering scientific support for the development of efficient agricultural policies and strategies to ensure food security.
Data and methods
Our study focuses exclusively on sub-Saharan Africa as the research region, primarily because it has unique characteristics, such as a wide range of climates, vulnerability to environmental changes, and heavy reliance on agriculture. These variables exacerbate the food security difficulties arising from global climate change in this region. Figure 1 illustrates the past trends of climate change (a–c) and the average crop yield distribution (d–g) in the area under investigation.
Historical climate trends and mean crop yields in Sub-Saharan Africa (1981–2015). (a) Monthly average maximum temperature (°C); (b) monthly average minimum temperature (°C); (c) total monthly precipitation (mm); (d–g) spatial maps of mean yield (t ha−1) for maize, rice, wheat, and soybean.
Our research process included the following steps. First, climate data, land type data, irrigation ratio data, and crop yield data were collected and processed. Next, we extracted feature variables and constructed the model input dataset, followed by data preprocessing. A random forest model was employed for training, validation, and performance evaluation. We combined historical data with three shared socioeconomic pathway (SSP) scenarios, specifically SSP2-4.5, SSP3-7.0, and SSP5-8.5, from five global climate models (GCMs): BCC-CSM2-MR, CanESM5, IPSL-CM6A-LR, GFDL-ESM4 and MPI-ESM1-2-LR to predict future yield change trends and analyse the characteristics of both historical and projected yield changes. The detailed workflow is illustrated in Fig. 2.
Technical overview of the analysis process.
Research data
The primary data utilized in this study are climate variables, land-use categories, irrigation ratios, and crop yields. Monthly climatic variables were derived to precisely capture the fluctuations in climate throughout the year. Additional variables were obtained on an annual basis to accurately represent long-term environmental patterns or agricultural methods over a prolonged duration. The historical data cover the time frame from 1981 to 2015, whereas the future data include the years 2030–2039, 2050–2059, and 2080–2089. All the datasets have a spatial resolution of 0.5°.
Crop yield data
Our study focused on investigating food security by analysing the yield of different crops as the target variable. The crop yield data were sourced from the global historical crop yield dataset of Scientific Data, which is freely accessible on the PANGAEA website (https://doi.org/10.1594/PANGAEA.909132). The dataset estimates annual yield statistics for maize, rice, wheat, and soybeans based on satellite-derived crop-specific vegetation indices and country yield statistics reported by the FAO, with a spatial resolution of 0.5°. Given the wide range of climates in Sub-Saharan Africa and its importance for food security, crop yield data not only demonstrate the direct influence of climate change on agriculture but also offer vital information for ensuring a stable food supply. This is crucial for assessing the effects of climate change and developing strategies for adaptation.
Climate data
The climate indicators we selected were total precipitation, monthly average maximum temperature, and monthly average minimum temperature. These climate variables have a direct effect on the growth cycle and production of crops26. The crop planting calendar in Sub-Saharan Africa is highly influenced by various environments, which range from arid to humid. As a result, there is substantial variation in the calendar across different locations, making it challenging to select specific months’ data as being representative27. Hence, opting for data encompassing all 12 months of the year can offer a more thorough depiction of the total influence of climate on crops, thereby furnishing a more precise foundation for later investigations. To assess whether using all twelve months of climate data might dilute the signal, we assembled country-level planting calendars for maize, rice, wheat, and soybean across Sub-Saharan Africa using the USDA’s global crop calendar. For each grid cell, we calculated both the growing-season mean (i.e., over locally defined planting–harvest months) and the 12-month annual mean of temperature and precipitation. We observed very high spatial agreement between seasonal and annual means, with Pearson’s correlation coefficients exceeding 0.85 for both temperature and precipitation across all four crops (Supplementary Table S1). We then trained two sets of Random Forest models per crop—one using only growing-season climate averages and one using the full 12-month climate series. The models based on growing-season inputs yielded slightly lower cross-validated R2 values compared to the full-year models (Supplementary Table S2). Given the strong concordance between seasonal and annual climate statistics and the modestly superior performance of full-year models, we conclude that including all twelve months does not introduce harmful noise but rather captures subtle inter-seasonal effects that improve predictive skill. Accordingly, we retained 12-month climate variables in our final analyses.
Historical climate data were obtained from the CRU website (https://crudata.uea.ac.uk), which includes monthly total precipitation, monthly average maximum temperature, and monthly average minimum temperature data, with a spatial resolution of 0.5°. Future climate model data were obtained from NASA’s Earth Exchange Global Daily Downscaled Projections (NEX-GDDP-CMIP6), which are available through the AWS Open Data Registry (https://registry.opendata.aws/nex-gddp-cmip6/). We selected future temperature and precipitation data from five GCMs—BCC-CSM2-MR, IPSL-CM6A-LR, CanESM5, GFDL-ESM4 and MPI-ESM1-2-LR—under three SSPs—SSP2-4.5, SSP3-7.0, and SSP5-8.5—with a spatial resolution of 25 km. SSPs are a collection of standardized routes employed in climate change studies to forecast future greenhouse gas emissions and socioeconomic growth patterns28. SSP2-4.5 describes a moderately developed “middle of the road” scenario, indicating a mild global warming trend29; SSP3-7.0 represents a more challenging development trajectory with high economic growth and low environmental sustainability30; and SSP5-8.5 forecasts extreme global warming by the end of the century, which could lead to severe ecosystem damage and widespread socioeconomic impacts31.
GCMs are sophisticated computer simulation systems utilized for the purpose of modelling and forecasting the complex dynamics of the Earth’s climate system, encompassing the atmosphere, ocean, land, and cryosphere32. The BCC-CSM2-MR model is known for its accurate simulation of global mean temperature and precipitation patterns33,34. IPSL-CM6A-LR emphasizes the simulation of marine biogeochemical cycles and their impact on the climate system35. CanESM5 is suitable for simulating global climate warming trends36.GFDL-ESM4 is recognized for its skill in capturing tropical precipitation variability and extreme weather events, offering robust projections of rainfall patterns that are critical for assessing climate impacts on African crop yields37. MPI-ESM1-2-LR features an advanced land surface component with dynamic vegetation schemes, improving the representation of land–atmosphere feedbacks and seasonal rainfall over Sub-Saharan Africa, which is essential for evaluating future changes in food production38. Aggregating forecasts from multiple GCMs can reduce the uncertainties associated with relying on a single model16, allowing for a more precise evaluation of climatic hazards for future food security in Sub-Saharan Africa.
To unify the treatment, we aggregated the daily climate data monthly and resampled them via bilinear interpolation to standardize the resolution of all the variables to 0.5°.
Land use data
The historical and future cropland type data we selected were sourced from the Land-Use Harmonization V2 (LUH2) dataset published by Geoscientific Model Development, with a spatial resolution of 0.25°. The farmland types selected to align with the features of the chosen crops are C3 annual plants, C3 nitrogen-fixing plants, and C4 annual plants. We resampled the geographical resolution to 0.5°.
Proportion of irrigation data
The irrigation ratio data were obtained from the official website of the Spatial Production Allocation Model (https://mapspam.info). The irrigation ratio is the ratio of the irrigated area to the harvested area. We selected historical irrigation and harvest data from the SPAM 2010 V2.0 dataset to represent the irrigation ratio for the entire historical period (1981 ~ 2015). For the future periods (2030s, 2050s, 2080s), we used the SPAM 2017 V2.1 dataset. Although the base year of this dataset is 2017, it incorporates model-based projections of agricultural production patterns, which can be used to simulate future scenarios. The original spatial resolution of the SPAM data is 10 km, and it was resampled to 0.5° to ensure consistency with other datasets. In this study, harvested area and irrigation ratio from SPAM are treated as fixed baselines for all forecast years; any changes in cropping extent or irrigation practices over time are not reflected in our projections.
Research methodology
We employed a random forest model to investigate the influence of climate change on food yields in Sub-Saharan Africa. The random forest algorithm was selected for its ability to handle high-dimensional data effectively39, including large datasets containing diverse climate, land, and irrigation factors. The model’s ability to mitigate overfitting by creating numerous decision trees and averaging their predictions reduces the variance of the model and hence minimizes the danger of overfitting40,41, which makes it an ideal predictive model for this research.
Each parameter is set during the model training process to enhance model performance, improve generalizability, and optimize computational efficiency. We began by splitting each crop dataset into an 80% training pool and a 20% hold-out set. Within the training pool, we performed an exhaustive grid search with five-fold cross-validation—over the number of trees (300, 400, 500, 600), the number of features considered at each split (“sqrt,” “log2,” or “None”), the maximum tree depth (None, 10, or 20), the minimum samples per leaf (1, 2, or 3), and the minimum samples required to split a node (2, 5, or 10). Out-of-bag scoring was enabled as an independent check on model performance. After selecting the best combination of hyper-parameters for each crop (via highest CV R2), we retrained the final Random Forest models on the full training pool. The optimal hyper-parameter settings for each crop are provided in Supplementary Table S3. To ensure the robustness of the results, we trained the model 20 times via different random seeds, with values ranging from 1 to 20. We also adopted a ten-fold cross-validation method to further enhance the rigor of the model evaluation. Moreover, to eliminate performance inflation arising from year-to-year autocorrelation, we complemented the conventional 80/20 random split with two explicitly time-aware validation schemes. First, we applied a five-fold GroupKFold in which all observations from the same calendar year were forced into the same fold; the model was trained on four year-blocks and evaluated on the remaining block, cycling until every block had served once as the test set. This blocked arrangement ensures that weather anomalies, management shocks, and reporting biases specific to a given year never leak simultaneously into training and evaluation. Second, we executed a leave-one-year-out (LYO) protocol that sequentially removes one entire year of data, fits the model to the remaining years, and predicts the held-out year—thereby providing the strictest possible temporal hold-out. For every fold of both schemes, we recorded the coefficient of determination (R2) and the root-mean-square error (RMSE); fold-wise scores were then averaged across folds (GroupKFold) or across years (LYO).
In the prediction phase, all 20 random forest models independently predict yields from multiband images, with the average of these predictions serving as the final yield prediction for that year. We finally obtained yield images of the four crops under the future scenarios, which facilitated the subsequent study of the spatial and temporal evolution characteristics of the future yields of each crop. Supplementary Fig. S1 displays the individual impact of each feature variable on the yields of the four crops.
Results
Model accuracy verification
In terms of performance evaluation, we used the coefficient of determination (R2) and root mean square error (RMSE) as the leading indicators to assess the accuracy and fitting effect of the predictions comprehensively. R2 represents the amount of variation in the predicted outcomes compared with the overall variation, demonstrating how well a model fits the data and its capacity to account for the variability of the dependent variable. The RMSE reflects the average magnitude of the error between the predicted and actual values and serves as an intuitive measure of prediction accuracy42. These two metrics evaluate the performance of a model from distinct angles. R2 measures a model’s ability to explain the data, whereas RMSE measures its accuracy in predicting crop yield variability and average error magnitude43,44.
Figure 3 displays the random forest model accuracy in forecasting the yields of four different crops. The scatter density map depicts the associations between the 20 average predictions of the model and the observed values for corn, rice, wheat, and soybean. Supplementary Table S2 displays the evaluation metrics for the four crop models.
Evaluation of random forest model accuracy for four crops: (a–d) correspond to maize, rice, wheat, and soybeans, respectively.
The 80/20 random hold-out test shows that all four crops reach relatively high R2 values, with at least 76% of the variance explained (R2 ≥ 0.76), accurately capturing the main trends in the data. Except for wheat, each crop also records an RMSE below 1 t ha⁻1, indicating that the random-forest framework has solid point-prediction accuracy. To determine whether these results are inflated by the randomness of the split, we applied two time-aware cross-validation schemes: a five-fold GroupKFold that groups entire calendar years and a stricter leave-one-year-out (LYO) procedure. The mean R2 and RMSE for both schemes appear in Table 1. GroupKFold yields an overall R2 of about 0.72; LYO lowers it to roughly 0.61, and RMSE rises only slightly, showing that the model still extrapolates reliably to truly unseen years.
Across the four crops, wheat and soybean post the highest R2 values under both the random split and the two time-blocked validations. Wheat nevertheless shows a larger RMSE, because many observations cluster near 16 t ha⁻1, so errors in high-yield cells are magnified (frequency histograms and probability-density plots can be found in Supplementary Fig. S2). In comparison, maize and rice present slightly lower R2 values. This behaviour likely stems from training-sample size45: maize and rice dominate cultivation in Sub-Saharan Africa, giving them sample sizes roughly ten times larger than those for wheat and soybean. Their data also contain more pronounced nonlinear relationships and interactions, for example the inverse-U relationship between yield and temperature, where yields peak at moderate temperatures but decline when temperatures are too low or too high. Such nonlinearities and interactions make it harder for the model to learn the underlying patterns46.
Future yields of the four major crops
We simulated the total production of maize, rice, soybeans, and wheat in Sub-Saharan Africa from 1981 to 2015. The results reveal an average total production rate of 23.7 million tons (Mt) for maize, 18.8 Mt for rice, 28.0 Mt for wheat, and 24.0 Mt for soybean. Supplementary Fig. S2 and Fig. S3 show the frequency distributions of historical yields and the ratios of simulated to actual yields for the four crops. The average of each model’s future yield predictions was calculated as the predicted yield for each scenario to assess the uncertainty of predictions and variability between models. Additionally, the standard deviation of the average yield predictions from the five climate models was calculated and represented with error bars in the yield prediction charts. Projected future yields and relative changes for each crop under the three SSP scenarios are summarised in Fig. 4. Ultimately, this study obtained the average predicted yields for different crops in Sub-Saharan Africa for the 2030s, 2050s, and 2080s under three different socioeconomic development pathways: SSP2-4.5, SSP3-7.0, and SSP5-8.5.
Projected future yields and relative changes for each crop under three SSP scenarios. Bars show mean yield (left axis, Mt) and line markers show percent change from the 1981–2015 baseline (right axis, %). Error bars on each bar denote the standard deviation among the five GCM projections. RF model uncertainty is shown separately as spatial error maps in Supplementary Figs. S4 ~ S38. Panels: (a) SSP2-4.5; (b) SSP3-7.0; (c) SSP5-8.5. Decadal yield statistics for each crop and scenario, as well as national production estimates, are provided in Supplementary Tables S4 and S5, and annual yield predictions are shown in Supplementary Figs. S42 ~ S45.
As a C4 crop, maize generally shows an overall declining yield trend over time, which becomes more pronounced with the progression of SSP scenarios. Under the SSP5-8.5 scenario, the predicted maize yield in the 2080s exhibits a sharp decline, with yield 5.2% below the historical baseline. In contrast, as C3 crops, rice and wheat, exhibit a different yield change trends under the future scenarios. The yields gradually increase over time in each scenario, transitioning from a decrease to an increase compared with the historical average yields. The yield increases more significantly with the progression of the SSP scenarios, with the rice yield under the SSP5-8.5 scenario in the 2080s increasing by 44.12%. Unlike the other three crops, soybeans, known as C3 nitrogen-fixing crops, exhibit slight fluctuations in future yield changes under each SSP scenario, but the overall yield remains stable at around 24 Mt, averaging a 2.7% increase over the historical baseline.
In the SSP2-4.5 scenario, the prediction shows a slight increase in maize yield over time, with an increase of nearly 1 Mt from the 2030s to the 2080s; however, overall, there is a decline relative to the historical baseline yield data. In all SSPs, the predicted rice yield in the 2080s is higher than the historical average yield. Under the SSP2-4.5 scenario, the predicted rice yield increases from 21.9 Mt to 23.3 Mt, showing a slight upward trend from a decline to an increase. Compared with that of rice, the yield of wheat tends to increase, albeit with a less pronounced increase. However, wheat consistently maintains a relatively high total yield, making it the crop with the highest yield among the four crops studied. In contrast, the projected soybean yield exhibited a modest increase over time, increasing from 24.5 Mt to 24.9 Mt, reflecting a change of approximately 1.6%.
In the SSP3-7.0 scenario, the predicted maize yield will experience a loss of less than 3% compared with the baseline yield data, which is slightly lower than the yield under the SSP2-4.5 scenario, with a total yield of approximately 23 Mt. The upward trend in rice yield is more significant, changing from a decrease to an increase compared with the baseline yield, with the average yield reaching 27.2 Mt by the 2080s. The wheat output exhibits a comparable pattern to that of rice, with a consistent increase over time. By the 2080s, the overall yield surpasses 34 Mt, reaching its peak value. In this scenario, soybean productivity deviates from SSP2-4.5, resulting in a marginal decrease in output from 24.7 Mt to 24.5 Mt, representing a percentage shift of approximately 1%.
In the SSP5-8.5 scenario, the maize yield prediction exhibits a sharp drop in the 2080s, with the yield change dropping below –5.2% and the lowest total yield being 22.5 Mt. The rice yield increases most significantly, with the predicted yield reaching 27.2 Mt in the 2080s, an increase of 44.12% over the historical average yield, which is the most significant percentage increase among all the scenarios and crops. The growth trend for wheat is also more significant than that in the previous two scenarios, with a growth rate of 7% at each stage. In this scenario, the soybean yield slightly decreases, followed by an increase, with the predicted yield for the 2030s reaching 24.6 Mt, decreasing to 24.5 Mt by the 2050s, and then increasing to 24.9 Mt by the 2080s, with an overall change of approximately 1.1%.
Spatial distribution of future yield changes for four major crops
Owing to the complex geographic and temporal interactions involved in yield changes, single-dimensional time series data cannot fully describe yield changes. Therefore, to simulate the overall trends in crop yields in Sub-Saharan Africa, this study used ArcGIS software to comprehensively consider temporal and spatial dimensions, generating spatial distribution maps of future crop yields. To quantify total uncertainty, we combined Random-Forest variability and GCM spread into a single metric: for each crop–scenario–decade, we produced 100 ten-year mean yield rasters (5 GCMs × 20 RF seeds) and computed the per-pixel standard deviation across this stack. Figure 5 presents the 1981 ~ 2015 average total-uncertainty map for maize; corresponding maps for the other crops are provided in Supplementary Figs. S39 ~ S41, offering a spatial overview of predictive confidence. The results show that uncertainty is generally lower in the core production zones, indicating that our yield projections remain robust even when uncertainties from both statistical and climate models are considered jointly.
Spatial distribution of average total uncertainty for maize yield.
The distribution maps of yield changes predicted by each model for different time periods are shown in Supplementary Figs. S46 ~ S49. Through geographic information systems, we reveal the geographical characteristics of future crop yield distributions and the changing trends under different SSPs. These predictive results indicate that under different climate scenarios, Sub-Saharan Africa’s crop yields face both the potential for yield increases and the risk of yield reductions over the coming decades.
The maize yield distribution map (Fig. 6) shows that the yield changes in specific regions exhibit significant spatial dependency. Most regions show a decreasing trend in yield, with areas of reduced yield stretching from eastern Africa through Ethiopia, Uganda, Tanzania, and Zambia to South Africa, with the most profound decreases occurring in Zambia and South Africa. Additionally, as the SSP scenarios progress, the area of reduced yield expands. For example, under the SSP5-8.5 scenario in the 2080s, almost all the eastern regions of Zambia and South Africa will exhibit a decreasing trend in maize yield. In contrast, the maize yields in Nigeria and Angola show an increasing trend, which, over time, also extends to Benin, Togo, and Ghana.
Spatial distribution of future maize yield change (%) relative to the historical baseline under SSP2-4.5, SSP3-7.0, and SSP5-8.5 in the 2030s, 2050s, and 2080s (left); radial bar chart showing the corresponding sub-Saharan Africa-wide changes (right).
According to the rice yield distribution map (Fig. 7), most countries show an increasing trend in rice production; these regions are primarily concentrated in West African, such as Nigeria, Benin, and Burkina Faso. Rice production is also continuously increasing in the western region of the Democratic Republic of the Congo. As the SSP scenario progresses, the increasing trend in rice production becomes more significant, and the area of increased rice production expands over time. The expansion trend from Nigeria to the west, reaching Guinea, is the most evident. By the 2080s, under SSP5-8.5, in addition to a slight reduction in southern Mali, the rice yields in these countries will mostly exceed 150% of the historical average yield. However, in Mali, Angola, Zambia, and Tanzania, the rice distribution is relatively scattered, showing a decreasing trend in production.
Spatial distribution of future rice yield change (%) relative to the historical baseline under SSP2-4.5, SSP3-7.0, and SSP5-8.5 in the 2030s, 2050s, and 2080s (left); radial bar chart showing the corresponding sub-Saharan Africa-wide changes (right).
In Mali specifically, projected declines in rain fed rice yield stem from a combination of climatic and agronomic factors47. Reduced and more erratic precipitation, which is characterized by delayed onset and early ending of the rainy season, leads to insufficient water during critical growth stages48. At the same time, rising daytime and nighttime temperatures increase spikelet sterility and accelerate crop maturation, which shortens the growing season and increases drought stress49,50. Rice is the staple crop for Malian smallholders; declines in rice yield may reduce food supply and thus affect total food availability51. Together, these conditions, including decreased rainfall, increased heat stress, and declining soil moisture retention, drive the downward rice yield trend observed in Mali.
The future yield distribution map of wheat shows that the planting area of wheat in Sub-Saharan Africa is minimal (Fig. 8). However, most of the planting areas show an increasing yield trend, which is mainly concentrated in South Africa and some regions in northern Nigeria. The yield trends of rice under various scenarios are also roughly the same over time, generally showing a significant increase. Notably, in the 2080s, the increased yield areas of rice in South Africa expanded further, with yields exceeding the historical average by more than 50%. However, Ethiopia and Zimbabwe show a decline in yields under all the scenarios, and as the SSP scenario progresses, the areas with declining yields gradually expand.
Spatial distribution of future wheat yield change (%) relative to the historical baseline under SSP2-4.5, SSP3-7.0, and SSP5-8.5 in the 2030s, 2050s, and 2080s (left); radial bar chart showing the corresponding sub-Saharan Africa-wide changes (right).
Soybean high‑yield zones are geographically patchy. Eastern South Africa, northern Nigeria, Uganda, and the Democratic Republic of the Congo are the main areas of increased production. In contrast, the areas of decreased production are concentrated in Zambia, Angola, central Nigeria, and the eastern coastal regions of South Africa. As the SSP scenario progresses, the soybean production distribution will remain essentially unchanged (Fig. 9). Over time, the areas of increased production in South Africa will slightly expand, while the areas of decreased production in Angola will also slightly increase. In Nigeria, areas of reduced production gradually decrease. Notably, under the SSP5-8.5 scenario, the areas with reduced soybean production in South Africa will slightly decrease over time.
Spatial distribution of future soybean yield change (%) relative to the historical baseline under SSP2-4.5, SSP3-7.0, and SSP5-8.5 in the 2030s, 2050s, and 2080s (left); radial bar chart showing the corresponding sub-Saharan Africa-wide changes (right).
Discussion
We examined future yield changes of maize, rice, wheat, and soybeans under multiple SSP–GCM combinations, using a Random Forest model trained on gridded climate, land use, and irrigation data. Projections reveal marked spatial heterogeneity in staple-crop yields across Sub-Saharan Africa: some areas may see increases exceeding 50% relative to the 1981 ~ 2015 baseline, while others could experience declines of over 10%. These divergent patterns highlight the urgency of place-specific adaptation, including climate-resilient cultivars for heat-prone regions and targeted investment in irrigation and water infrastructure in dry-season hotspots.
We predicts that maize yields will decline under future SSP scenarios, especially under the SSP5-8.5 scenario, with the most significant decline occurring by the 2080s. This conclusion is consistent with many existing studies15,52,53,54. Maize, as a C4 crop, can maintain relatively efficient photosynthesis under high temperatures; however, regions with limited water resources, such as Sub-Saharan Africa, will suffer growth restrictions due to extreme heat and drought, which negatively impact maize photosynthesis and growth cycles. For C4 crops, studies have shown that the CO2 fertilization effect (enhanced photosynthetic efficiency due to higher atmospheric CO2 concentrations) saturates at around 500 ppm, beyond this concentration further increases yield almost no additional productivity gains55. Although our yield projections under SSP2 4.5, SSP3 7.0, and SSP5 8.5 do not explicitly model CO2 concentration or its saturation behaviour, IPCC RCP trajectories indicate that by the 2080s even RCP4.5 will approach 500 ppm, while RCP7.0 and RCP8.5 will exceed it by a large margin56. As a result, our model may overestimate maize yield gains under high-emission scenarios. Additionally, precipitation uncertainty increases as emissions increase under various scenarios57,58. Although maize is drought resistant, its photosynthetic rate decreases under extreme temperatures, leading to yield decreases59.
Future changes in maize yield will exhibit significant spatial heterogeneity. We project a decrease in maize yield in Zambia and South Africa, a trend that intensifies with the progression of SSP scenarios and gradually expands the reduction areas over time. However, we anticipate an increase in maize yield in several regions, such as Nigeria and Angola. This finding is consistent with the findings of Siatwiinda et al.60, who assessed the impact of climate change on maize yield in Zambia via five global circulation models and the WOFOST crop model and reported a significant decline in maize yield under the RCP4.5 and RCP8.5 scenarios. Another study investigated the spatiotemporal patterns of heatwaves, droughts, and extreme precipitation during the maize growing season in South Africa from 1986/87 to 2015/16 via a stress index and reported that extreme climate events negatively impacted South African maize yield61. Additionally, researchers have quantified the unprecedented extreme climate risks affecting South African maize production and studied the role of the El Niño‒Southern Oscillation, finding that extreme climate anomalies (heatwaves, droughts, and extreme precipitation) pose a significant threat to maize production62. It is worth noting that extreme climate events also significantly affect C3 crops (such as rice and wheat), and this is elaborated in the subsequent sections on rice and wheat.
Projections indicate an increase in maize yield in Nigeria and Angola. However, our modelling framework holds maize cultivar distributions fixed and does not explicitly simulate the adoption or spread of early-maturing and drought-resistant varieties; instead, any gains from such improved cultivars are implicitly represented through our management scenario assumptions63,64. Likewise, optimized fertilizer management strategies are reflected only as part of these scenarios. Furthermore, research has shown that in some high-altitude areas, moderate temperature increases may extend the growing season, thereby positively impacting maize yield65.
Rice, unlike maize, yields tend to increase over time under all SSP scenarios, particularly the SSP5-8.5 scenario. Multiple studies support and verify this conclusion66,67,68. The impacts of climate change under different SSP scenarios and the physiological characteristics of rice as a crop are related to the phenomenon whereby high emissions promote rice yield. Rice is a C3 crop and may exhibit enhanced photosynthetic efficiency at elevated CO2 concentrations. Our projections for future rice yields are based on SSP2-4.5, SSP3-7.0, and SSP5-8.5 climate scenarios, which include temperature, precipitation, and implicitly the associated CO2 concentration trajectories. Under these scenarios, the modelled increases in rice yield likely reflect an implicit CO2 fertilization effect alongside other climatic drivers rather than CO2 fertilization acting as a sole or isolated cause67,69,70. However, even though the overall yield shows an increasing trend, extreme weather events, such as droughts, floods, and heatwaves, may cause significant fluctuations in annual yields. While long-term projections under these combined climate factors indicate rising yields, extreme weather events may still damage crop growth, reducing yield in specific years71.
We indicate that the main regions exhibiting increased rice yield are in West Africa, such as Nigeria and Benin, and that the yield-increasing areas will significantly expand. On the basis of a process-based crop simulation modelling approach, Yuan et al.72 evaluated the potential for increasing rice yields on existing farmland in Africa by combining local weather, soil and high‑input management datasets. The study revealed that, assuming stable international rice prices and domestic consumption patterns, increasing rice yield could reduce imports and land‑use conversion—especially in West African countries such as Nigeria and Benin, where rice production is expected to increase significantly in the future. However, actual import volumes will also depend on global market prices and trade policies73. Another study analysed rain-fed rice in Senegal through experimental and simulation methods and reported that under high-emission scenarios (e.g., SSP5-8.5), increased temperatures and elevated carbon dioxide concentrations significantly increased rice yields68.
African countries have attributed the trend of increased rice production to domestic policy strategies, such as the “Rice Offensive,” which was launched in 2015 and aims to achieve self-sufficiency in rice in West Africa by reducing dependence on imports through increased local production74. Additionally, international partners, such as China, through the “South‒South Cooperation Program,” share their successful experiences in food technology innovation and agricultural extension with African countries75, helping to improve local agricultural productivity.
Like rice, wheat is also a C3 annual plant and is projected to exhibit yield gains under future SSP scenarios, though these gains are expected to be smaller than those for rice76,77,78. This difference arises in part because wheat is more frequently grown in drier environments, which limits the extent of CO2-induced enhancement. In regions with ample moisture or irrigation, rice typically benefits more from rising CO2 concentrations79. Nonetheless, wheat’s overall productivity often remains higher in many areas because it requires less water and is better adapted to drought conditions. Many high-yielding wheat varieties, however, depend on substantial fertilizer inputs and a stable water supply—resources that are often scarce in rain-fed systems80,81. Furthermore, wheat’s greater genetic diversity may provide resilience against a wider array of climatic stresses82. While our projections for rice and wheat yield gains in the 2080s align with previous studies of CO2 fertilization and growing-season extension15,83, the impacts of future climate change on crop yields are highly complex. Factors such as temperature-driven shortening of the growing season, elevated respiration rates, and heat-induced physiological disorders may also play important roles in shaping future yield outcomes. Incorporating these physiological and phenological processes into future modelling efforts will help to provide a more comprehensive understanding of temperature effects on C3 crop production.
We found that the wheat planting area in Sub-Saharan Africa is minimal, but in South Africa, the yield has been increasing over time, whereas in Ethiopia and Zimbabwe, the yield has shown a downward trend. Research by Callaway et al.84 also reached this conclusion. They reported that agricultural management and technological advancements in South Africa, particularly adaptation measures to cope with climate change, such as improved seeds and optimized irrigation systems, have helped increase wheat yields. Other studies have emphasized the trend of increasing wheat yields in South Africa, which is attributed mainly to farmers gradually adopting more efficient agricultural technologies and climate adaptation measures. These measures will help stabilize wheat yields in South Africa and improve overall food security85. However, future scenarios predict a decline in wheat yields in Ethiopia and Zimbabwe, primarily due to prolonged droughts, political conflicts, and the impact of pests and diseases86,87,88. We note that our model relies solely on climate, cropland‑type, and irrigation variables and does not explicitly incorporate pest and disease dynamics, which may lead to an underestimation of yield losses in regions with high biotic stress risk.
Our research indicates that soybean yield may be relatively high under future scenarios, but it still tends to decline compared with historical yields. This aligns with the conclusions drawn by Khojely et al.89. The trend in soybean yield changes is closely related to its unique biological characteristics. As a C3 nitrogen-fixing crop, soybean plants can use symbiotic bacteria in their root nodules to turn nitrogen from the air into nitrogen fertilizer. This makes plants less reliant on chemical nitrogen fertilizers and better able to adapt to changes in the environment90. Unlike rice and wheat, soybeans require less nitrogen fertilizer, allowing them to maintain high productivity with lower nitrogen inputs. Additionally, soybean plants are relatively robust in terms of drought tolerance, making them relatively adaptable and stable in yield under changing climate conditions. As C3 nitrogen-fixing plants, soybean can exhibit greater photosynthetic rates under elevated CO2 levels, yet its productivity remains highly contingent on temperature and moisture regimes. Our soybean yield estimates draw on the same SSP2-4.5, SSP3-7.0, and SSP5-8.5 projections, which encapsulate shifts in temperature, precipitation, and implicitly the trajectory of atmospheric CO2. Because CO2 concentrations are not included directly as model inputs, any beneficial effects are captured only via associated climatic covariates. Importantly, soybean is particularly vulnerable to heat stress during flowering and seed-filling stages, as well as to irregular rainfall; under sufficiently high temperatures or drought, yields can decline even when CO2 levels rise. Future work should explore the explicit inclusion of CO2 concentrations and finer-scale phenological data to better disentangle fertilization benefits from stress-driven losses91,92.
The soybean distribution is relatively scattered and mainly concentrated in a few countries, such as South Africa, Nigeria, Zambia, and Zimbabwe. As the SSP scenario progresses, the overall distribution pattern of soybean production does not change much, primarily reflecting a slight increase in high-yield soybean areas in South Africa. This increase is due to South Africa’s launch of an import substitution plan to promote the development of the domestic soybean industry and reduce external dependence, as the country is the largest importer of soybean meal in Sub-Saharan Africa89. Nigeria’s soybeans have also benefited from this commercial expansion. Nigeria, the second-largest soybean producer in Africa, has significantly increased soybean yields by introducing new technologies, such as rhizobium inoculation and phosphate fertilizer application. The widespread application of these technologies is expected to increase Nigeria’s future soybean production further, thereby reducing soybean imports93. Additionally, soybean production in Benin is also increasing. According to reports from the International Atomic Energy Agency (IAEA,2020), the Alibori region is the leading soybean production area, accounting for 47% of the country’s total production. Biofertilizers and isotope technology have significantly improved soybean yields and soil fertility in Benin, making it a viable export commodity for the country94.
Although we used random forest models and multiple climate scenarios to comprehensively evaluate future crop yields and conducted an in-depth analysis of the impacts of climate change on multiple crops at the grid scale, certain constraints need to be acknowledged. Projecting yield alone without an outlook on future harvested area cannot directly estimate total crop production, as our analysis uses the 2017 SPAM dataset’s harvested area figures as a time invariant baseline for all forecast years, which may lead to overestimation or underestimation of production if cropping patterns shift in the future; Supplementary Tables S4 ~ S5 combine our yield projections with the 2017 harvested-area baseline to generate country-level production estimates, but these figures should be interpreted with caution: if cropland expands, contracts, or shifts geographically, production will deviate from the yield trends reported here. Future studies therefore need to account for changes in harvested area to provide a more realistic outlook on global food supply. We also did not incorporate trade flows (net imports) or changes in stock levels into our model, thus failing to fully capture the dynamics of food supply. Moreover, we failed to comprehensively account for non-climate factors, such as armed conflicts, pests and illnesses, and technical improvements, which are significant variables that impact food security. In particular, our simulations did not consider potential increases in research investment and technological innovation driven by economic growth (e.g., GDP), which may enhance future yields beyond what is projected here. Future research should integrate multiple influencing factors, such as extreme climate events, socioeconomic factors, biological diseases, regional conflicts, and research and development investment, to provide more effective solutions for global food security challenges.
Data availability
All datasets used in this study are publicly available. The crop yield data were obtained from the global historical crop yield dataset published in Scientific Data and can be freely accessed through the PANGAEA website (https://doi.pangaea.de/https://doi.org/10.1594/PANGAEA.909132). Historical climate data were retrieved from the Climatic Research Unit (CRU) (https://crudata.uea.ac.uk/cru/data/hrg/), while future climate projections were obtained from the NASA Earth Exchange Global Daily Downscaled Projections (NEX-GDDP-CMIP6) dataset, which is available via the AWS Open Data Registry (https://registry.opendata.aws/nex-gddp-cmip6/). Land-use data were sourced from the Land-Use Harmonization V2 (LUH2) dataset (https://luh.umd.edu/) and are described in Geoscientific Model Development (https://gmd.copernicus.org/articles/13/5425/2020/). The irrigation ratio data were obtained from the Spatial Production Allocation Model (SPAM) (https://mapspam.info). A detailed description of these datasets, including their spatial resolution and processing methods, is provided in the Research Data section of the manuscript.
Code availability
All custom Python scripts used for model training, yield prediction, cross-validation, and uncertainty estimation in this study are openly available on Zenodo at the following DOI: https://doi.org/10.5281/zenodo.16439831. The repository includes complete source code and documentation required to reproduce the modeling workflow. There are no access restrictions.
References
Network, F. S. I. Global Report on Food Crises 2024. FSIN Platform https://www.fsinplatform.org/report/global-report-food-crises-2024/ (2024).
Bambridge-Sutton, A. IPCC report findings suggest how food production must change to cope with climate crisis. FoodNavigator https://www.foodnavigator.com/Article/2023/03/22/IPCC-report-findings-suggest-how-food-production-must-change-to-cope-with-climate-crisis (2023).
Bank, W. Putting Africans at the Heart of Food Security and Climate Resilience. World Bank https://www.worldbank.org/en/news/immersive-story/2022/10/17/putting-africans-at-the-heart-of-food-security-and-climate-resilience (2022).
Cairns, J. E. et al. Challenges for sustainable maize production of smallholder farmers in sub-Saharan Africa. J. Cereal Sci. 101, 103274 (2021).
Futakuchi, K. et al. History and progress in genetic improvement for enhancing rice yield in sub-Saharan Africa. Field Crop Res. 267, 108159 (2021).
Ghanem, M. E. Africa’s forgotten crops could offset growing food insecurity. Nature 605, 30–30 (2022).
Peng, B. & Guan, K. Harmonizing climate-smart and sustainable agriculture. Nat. Food 2, 853–854 (2021).
Li, C. et al. Integrating climate–pest interactions into crop projections for sustainable agriculture. Nat. Food 5, 447–450 (2024).
Dhaliwal, D. S. & Williams, M. M. Evidence of sweet corn yield losses from rising temperatures. Sci. Rep. 12, 18218. https://doi.org/10.1038/s41598-022-23237-2 (2022).
Hawkins, E. et al. Increasing influence of heat stress on French maize yields from the 1960s to the 2030s. Glob. Change Biol. 19, 937–947 (2013).
Piao, S. et al. The impacts of climate change on water resources and agriculture in China. Nature 467, 43–51 (2010).
Berg, A., de Noblet-Ducoudré, N., Sultan, B., Lengaigne, M. & Guimberteau, M. Projections of climate change impacts on potential C4 crop productivity over tropical regions. Agric. For. Meteorol. 170, 89–102 (2013).
Challinor, A. J., Simelton, E. S., Fraser, E. D., Hemming, D. & Collins, M. Increased crop failure due to climate change: assessing adaptation options using models and socio-economic data for wheat in China. Environ. Res. Lett. 5, 034012 (2010).
Proctor, J. Extreme rainfall reduces rice yields in China. Nat. Food 4, 360–361 (2023).
Jägermeyr, J. et al. Climate impacts on global agriculture emerge earlier in new generation of climate and crop models. Nat. Food 2, 873–885 (2021).
Hasegawa, T. et al. Extreme climate events increase risk of global food insecurity and adaptation needs. Nat. Food 2, 587–595 (2021).
Guilpart, N., Iizumi, T. & Makowski, D. Data-driven projections suggest large opportunities to improve Europe’s soybean self-sufficiency under climate change. Nat. Food 3, 255–265 (2022).
Ahvo, A. et al. Agricultural input shocks affect crop yields more in the high-yielding areas of the world. Nat. food 4, 1037–1046 (2023).
Van Klompenburg, T., Kassahun, A. & Catal, C. Crop yield prediction using machine learning: A systematic literature review. Comput. Electron. Agric. 177, 105709 (2020).
Srivastava, A. K. et al. Winter wheat yield prediction using convolutional neural networks from environmental and phenological data. Sci. Rep. 12, 3215 (2022).
Lobell, D. B., Thau, D., Seifert, C., Engle, E. & Little, B. A scalable satellite-based crop yield mapper. Remote Sens. Environ. 164, 324–333 (2015).
Crane-Droesch, A. Machine learning methods for crop yield prediction and climate change impact assessment in agriculture. Environ. Res. Lett. 13, 114003 (2018).
Han, T. et al. Rebuilding high-quality near-surface ozone data based on the combination of WRF-Chem model with a machine learning method to better estimate its impact on crop yields in the Beijing-Tianjin-Hebei region from 2014 to 2019. Environ. Pollut. 336, 122334 (2023).
Paudel, D. et al. Machine learning for large-scale crop yield forecasting. Agric. Syst. 187, 103016 (2021).
Prodhan, F. A. et al. Projection of future drought and its impact on simulated crop yield over South Asia using ensemble machine learning approach. Sci. Total Environ. 807, 151029 (2022).
Myers, S. S. et al. Climate change and global food systems: potential impacts on food security and undernutrition. Annu. Rev. Public Health 38, 259–277 (2017).
Franch, B. et al. Global crop calendars of maize and wheat in the framework of the WorldCereal project. GISci. Remote Sens. 59, 885–913 (2022).
Riahi, K. et al. The Shared Socioeconomic Pathways and their energy, land use, and greenhouse gas emissions implications: An overview. Glob. Environ. Chang. 42, 153–168 (2017).
Cheng, W. et al. Global monthly gridded atmospheric carbon dioxide concentrations under the historical and future scenarios. Scientific Data 9, 83 (2022).
Shiogama, H. et al. Important distinctiveness of SSP3–70 for use in impact assessments. Nat. Clim. Change 13, 1276–1278 (2023).
Masson-Delmotte, V. et al. Climate change 2021: the physical science basis. Contribution of working group I to the sixth assessment report of the intergovernmental panel on climate change 2, 2391 (2021).
Hausfather, Z. Analysis: How well have climate models projected global warming. Carbon Brief 5 (2017).
Wu, T. et al. BCC-CSM2-HR: A high-resolution version of the Beijing climate center climate system model. Geosci. Model Dev. Discuss. 2020, 1–64 (2020).
Wu, T. et al. The Beijing climate center climate system model (BCC-CSM): The main progress from CMIP5 to CMIP6. Geoscientific Model Development 12, 1573–1600 (2019).
Boucher, O. et al. Presentation and evaluation of the IPSL-CM6A-LR climate model. J. Adv. Model. Earth Syst. 12, e2019MS002010 (2020).
Cannon, A. J. Reductions in daily continental-scale atmospheric circulation biases between generations of global climate models: CMIP5 to CMIP6. Environ. Res. Lett. 15, 064006 (2020).
Klutse, N. A. B. et al. The climatic analysis of summer monsoon extreme precipitation events over West Africa in CMIP6 simulations. Earth Syst. Environ. 5, 25–41. https://doi.org/10.1007/s41748-021-00203-y (2021).
Vamborg, F. S. E., Brovkin, V. & Claussen, M. The effect of a dynamic background albedo scheme on Sahel/Sahara precipitation during the mid-Holocene. Clim. Past 7, 117–131. https://doi.org/10.5194/cp-7-117-2011 (2011).
Cheng, Q., Chunhong, Z. & Qianglin, L. Development and application of random forest regression soft sensor model for treating domestic wastewater in a sequencing batch reactor. Sci. Rep. 13, 9149 (2023).
Tang, C., Garreau, D. & von Luxburg, U. When do random forests fail? Adv. Neural Inf. Process. Syst 31 (2018).
Torrisi, S. B. et al. Random forest machine learning models for interpretable X-ray absorption near-edge structure spectrum-property relationships. npj Comput. Mater. 6, 109 (2020).
Everingham, Y., Sexton, J., Skocaj, D. & Inman-Bamber, G. Accurate prediction of sugarcane yield using a random forest algorithm. Agron. Sustain. Dev. 36, 1–9 (2016).
Li, Y. et al. Toward building a transparent statistical model for improving crop yield prediction: Modeling rainfed corn in the US. Field Crop Res 234, 55–65 (2019).
Zhu, Y. et al. A deep learning crop model for adaptive yield estimation in large areas. Int. J. Appl. Earth Obs. Geoinf. 110, 102828 (2022).
Dastile, X., Celik, T. & Potsane, M. Statistical and machine learning models in credit scoring: A systematic literature survey. Appl. Soft Comput. 91, 106263 (2020).
Basu, S., Kumbier, K., Brown, J. B. & Yu, B. Iterative random forests to discover predictive and stable high-order interactions. Proc. Natl. Acad. Sci. 115, 1943–1948 (2018).
Diallo, A. & Ronald Dossou-Yovo, E. A gendered analysis of farmers’ access to and willingness to pay for climate information services: Evidence from rice farmers in Mali. Clim. Serv. 35, 100507. https://doi.org/10.1016/j.cliser.2024.100507 (2024).
Diallo, A., Donkor, E. & Owusu, V. Climate change adaptation strategies, productivity and sustainable food security in southern Mali. Clim. Change 159, 309–327 (2020).
van Oort, P. A. J. & Zwart, S. J. Impacts of climate change on rice production in Africa and causes of simulated yield changes. Glob. Change Biol. 24, 1029–1045. https://doi.org/10.1111/gcb.13967 (2018).
Wassmann, R. & Dobermann, A. Climate change adaptation through rice production in regions with high poverty levels. (2007).
Choularton, R., Krishnamurthy, P. K. & Lewis, K. Climate impacts on food security and nutrition: A review of existing knowledge. (2012).
Bangelesa, F. et al. Statistical-dynamical modeling of the maize yield response to future climate change in West, East and Central Africa using the regional climate model REMO. Sci. Total Environ. 905, 167265 (2023).
Irmak, S., Sandhu, R. & Kukal, M. Multi-model projections of trade-offs between irrigated and rainfed maize yields under changing climate and future emission scenarios. Agric. Water Manag. 261, 107344 (2022).
Waha, K., Müller, C. & Rolinski, S. Separate and combined effects of temperature and precipitation change on maize yields in sub-Saharan Africa for mid- to late-21st century. Global Planet. Change 106, 1–12. https://doi.org/10.1016/j.gloplacha.2013.02.009 (2013).
Markelz, R. J. C., Strellner, R. S. & Leakey, A. D. B. Impairment of C4 photosynthesis by drought is exacerbated by limiting nitrogen and ameliorated by elevated [CO2] in maize. J. Exp. Bot. 62, 3235–3246. https://doi.org/10.1093/jxb/err056 (2011).
van Vuuren, D. P. et al. The representative concentration pathways: an overview. Clim. Change 109, 5. https://doi.org/10.1007/s10584-011-0148-z (2011).
Ahmad, I., Ahmad, B., Boote, K. & Hoogenboom, G. Adaptation strategies for maize production under climate change for semi-arid environments. Eur. J. Agron. 115, 126040 (2020).
Lobell, D. B., Bänziger, M., Magorokosho, C. & Vivek, B. Nonlinear heat effects on African maize as evidenced by historical yield trials. Nat. Clim. Chang. 1, 42–45 (2011).
Lesk, C. et al. Compound heat and moisture extreme impacts on global crop yields under climate change. Nat. Rev. Earth Environ. 3, 872–889 (2022).
Siatwiinda, S. M. et al. Climate change impacts on rainfed maize yields in Zambia under conventional and optimized crop management. Clim. Change 167, 39 (2021).
Simanjuntak, C. et al. Impact of climate extreme events and their causality on maize yield in South Africa. Sci. Rep. 13, 12462 (2023).
Bradshaw, C. D. et al. Unprecedented climate extremes in South Africa and implications for maize production. Environ. Res. Lett. 17, 084028 (2022).
Sanga, U., Olabisi, L. S. & Liverpool-Tasie, S. System Dynamics Modelling of Maize Production under Future Climate Scenarios in Kaduna, Nigeria. (2018).
Agriculture, U. S. D. o. Angola Corn Production Statistics. USDA FAS Crop Explorer https://ipad.fas.usda.gov/countrysummary/Default.aspx?id=AO&crop=Corn (2024).
Cairns, J. E. et al. Adapting maize production to climate change in sub-Saharan Africa. Food Secur. 5, 345–360 (2013).
Li, M., Du, C., Jiang, P., Luan, W. & Chen, D. Simulation of China’s potential rice yields by coupling land system evolution and climate change. Sci. China Earth Sci. 66, 1776–1788 (2023).
Rezaei, E. E. et al. Climate change impacts on crop yields. Nat Rev Earth Environ 4, 831–846 (2023).
Gérardeaux, E. et al. Adapting rainfed rice to climate change: a case study in Senegal. Agron. Sustain. Dev. 41, 57 (2021).
Hu, S. et al. Response of rice growth and leaf physiology to elevated CO2 concentrations: A meta-analysis of 20-year FACE studies. Sci. Total Environ. 807, 151017 (2022).
Du, Y., Lu, R. & Xia, J. Impacts of global environmental change drivers on non-structural carbohydrates in terrestrial plants. Funct. Ecol. 34, 1525–1536 (2020).
Liu, L. & Basso, B. Impacts of climate variability and adaptation strategies on crop yields and soil organic carbon in the US Midwest. PLoS ONE 15, e0225433 (2020).
Yuan, S. et al. Intensifying rice production to reduce imports and land conversion in Africa. Nat. Commun. 15, 835 (2024).
Shobur, M. et al. Enhancing food security through import volume optimization and supply chain communication models: A case study of East Java’s rice sector. J Open Innov: Technol, Market, Complex. 11, 100462 (2025).
(CARI), C. A. R. I. Collaboration and Partnership for Working Towards Rice Self-sufficiency in West Africa. CARI Project https://www.cari-project.org/article/collaboration-and-partnership-for-working-towards-rice-self-sufficiency-in-west-africa (2021).
FAO. FAO-China South-South Cooperation Programme 10th Annual Consultation Meeting. https://www.fao.org/china/news/detail-events/en/c/1606459/ (2022).
Erda, L. et al. Climate change impacts on crop yield and quality with CO2 fertilization in China. Philos. Trans. R. Soc. B: Biol. Sci. 360, 2149–2154 (2005).
Zhu, C. et al. The temporal and species dynamics of photosynthetic acclimation in flag leaves of rice (Oryza sativa) and wheat (Triticum aestivum) under elevated carbon dioxide. Physiol. Plant. 145, 395–405 (2012).
Wang, Y. et al. Reduced phosphorus availability in paddy soils under atmospheric CO2 enrichment. Nat. Geosci. 16, 162–168 (2023).
Kang, H. et al. Elevated CO2 enhances dynamic photosynthesis in rice and wheat. Front. Plant Sci. 12, 727374 (2021).
Wang, L., Palta, J. A., Chen, W., Chen, Y. & Deng, X. Nitrogen fertilization improved water-use efficiency of winter wheat through increasing water use during vegetative rather than grain filling. Agric. Water Manag. 197, 41–53 (2018).
Jyolsna, T., Vashisht, B., Yadav, M., Kaur, R. & Jalota, S. Field and simulation studies on yield, water and nitrogen dynamics and use efficiency in rice-wheat crops in sequence. Field Crop Res 311, 109366 (2024).
Gupta, O. P. et al. Wheat biofortification: Utilizing natural genetic diversity, genome-wide association mapping, genomic selection, and genome editing technologies. Front. Nutr. 9, 826131 (2022).
Yu, Y., Clark, J. S., Tian, Q. & Yan, F. Rice yield response to climate and price policy in high-latitude regions of China. Food Security 14, 1143–1157. https://doi.org/10.1007/s12571-021-01253-w (2022).
Callaway, E. Wheat disease’s global spread concerns researchers. Nature (2023).
Bentley, A. R. et al. Near-to long-term measures to stabilize global wheat supplies and food security. Nat. Food 3, 483–486 (2022).
Delbiso, T. D., Rodriguez-Llanes, J. M., Donneau, A.-F., Speybroeck, N. & Guha-Sapir, D. Drought, conflict and children’s undernutrition in Ethiopia 2000–2013: a meta-analysis. Bull. World Health Organ. 95, 94 (2017).
Meyer, M. et al. Wheat rust epidemics damage Ethiopian wheat production: A decade of field disease surveillance reveals national-scale trends in past outbreaks. PLoS ONE 16, e0245697 (2021).
Kindu, G., Mohammed, A., Alam, J. B., Gobezie, T. & Faisal, A.-A. Assessment of projected climate change impact on wheat (Triticum aestivum L.) production with coping strategies at Jamma Wereda. Ethiopia. Earth Syst. Environ. 7, 267–281 (2023).
Khojely, D. M., Ibrahim, S. E., Sapey, E. & Han, T. History, current status, and prospects of soybean production and research in sub-Saharan Africa. Crop J. 6, 226–235 (2018).
de Freitas, V. F., Cerezini, P., Hungria, M. & Nogueira, M. A. Strategies to deal with drought-stress in biological nitrogen fixation in soybean. Appl. Soil. Ecol. 172, 104352 (2022).
Thornton, P. K., Ericksen, P. J., Herrero, M. & Challinor, A. J. Climate variability and vulnerability to climate change: a review. Glob. Change Biol. 20, 3313–3328 (2014).
Jumrani, K. & Bhatia, V. S. Impact of combined stress of high temperature and water deficit on growth and seed yield of soybean. Physiol. Mol. Biol. Plants 24, 37–50 (2018).
Jemo, M. et al. Exploring the potential of mapped soil properties, rhizobium inoculation, and phosphorus supplementation for predicting soybean yield in the savanna areas of Nigeria. Front. Plant Sci. 14, 1120826 (2023).
Agency, I. A. E. Benin Enhances Production and Export of Soybean Using Bio-fertilizers and Isotopic Technology. IAEA News Centre https://www.iaea.org/newscenter/news/benin-enhances-production-and-export-of-soybean-using-bio-fertilizers-and-isotopic-technology (2020).
Funding
This work was funded by the Youth Innovation Promotion Association of the Chinese Academy of Sciences (Grant No. 2023000117).
Author information
Authors and Affiliations
Contributions
J.L. drafted the manuscript, performed data processing, conducted modeling analyses, and prepared the figures. J.W. collected and processed the data and contributed to developing the modeling approach. D.J. provided equipment, collected data, and reviewed the manuscript. S.C. critically reviewed the manuscript and verified the modeling methodology. M.H. proposed the methodology, analyzed the experimental results, and refined the manuscript. F.D. provided funding support, analyzed the modeling results, and supplied data. G.W. revised the initial draft and adjusted the manuscript format. H.L. conducted the results analysis, structured the manuscript, and enhanced the figures. All authors reviewed and approved the final version of the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Below is the link to the electronic supplementary material.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Liu, J., Wu, J., Jiang, D. et al. Research on the impact of climate change on food security in Africa. Sci Rep 15, 31251 (2025). https://doi.org/10.1038/s41598-025-14560-5
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-025-14560-5











