Myocarditis induced by anti-PD-1/PD-L1 agents is uncommon but shows potentially fatal toxicity. This evidence concerns the gene CD274 and myocarditis.