Models of climate change assume a long-term growth in temperature. This poses a risk for the supply of drinking water to the population. This paper evaluates the possibilities of optimal use of surface and underground sources. It proposes the interconnection of surface resources and optimization of their use. In order to improve the yield of underground water sources, it recommends the use of artificial infiltration.