Water security is essential for ensuring energy security, sustainable development, and human survival. However, due to a series of challenges, including rising water demand, environmental pollution, and water resource shortages, the global water security situation remains concerning and poses a threat to global sustainable development. To assess water security in China, this study uses data from 30 provinces in China from 2012 to 2021. A comprehensive evaluation method was applied to determine the level of water resource security in China. The Dagum Gini coefficient, Moran index, and spatial model were used to clarify regional differentiation characteristics and the driving factors. The results indicate that while China's water resource security is relatively low, it has shown steady improvement in recent years. Significant regional disparities exist in water resource security across China, with notable spatial characteristics, and socio-economic factors are the primary causes of these differences. Based on the above research, we put forward policy recommendations from the aspects of water resources management, public participation and inter-regional water resources cooperation, to provide reference for water resources security in developing countries.