After earthquake, the correct and efficient earthquake emergency evacuation of pedestrian is crucial for reducing casualties. Based on the research on the quantitative of panic coefficient and the calibration of initial desired speed, this research has constructed the revised social force model which could accurately simulate the post-earthquake evacuation process of the crowed. Using the revised social force model, the effects of classroom layout, seismic intensity, the number of safeties exits and the number of students in the classroom on the evacuation efficiency are further studied. And then, according to the research results, the classroom layout has been further optimized to improve the students' earthquake emergency evacuation efficiency. These research results are scientific bases for the targeted earthquake emergency safety education and the design of classroom layout.