On day 14 and day 21 after hospital admission, patients in the poor-sleep group had reduced ALC and associated recovery rate, as well as increased NLR and associated deterioration percentage compared to patients in the good-sleep group, suggesting detrimental effects of a sustained period of poor sleep on recovery of immune function in patients with COVID-19.