This paper takes the earthquake response of Shawozi slope during the Wenchuan earthquake 2008 as an example, which is located in Duwen road (Dujiangyan-Wenchuan). The discrete element software UDEC is used to simulate and systematically study the seismic response of deformation and failure mechanism. The results show that, under the earthquake, the soft and weak rock is squeezed and cut out from the slope with strong deformation. At the same time, in soft rock locations, it is easy to crack under the repeated tensile influence of seismic waves, and become the advantage area of deformation and failure of the slope.