Urban rail transit plays an important role in daily life and optimal emergency scheduling determines social and economic benefits. To solve emergency scheduling problem of urban rail transit, a mathematical scheduling model is proposed in this paper. Based on the characteristic of urban rail transit, this scheduling model considers the benefits of both passengers and rail transit operator. Furthermore, on the basis of the model, three sorts of emergencies, such as closure of stations, outage of metro lines and surge of passenger flow are described and formulated, thus, model is solved through several GA operations. The testing results show that the model can accurately reflect the change of rail transit network during emergencies and quickly provide an effective emergency scheduling scheme.