Here, by investigating the HLA‐B genotypes in 190 unrelated Chinese patients with confirmed COVID‐19, we identified a significant positive association between the B22 serotype and SARS‐CoV‐2 infection (p = 0.002, Bonferroni‐corrected p = 0.032). Here, HLA-B is linked to COVID-19.