Risk of myocarditis following infection before vaccination was 11.14 [95% CI, 8.64–14.36] greater than the risk of vaccination, and risk of myocarditis following infection after vaccination was 5.97 [95% CI, 4.54–7.87] greater than the vaccination itself.