Land use change has a significant impact on the sustainability of ecosystems, and ecological security patterns (ESPs) can improve environmental quality through spatial planning. This study explored a multi-scenario ESP framework by integrating future land use simulation (FLUS) and minimum cumulative resistance (MCR) for urban agglomeration along the Yellow River Basin (YRB) in Ningxia. The research involved simulating land use change in 2035 under four development scenarios, identifying ecological security networks, and evaluating network stability for each scenario. The study revealed that the ecological sources under different development scenarios, including a natural development scenario (NDS), an economic development scenario (EDS), a food security scenario (FSS), and an ecological protection scenario (EPS), were 834.82 km2, 715.46 km2, 785.56 km2, and 1091.43 km2, respectively. The overall connectivity values (OG) for these scenarios were 0.351, 0.466, 0.334, and 0.520, respectively. It was found that under an EPS, the ESPs had the largest area of ecological sources and the most stable ecological network structure, which can effectively protect natural habitats. This study provides a valuable method for identifying ESPs that can respond to diversity and the uncertainty of future development. It can assist decision-makers in enhancing the ecological quality of the study area while considering various development scenarios.