Introduction The importance of understanding the factors contributing to road accidents at schools cannot be overstated. This study aims to determine the risk of accidents in situations that could lead to accidents near schools. Methods A total of 10 kindergarten to junior high schools were selected for the study. The research used the Haddon Matrix to classify factors at risk of accidents, risk assessment through fault tree analysis, and the analytic hierarchy process (FTA-AHP) techniques. Fourteen sub-criteria were defined for risk identification, risk probability analysis, and risk assessment of the 10 roads. The likelihood of each event was analyzed using the AHP technique for all schools with an expert choice program. RI (random index) was calculated, and CR (consistency ratio) < 0.10 was considered satisfactory. Results The possibility of human accidents ranked highest in three areas: 1) Risk perception in SC 01, 03, and 02, with probabilities of 69.30%, 61.90%, and 57.4%, respectively. 2) The likelihood of accidents from vehicles/equipment, with the highest probabilities in a) Handling (SC01) at 64.70%, b) Braking (SC07) at 61.90%, and c) Lighting (SC03) at 57.80%. 3) The likelihood of accidents from the environment, with the highest probabilities in 1) driving at excessive speeds in areas SC01, 06, 03, and 09, which were 43.60%, 40.90%, and 40.00%, respectively. Conclusions The impacts of all three main factors were as follows: a) humans had the highest impact in the SC01 area (77.90%), b) vehicles/equipment had the highest impact in the SC01 area (75.90%), and c) the highest environmental impact in the SC01 area was 69.90%. The accident risk assessment revealed the highest risk score in three areas: 1) human risk perception, 2) environment with driving at excessive speeds, and 3) vehicle/equipment, including lighting, braking, and handling.