The outbreak of novel coronavirus pneumonia (coronavirus disease 2019 (COVID-19)), declared as a 'global pandemic' by the World Health Organization (WHO), is a public health emergency of international concern (PHEIC). The outbreak in multiple locations shows a trend of accelerating spread around the world. China has taken a series of powerful measures to contain the spread of the novel coronavirus. In response to the COVID-19 pandemic, in addition to actively finding effective treatment drugs and developing vaccines, it is more important to identify the source of infection at the community level as soon as possible to block the transmission path of the virus to prevent the spread of the pandemic. The implementation of grid management in the community and the adoption of precise management and control measures to reduce unnecessary personnel movement can effectively reduce the risk of pandemic spread. This paper mainly describes that the grid management mode can promote the refinement and comprehensiveness of community management. As a management system with potential to improve the governance ability of community affairs, it may be helpful to strengthen the prevention and control of the epidemic in the community.