OBJECTIVE: An outbreak of coronavirus disease 2019 (COVID-19) is a public health emergency of international concern and poses a big challenge to medical staff and general public. The aim is to investigate psychological impact of COVID-19 epidemic on medical staff in different working posts in China, and to explore the correlation between psychological disorder and the exposure to COVID-19. METHODS: A multicenter WeChat-based online survey was conducted among medical staff in China between 26 February and 3 March 2020. Medical staff deployed to Hubei province from other provinces and medical staffs in different posts outside Hubei were selected to represent diverse exposure intensities to the threat of COVID-19. Anxiety, depression, sleep quality, stress and resilience were evaluated using scales including GAD-7, PHQ-9, PSQI, PSS-14, and CD-RISC-10. Latent class analysis was performed to identify potential staff requiring psychological support. RESULTS: A total of 274 respondents were included, who serving at 4 posts as follows, staff backing Hubei province, isolation wards outside Hubei, fever clinic and infectious disease department, and other departments outside Hubei. The total scores of anxiety, depression, sleep quality and stress were statistically different among groups, meanwhile an increasing tendency of anxiety, depression and sleep quality scores with increasing risk of exposure to COVID-19 was found (p