In the context of carbon neutrality and carbon peaks, innovations in ecological restoration technology play a key role in carbon adsorption and maintaining ecological balance. Regional governments, tasked with formulating differentiated and rational ecologically sustainable development plans and carbon-neutral strategies tailored to various resource endowment conditions, require timely identification of the mechanisms by which ecological restoration technologies affect the carbon density of ecosystems. Based on data from 31 provinces in China from 2006 to 2021, this study employed the Spatial Durbin Model with both time and space fixed effects to examine the impact of the value of ecological restoration technologies on ecosystem carbon density under varying resource endowments. The empirical results indicate that (1) the value of ecological restoration technology has a significantly positive effect on ecosystem carbon density, particularly in neighbouring areas; (2) energy resource endowment exhibits a significantly inverted U-shaped boundary effect, whereby regions with moderate energy endowment can optimise the positive impact of ecological restoration technology; (3) the heterogeneity analysis, based on levels of regional environmental governance and forest cover, shows that in regions with less investment in environmental infrastructure and lower forest cover, ecosystem carbon density is more sensitive to the value of ecological restoration techniques, making their carbon sink effect more pronounced. This study elucidates the key role of ecological restoration techniques in enhancing carbon storage, promoting the goal of carbon neutrality, and identifying optimal pathways for increasing ecosystem carbon stocks across various regions with differing resource endowments. Moreover, it provides a reference for accelerating the achievement of carbon neutrality targets.