ABSTRACT The risk of coal spontaneous combustion in goaf is one of the disasters in coal mining, ventilation and extraction often aggravate air leakage from the goaf. Due to the unclear rule of expansion law and air leakage, the risk space for coal spontaneous combustion continues to occur. To investigate the influence of ventilation and extraction on the evolution of the risk space of coal spontaneous combustion (CSC) in goaf, further reveal the characteristics of air leakage and extraction in goaf and obtain the expansion law of CSC risk space. A three-dimensional model of goaf under surface drilling and gas extraction was developed. Using FLUENT numerical simulation software, taking a coal mine in Anhui Province, this study analyzes the influence factors, evolution law, and influence characteristics of CSC through field observations and numerical simulation. The research indicates that ventilation keeps the risk space of CSC expanding. The extraction of single drilling showed a local space expansion, while the extraction of double drilling shows the overall space expansion of the goaf. The air leakage flow path in goaf, air flow velocity vector in working face, gas concentration loss, and gas extraction characteristic parameters are determined. The loss of air leakage along the working surface meets four-stage: “strong in – flow - mixed flow – steady inflow – sudden outflow.” It can be determined that the extraction intensity of single drilling should be greater than 34.8 m3/min, and the double drilling should be greater than 18.7 m3/min. The relationship between the coupling influence of ventilation and extraction and the expansion law of CSC risk space is determined, and the maximum risk space width of CSC can be predicted. The research results are of guiding significance for CSC prevention and gas efficient extraction.