HLA class I allele HLA-C*07:01 (OR = 2.89, 95% CI: 1.11–7.53; P = 0.03) and HLA class II allele HLA-DMB*01:01 (OR = 3.22, 95% CI: 1.158.97; P = 0.026) were associated with increased odds for myocarditis. Here, HLA-C is linked to myocarditis.