Image: Marvin V. / Adobe Stock
A machine learning technique that can identify optimal spots for tree planting to inform climate mitigation strategies has been unveiled by ECMWF scientists.
Afforestation – establishing forests on previously non-forested land, or where forests have not existed for a long time – is recognised as a nature-based, cost-effective solution for climate change mitigation. By storing carbon, it can help offset emissions while also reducing flood risk.
The European Union’s Biodiversity Strategy for 2030 targets converting at least 10% of agricultural land into forest. However, previous modelling studies suggest that while afforestation can help lessen the impact of flooding, it can exacerbate water scarcity and increase wildfire risk when implemented on a large scale.
Studies also show the benefits of afforestation depend on factors such as species choice, soil and landscape conditions, regional climate and spatial configuration.
“Afforestation is a careful balancing act between reducing flooding and managing water scarcity,” said Fredrik Wetterhall, Senior Hydrologist at ECMWF.
“Our study examines the hydrological impacts of converting abandoned croplands in Europe into forests. Where, and how much to plant, matters. Optimised afforestation, guided by ecological and hydrological criteria, can reduce river peaks while preserving groundwater.”
Finding the "sweet spot" for afforestation
Publishing in Nature Communications Sustainability, the team outline how a smart, data-driven algorithm can help identify optimal sites, minimising the known negative effects of afforestation on water availability.
The study shows that, with a targeted selection of afforestation sites, river flooding could be reduced by up to 43% with a median reduction of 3.1%. Random selection only leads to flood reduction in a few cases and has mostly no effect.
Optimised afforestation also curbs evapotranspiration, the transfer of water from plants to the atmosphere, reducing water loss and thereby preserving available groundwater by up to 60%, a critical saving, given the growing need to conserve water in a changing climate. The combined effects leads to a “sweet spot” of optimal afforestation between 40–80%.
Smart afforestation can outperform blanket approaches. The method identifies optimal locations and shows that 40–80% tree cover is the most effective for hydrological impact, reducing river flood peaks by up to 43%, reducing evapotranspiration by up to 60%, and increasing groundwater retention up to threefold. Graphic generated by ChatGPT and edited by ECMWF.
Siham El Garroussi, the machine learning scientist who developed the genetic algorithm used in the study, explains that the model was optimised to enhance water retention. Its flexibility, however, allows other criteria to be incorporated, such as reducing wildfire risk or improving ecological biodiversity.
“The constraints guiding the machine learning model’s decisions are defined by a physical discharge model, showing the power of combining physical understanding with machine learning,” said Siham.
The team also tested how both strategies perform under a +2°C warming scenario and found that both are similarly affected.
“This means the optimised approach would remain the most effective option and is likely to stand the test of time in a warming climate,” added Fredrik.
The study highlights that implementing nature-based solutions can be more complex than expected and may involve trade-offs. Data-driven technologies can support large-scale, smarter planning – delivering benefits for both carbon mitigation and sustainable water management.
Read the paper
El Garroussi, S., F. Wetterhall, C. Barnard et al., 2026: Optimized afforestation reduces flood risk and limits water loss in Europe. Commun. Sustain. 1, 60. https://doi.org/10.1038/s44458-026-00057-3