Objective:To analyze the spatiotemporal disparities in the allocation of rural doctors and health workers in China from 2009 to 2021,so as to provide insights for optimizing human resources in rural healthcare.Methods:Panel data on rural doc-tors and health workers from 31 provinces in China spanning the years 2009 to 2021 were collected.A spatial Durbin model was em-ployed to analyze the main influencing factors and spatial spillover effects of the interprovincial migration of rural doctors and health workers in China.Results:From 2009 to 2021,there was a noticeable downward trend in the total number of rural doctors and health workers in China.At the provincial level,the allocation of these professionals exhibited certain spatial agglomeration charac-teristics,accompanied by significant spatial spillover effects.The spatial clustering showed minor variations,with only a few prov-inces experiencing slight fluctuations.The'high-high'clustering pattern initially found in the central regions has expanded to cover the western areas of Yunnan,Guizhou,and Guangxi.Conversely,the'low-low'clustering phenomenon remains predominantly con-centrated in the eastern and northwest regions.Key factors influencing the interprovincial migration of rural doctors and health work-ers include the number of rural elderly care institutions(direct effect:0.001,indirect effect:-0.002),the number of township cultural stations(direct effect:0.014,indirect effect:0.013),the proportion of the rural population to the total population(indi-rect effect:-0.415),rural residents'per capita disposable income(indirect effect:-5.092),and the number of village health clinics(indirect effect:0.001).Conclusion:Since the initiation of the new healthcare reform in China,the agglomeration effect of rural doctors and health workers has gradually diminished,and disparities in health resource distribution persist.Therefore,when optimizing the layout of primary health resources,it is crucial to focus on the overall effects of the health resource allocation process.Continued support should be increased for the construction of primary medical and health networks.Additionally,efforts should be made to explore innovative health service models to better meet the medical needs of rural residents.