Here, Wang et al show that loss of TRIM29 and PERK inhibitor mitigate viral myocarditis by attenuating PERK-driven ER stress and ROS responses in male mice. This evidence concerns the gene EIF2AK3 and viral myocarditis.