The Yellow River Basin is of great significance to China's economic and social development and ecological security. The Yellow River Basin is not only an important ecological barrier but also an important economic zone. In this paper, natural hydrological conditions were taken as a reference, a habitat simulation model of the key sections of the Yellow River was constructed based on the MIKE 21 model, and an ecological water requirement assessment method for river ecological integrity combined with habitat simulation and features of the hydrological reference group was established, which takes into account the survival and reproduction of indicator species. The suitable flow rates for the spawning period of Silurus lanzhouensis in Lanzhou and Xiaheyan and Cyprinus carpio in Toudaoguai, Longmen and Huayuankou were 350 - 720 m3/s, 350 - 600 m3/s, 150 - 500 m³/s, 260 - 400 m3/s, and 100 - 500 m³/s, respectively. Therefore, high pulse flow with a low flow peak should be guara