Rainfall infiltration is an important factor affecting the stability of the ancient city wall. To state the wall line spring door where, for example, soil temperature and humidity sensor, the earth pressure meter and rain gauge carried out such as rainfall, volume moisture content and soil pressure monitoring, analyzed the inner core wall soil volume moisture content and soil pressure response law of rainfall different rainfall conditions is studied through numerical simulation method the stability of the ancient city wall. The results show that :(1) rainfall has a significant effect on the volume moisture content and earth pressure of the inner core soil;(2) The response to rainfall is different at different depths of the city wall, and the response to rainfall in the middle part of the city wall has a certain hysteresis;(3) Compared with the low-intensity and long-duration rainfall, the high-intensity and short-duration rainfall has a greater impact on the stability of the city wall. The research results have certain guiding significance for the protection and monitoring of the ancient city wall.