Abstract:Due to the rapid urbanization and unreasonable utilization of resources, the ecological environment of Xianyang City has been affected. To maximize the protection of biological resources and consolidate the ecological security pattern of Xianyang city, this paper used the InVEST habitat quality assessment model and NPP method to divide the habitats of Xianyang city into four grades: excellent, good, medium, and poor, to study the impact of land use change on habitat quality. To evaluate the importance of biodiversity conservation in Xianyang, biodiversity conservation was divided into three levels: very important, meaningful, and generally necessary. Based on the habitat quality assessment and biodiversity maintenance level results, the ecological corridor was constructed using the minimum resistance model. The results showed that the cultivated land area of Xianyang decreased by 327.33 km2 from 2000 to 2020. Construction land area increased by 263.88 km2. The ecological land, such as forest land and grassland, showed a trend of increasing and decreasing. The habitat of high-quality grade continued to decline by 60.56 km2, and the poor-quality habitat increased by 70.93 km2. The importance of biodiversity conservation in Xianyang City is mainly of general importance, and the critical and essential areas are 896.54 km2 and 866.66 km2, respectively. Biodiversity is closely related to habitat quality. Therefore, based on the evaluation results, a 1 303.96 km ecological corridor was constructed through the resistance model, and methods and optimization countermeasures for biodiversity conservation in Xianyang City were proposed to provide the basis and guarantee for animal migration and biodiversity conservation in Xianyang City in the future.