Research has delved into the main controlling factors for the evolution of the pore-fracture structure in deep coal samples. The gas content is influenced by multiple factors, among which the pore-fracture structure in deep coal samples stands as one of the key determinants. To ascertain the evolution of the pore-fracture structure and the main controlling factors of the gas content in deep coal samples of the Yan'an Gas Field, 16 coal samples were collected from the Yan'an Gas Field in the Ordos Basin in this study. A series of laboratory tests and analyses were then carried out. According to the test results, the major controlling factors for the evolution of the pore-fracture structure of the samples were analyzed in accordance with the proximate analysis components, maceral components, mineral composition of the coal samples, and Ro,max, in conjunction with the pore volume and specific surface area of nanopores. Meanwhile, based on the in situ desorption experiment, the major controlling factors of the gas content in coal were explored. First, based on the SEM and hand specimen identification, the pore-fracture structure of the samples is relatively well developed. Calcite filling the fractures of samples can be seen in the hand specimens of samples. This indicates that the mineral composition has a very important influence on the evolution of the pore-fracture structure of samples. Secondly, this study indicates that pore-fracture structure evolution is influenced by multiple factors, primarily ash content and fixed carbon. As ash content increased, the mesopore surface area and volume rose across all sample types, with Type C showing the highest increase (78.1% in surface area and 12.4% in volume compared to Type A). Conversely, micropore characteristics declined, with Type C exhibiting a 4.8% drop in surface area and a 4.7% reduction in volume. The Ro,max of the samples is generally higher than 2.8%, which has a multifaceted impact on pore-fracture structure evolution. Finally, the gas content is mainly controlled by pore volume and the specific surface area of nanopores, with industrial components and maceral compositions showing minimal direct influence. This suggests that gas content results from the combined effects of material composition and pore-fracture structure evolution. Inorganic minerals like quartz and calcite indirectly affect gas content by influencing pore structure development-occupying spaces while also creating new pores, especially through calcite dissolution. Conversely, clay minerals generally hinder pore development by filling spaces with limited fracture-forming capacity. The main purpose of this study is to evaluate the gas content of coal samples in Yan'an Gas Field. There are few studies on this area by previous scholars.