This study delves into the temporal–spatial variations and influencing factors of interprovincial ecological efficiency in China, aiming to provide vital guidance for sustainable development and ecological equilibrium. Employing the super-efficiency SBM model, we compute ecological efficiency indices for 31 Chinese provinces from 2005 to 2021. Furthermore, utilizing Geodetectors, we conduct an in-depth analysis of the impact of key dimensions—economic factors, efficiency elements, environmental governance, pollution determinants, input factors, and natural components—consisting of 30 specific indicators of ecological efficiency. The findings unveil several significant insights. Firstly, interprovincial ecological efficiency in China has experienced undulating declines since 2005. Additionally, notable spatial agglomeration exists, with economically developed regions demonstrating elevated ecological efficiency, while less-developed areas exhibit lower levels. Moreover, among the influencing factors, (1) economic aspects hold a dominant role, where optimizing industrial structure and enhancing resource utilization efficiency can partially alleviate environmental pressure; (2) efficiency elements exhibit a progressive enhancement trend; (3) the impacts of environmental governance and pollution factors manifest complex dynamics, necessitating continuous policy support and comprehensive remediation; (4) despite the relatively weaker influence of natural components, vigilance remains imperative due to intensifying climate change and natural disasters; and (5) while input factors exert limited effects on ecological efficiency, their significance in resource allocation and sustainable development persists.