The Ordos Basin is characterized by abundant natural gas resources, and the marine-continental transitional shale gas of the Permian Shanxi Formation has great exploration and development potential. However, few systematic studies have focused on the burial history, thermal maturity, and hydrocarbon generation of the shale, which limits the understanding of shale gas enrichment and resource evaluation. To reveal the shale gas resource potential, we focused on the Shanxi Formation shale in the southeastern Ordos Basin. Net erosion was estimated, and then one-dimensional (1D) and three-dimensional (3D) geological models were constructed using PetroMod to simulate the burialthermal history and hydrocarbons generated in the Shanxi Formation shale, and finally, the gas generation intensity was evaluated. The results show that four periods of uplift and erosion events have occurred in the study area since the Mesozoic, of which the erosion in the Late Cretaceous was the most severe. The burial center gradually shifted from east to northwest in the study area, and the basin reached the maximum burial depth in the Late Cretaceous and then gradually changed to a monoclinal tilted east to west after uplift and erosion. The Shanxi Formation shale reached the hydrocarbon generation threshold at 233 Ma (R o = 0.5%), reached the oil generation peak at 200 Ma (R o = 1.0%), and entered the high maturity stage rapidly (R o = 1.3%). Currently, the average maturity is approximately 2.48%, which is in the overmature stage. The center of shale maturity was in the southern part of the study area before the Late Jurassic and shifted northeast in the late Early Cretaceous. Cumulative gas generated to date is 44.0 × 10 12 m 3 , and the center of gas generation was in the middle-eastern region of the study area before the Early-Middle Jurassic and shifted northwest in the Early Cretaceous. This study provides a theoretical basis and guidance for the exploration and development of marine-continental transitional shale in the Ordos Basin.