To provide a theoretical and technical support for the integrated management of water resources and future water network planning in Xining City, a model for optimal allocation of water resources was constructed based on the general water allocation simulation software (GWAS). Simulation results show that the water allocation of Xining City in 2030 is predicted to be 709 million and 671 million m3 in normal and dry years, the water shortage rate is 0.84 % and 11.36%, and the water resources utilization ratio is 56.14% and 53.13%, respectively. Whereas in 2035, the water allocation is predicted to be 774 million and 732 million m3 in normal and dry years, the water shortage rate is 11.54% and 20.26%, and the water resources utilization ratio is 61.28% and 57.96%, respectively. In the future, the supply and demand of water for domestic use in Xining City will basically remain in balance, but agriculture and industry will face serious water shortages, and urban ecology will also suffer a small amount of water shortage. Water shortages will mainly affect industry in Xining central city area, but agriculture in the rest districts and counties. Water resources allocation and water network planning in Xining City should focus on solving the problem of agricultural and industrial water supply.