Here, by using a polygenic risk score (PRS) derived from a hypothyroidism GWAS, the authors show that cancer patients with high PRS are at increased risk of atezolizumab (anti-PD-L1)-induced thyroid dysfunction, a condition associated with systemic response to PD-1 checkpoint blockade and longer overall survival. This evidence concerns the gene CD274 and cancer.