In 9 patients with myositis complicated with myocarditis, the frequency of HLA-B*52:01 locus (16.7% vs. 3%) was higher than that in the normal population, and the difference was statistically significant (P = 0.018, OR = 6.467, 95% CI = 1.895–23.35). Here, HLA-B is linked to myocarditis.