The multivariable logistic regression analysis suggested that obesity (BMI >28) (OR, 3.31; 95% CI, 1.08–10.09), positive detection of rectal swab species for SARS‐CoV‐2 RNA (OR, 3.43; 95% CI, 1.53–7.7), treatment by LPV/r with CQ (OR, 2.5; 95% CI, 1.04–6.03), the prolonged interval time of more than 7 days from illness onset to antiviral treatment (OR, 2.26; 95% CI, 1.04–4.93), CD4+ T cell (OR, 0.92; 95% CI, 0.86–0.99), and NK cells (OR, 1.11; 95% CI, 1.02–1.20) were significantly associated with prolonged viral shedding of respiratory tract even after the adjustment for age and gender. This evidence concerns the gene CD4 and obesity disorder.