The merging area is one of the most accident-prone areas on highways. After an accident occurs, the risk will propagate along the main road over a certain range and time. Therefore, the study of the propagation mechanism of accident risk will help to quantify the driving risk in this region. An effective risk prediction model is important for improving traffic control measures in this specific area. In this study, simulation experiments were conducted in SUMO (Simulation of Urban Mobility) to obtain the accident and risk propagation data in merging areas. Firstly, the Gaussian plume model was optimized for the merging area situation to determine and divide the impact range of the accidents. Then, different accident scenarios in the merging area and downstream were simulated with different input flow rates to study the time and speed of risk propagation in the three-level affected areas. Finally, LSTM (long short-term memory) and RNN (recurrent neural network) models were built to predict the accident risk in the merging area. The results showed that the LSTM model had higher accuracy. This study provides an innovative insight into the propagation process of merging area accidents. It is of benefit to the development of post-accident control measures.