This study conducted an in-depth analysis of the landslide problem in the loess hill and gully area in northern Shaanxi Province, selecting the loess landslide site in Quchaigou, Ganquan County, Yan’an City, as the object to assess the stability of loess slopes under the conditions of different plant root densities and soil moisture contents through field investigation, physical mechanics experiments and numerical simulation of the GeoStudio model. Periploca sepium, a dominant species in the plant community, was selected to simulate the stability of loess slope soils under different root densities and soil water contents. The analysis showed that the stability coefficient of Periploca sepium natural soil root density was 1.263, which was a stable condition, but the stability of the stabilized slopes decreased with the increase in soil root density. Under the condition of 10% soil moisture content, the stability coefficient of the slope body is 1.136, which is a basic stable state, but with the increase in soil moisture content, the stability of the stable slope body decreases clearly. The results show that rainfall and human activities are the main triggering factors for loess landslides, and the vegetation root system has a dual role in landslide stability: on the one hand, it increases the soil shear strength, and on the other hand, it may promote water infiltration and reduce the shear strength. In addition, the high water-holding capacity and permeability anisotropy of loess may lead to a rapid increase in soil deadweight under rainfall conditions, increasing the risk of landslides. The results of this study are of great significance for disaster prevention and mitigation and regional planning and construction, and they also provide a reference for landslide studies in similar geological environments.