Abstract Organic waste production has greatly increased following human sprawl and led to the development of landfills in recent decades. This abundant and reliable anthropogenic food source has favored several species, some of which consequently became overabundant. Landfills present hazards to wildlife, which may suffocate on plastic materials, tangle on cords, and get exposed to pollutants and pathogens. In response to environmental and public health concerns over the maintenance of landfills, the European Commission proposed to close the landfills. Our objective was to determine the impact of Landfill European Directive on the White Stork (Ciconia ciconia) whose population recovery and growth was linked to landfill exploitation. We implemented species distribution models to project future distribution in the absence of landfills in the Community of Madrid (Spain). Habitat suitability was estimated based on nest occurrence and we included data from land cover types, human population density, and two different climate change scenarios (i.e. emissions in low and high shared socioeconomic pathways). Given that protection measures, particularly implemented in protected areas, were associated with population recovery, we also evaluated the overlapping degree between protected areas and projected distribution. Our models predicted a sharp decline in breeding population distribution with landfill closure, reaching values similar to the 1984 breeding census when the species was categorized as threatened. Our results also suggest a decrease in maximum habitat suitability. Climate change also contributed to a reduction in breeding population distribution given model predictions for the extreme emission pathway (ssp5). Measures such as gradual change in landfill management, continuous monitoring of breeding populations, and evaluation of the White Stork use of natural feeding areas before and after landfill closure, should be considered.