Conclusions This observational cross-sectional clinical study aimed to use SEM to determine the effects of social support on sleep quality and function of medical staff who treated patients with coronavirus disease 2019 (COVID-19) in January and February 2020 in Wuhan, China. Structural equation modeling (SEM) showed that medical staff had increased levels of anxiety, stress, and self-efficacy that were dependent on sleep quality and social support.