In the anti-seismic analysis of concrete high dams, only the damage cracking of the dam concrete is usually considered, and the nonlinear characteristics of the dam foundation rock during the earthquake are not considered. Taking the Koyna gravity dam in India and Shapai arch dam in China as examples, this paper adopts the nonlinear time-history analysis method and takes into account the comprehensive influence of the radiation damping of infinite foundation, the hydrodynamic interaction between dam and reservoir, the nonlinear dynamic contact between various joints in the dam body and foundation, and the damage of dam concrete and foundation rock mass in the damage evolution process, analyzes damage evolution process of dam body-foundation system under earthquake action and the influence of foundation rock mass damage on seismic failure mode of concrete dam-foundation system, and compares the numerical simulation results with the actual earthquake situation. The calculation results show that after considering the damage of the dam foundation rock mass, the rock mass of the dam heel firstly appears to be damaged under the action of the earthquake and gradually expands into the interior of the foundation. The dam heel and the foundation surface are not damaged. The numerical simulation results are more in line with the actual situation of earthquake.