AbstractCoal mining in Shanxi Province for many years has caused regional land-use changes, seriously affecting the local ecological environment. To promote the green and sustainable development of this area and achieve the goal of “double carbon”, the PLUS-InVEST model was used to analyze the nearly 20 year land-use types transfer and carbon storage changes in the region based on the five periods of land-use data of Shanxi Province from 2002 to 2022 in this study. Three scenarios were set up to predict the data in 2032, and the driving forces of spatial differentiation of the carbon storage were analyzed by geographical detector. The results showed that: (1) Land-use change had an important impact on carbon storage. Construction land in Shanxi Province expanded by 3068.47 km2 from 2002 to 2022, an increase of 59.33%, and the rest of the land types, except for forest, continued to decrease, resulting in a decline in total carbon storage of 228.88 × 104 t. (2) The natural development scenario shows the same transfer of land as before in 2032. Under the urban development scenario, the expansion of construction land in Shanxi Province is the largest, and carbon storage decreases instead of increasing; under the ecological protection scenario forest and grassland increase, and carbon storage increase the most, with a value of 738.67 × 104 t. (3) The dominant driving factors for the spatial differentiation of carbon storage in Shanxi Province were the land-use degree comprehensive index and night light index, with the explanatory power of 0.866 and 0.755, respectively, and the interaction of the land-use degree comprehensive index with other factors had the most significant effect on the change of carbon storage. The study suggested that the expansion of construction land into high carbon storage categories was the main reason for the loss of carbon storage, and Shanxi Province should optimize the land-use structure and adopt ecological protection works to increase carbon storage effectively.