Local water conservation measures could buffer the potential negative impacts of climate change in eastern Africa and boost food production.