In the background of rapid urbanization and frequent earthquakes, earthquake disaster prevention planning has become an important topic of current research. Universities are irreplaceable disaster shelter, as they are public institutions with a lot of open space. This article puts forward the concept of "disaster prevention campus". With the refuge behavioral and psychological characteristics of people in the campus when the earthquake happens, it integrated uses GIS spatial analysis technique, takes Shandong Agricultural University as an example, and studies the spatial pattern of earthquake disaster prevention planning in campus from five aspects. The aspects include building distribution, population distribution, analysis of service radius, infrastructure configuration and choice of the optimal refuge path. On the basis of researches above, reform proposals and specific strategies are put forward to build the safe and harmonious disaster prevention campus.