Cities are gradually developed on the basis of adapting and transforming the natural environment. In a certain urban area, human activities, natural environment, and other factors and their mutual influence constitute the urban ecological environment. Therefore, the evaluation of urban ecological environment quality is of great significance to the analysis of urban development. This paper takes a city in Western China as the evaluation object, uses AHP to determine the index weight, reasonably analyzes the current situation of the urban ecological environment, and further comprehensively evaluates the quality of the urban ecological environment. The study shows that from 2013 to 2018, the comprehensive capacity of the city’s ecological environment quality showed a steady upward trend, except that the natural disasters of floods and mudslides in 2014 had a certain degree of fluctuation. The comprehensive index of ecological environment quality has increased from 0.337 in 2013 to 0.412 in 2018. The overall level is still low, but the development speed is relatively stable. The urban ecological environment has been gradually improved, and society, economy, and nature have maintained a certain degree of sustainable development.