ObjectivesThe COVID-19 pandemic continues to advance worldwide with tremendous impact on public health, economy and society. Primary healthcare is crucial in every country during the pandemic for an integrated and coordinated healthcare delivery system; hence, it is of paramount importance to maintain a sufficient frontline workforce. This study aimed to identify factors influencing the willingness of primary care physicians to provide care during the COVID-19 pandemic.DesignCross sectional study.SettingNationwide surveyParticipantsPrimary care physicians working in the community in Taiwan were selected using a cluster sampling method based on practice region from May to June 2020.Outcome measuresThe willingness of primary care physicians to provide care during the COVID-19 pandemic.ResultsThis study surveyed 1000 primary care physicians nationwide, and 625 valid questionnaires were received and included in the final analysis, with an effective response rate of 62.5%. Factors significantly associated with physicians willingness to provide care during COVID-19 were ‘joining the Community Healthcare Group (CHCG)’ (p<0.001), ‘perceived more overall benefits for providing care’ (p<0.001) ‘perceived less overall barriers to providing care’ (p<0.001), ‘higher knowledge scores about COVID-19’ (p=0.049) and ‘physician’s major specialties’ (p=0.009) in the multivariate logistic regression model.ConclusionsBuilding a comprehensive primary care system such as Taiwan’s CHCG, training of more family physicians or general practitioners, and protecting and supporting primary care physicians were important in response to infectious disease pandemics. The findings of this study inform the development of guidelines to support and maintain the primary healthcare workforces during the COVID-19 pandemic and for future events.