Prevention and management of epidemic is a protracted war. As large community in city, universities are key regions in the anti-epidemic period. However, the current epidemic prevention and management measures in many universities do not compatible with the spatial form and the characteristics of the population, likely to lead to waste of resources and cause conflicts. The research simulates campus environment by constructing GIS model, and simulates the behavior of campus crowd by ABM. Under the coupling effect of the two, the real-time calculation of the spread of epidemic in universities can be calculated in real-time, making up for the deficiency of GIS model which can only do static data analysis. On this basis, research takes South China University of Technology as an example and assumes three epidemic prevention management measures, i.e. closed-off management, zoning management and self prevention, respectively to simulate the spread of the epidemic, sum up the results of different management measures and provide certain suggestions.