In this study, we found that, compared with HLA-A*0101, HLA-A*2601 individuals exhibit distinctive features for the T cell responses to SARS-CoV-2 and influenza virus after infection and/or vaccination. Here, HLA-A is linked to infection.