The maldistributions of the health workforce showed great inconsistency when singly measured by population quantity or geographic area in China. Meanwhile, earlier studies mainly employed traditional econometric approaches to investigate determinants for the health workforce, which ignored spillover effects of influential factors on neighboring regions. Therefore, we aimed to analyze health workforce allocation in China from demographic and geographic perspectives simultaneously and then explore the spatial pattern and determinants for health workforce allocation taking account of the spillover effect. The health resource density index (HRDI) equals the geometric mean of health resources per 1,000 persons and per square kilometer. First, the HRDI of licensed physicians (HRDI_P) and registered nurses (HRDI_N) was calculated for descriptive analysis. Then, global and local Moran's I indices were employed to explore the spatial features and aggregation clusters of the health workforce. Finally, four types of independent variables were selected: supportive resources (bed density and government health expenditure), healthcare need (proportion of the elderly population), socioeconomic factors (urbanization rate and GDP per capita), and sociocultural factors (education expenditure per pupil and park green area per capita), and then the spatial panel econometric model was used to assess direct associations and intra-region spillover effects between independent variables and HRDI_P and HRDI_N. Global Moran's I index of HRDI_P and HRDI_N increased from 0.2136 (P = 0.0070) to 0.2316 (P = 0.0050), and from 0.1645 (P = 0.0120) to 0.2022 (P = 0.0080), respectively. Local Moran's I suggested spatial aggregation clusters of HRDI_P and HRDI_N. For HRDI_P, bed density, government health expenditure, and GDP had significantly positive associations with local HRDI_P, while the proportion of the elderly population and education expenditure showed opposite spillover effects. More precisely, a 1% increase in the proportion of the elderly population would lead to a 0.4098% increase in HRDI_P of neighboring provinces, while a 1% increase in education expenditure leads to a 0.2688% decline in neighboring HRDI_P. For HRDI_N, the urbanization rate, bed density, and government health expenditure exerted significantly positive impacted local HRDI_N. In addition, the spillover effect was more evident in the urbanization rate, with a 1% increase in the urbanization rate relating to 0.9080% growth of HRDI_N of surrounding provinces. Negative spillover effects of education expenditure, government health expenditure, and elderly proportion were observed in neighboring HRDI_N. There were substantial spatial disparities in health workforce distribution in China; moreover, the health workforce showed positive spatial agglomeration with a strengthening tendency in the last decade. In addition, supportive resources, healthcare needs, and socioeconomic and sociocultural factors would affect the health labor configuration not only in a given province but also in its nearby provinces.