Hospice care is a comprehensive approach addressing patients’ physical, psychosocial, and spiritual needs at the end of life (EoL). Despite the recognition of its effectiveness in improving the quality of EoL care, little is known about hospice care in mainland China. In this study, we aimed to examine the preferences for hospice care and its related factors among community-dwelling residents in mainland China. Participants were recruited using a convenience sampling method, and 992 community-dwelling residents responded to an online survey from June 2018 to August 2019. The majority (66.7%) of the participants were female, and the mean age was 48.4 years. Approximately 28% of the participants had heard of hospice care, and 91.2% preferred to receive hospice care if diagnosed with a terminal illness. Participants who had heard of hospice care, and with higher levels of education (bachelor’s degree or above) and health insurance coverage were more likely to accept hospice care than their counterparts. Community-based education on hospice care is imperative to improve public knowledge and the acceptance of hospice care. Meanwhile, there is a need to develop policies to integrate and expand hospice care into clinical settings.