To evaluate the preference of primary HCWs and residents on vaccination consultation in community health services to provide evidence for vaccine hesitancy intervention strategies. A discrete choice model (DCM) was constructed to evaluate the preference difference between primary HCWs and residents on vaccination consultation in community health services in China during May-July 2022. A total of 282 residents and 204 HCWs were enrolled in this study. The residents preferred consulting with an HCW-led approach (β = 2.168), with specialized content (β = 0.954), and accompanied by telephone follow-up (β = 1.552). In contrast, the HCWs preferred face-to-face consultation (β = 0.540) with an HCW-led approach (β = 0.458) and specialized content (β = 0.409), accompanied by telephone follow-up (β = 0.831). College residents and residents with underlying self-reported disease may be near-critically inclined to choose traditional consultation (an offline, face-to-face consultation with standardized content and more prolonged duration) rather than a new-media consulting group (an online consultation with specialized content within 5 min). Urban HCWs preferred long-term consultation groups (the resident-led offline consultation with follow-up lasting more than 5 min). In contrast, rural HCWs preferred efficient consultation (the HCW-led, short-duration, standardized offline consultation mode). The selection preference for vaccine consultation reveals a gap between providers and demanders, with different groups exhibiting distinct preferences. Identifying these targeted gaps can help design more acceptable and efficient interventions, increasing their likelihood of success and leading to better resource allocation for policymakers to develop targeted vaccination policies.