The rapid global spread of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) has caused the coronavirus disease 2019 (COVID-19) pandemic. Although COVID-19 is a class B infectious disease, the prevention and control measures used for it in China are commonly used for class A infectious diseases. In the process of the spread of the disease, hospitals will be a key point to influence this pandemic. To prevent and control nosocomial infection of SARS-CoV-2, methods and measures were formulated from the relevant laws and regulations of the National Health Commission of the People's Republic of China, practical experience of the pandemic, and evidence-based medicine in the hospitals fighting this disease. Thus, this report may provide useful recommendations for the prevention and control of COVID-19 in hospitals and clinics.