The anti-HER2 antibody trastuzumab is standard care for advanced esophagogastric (EG) cancer with ERBB2 (HER2) amplifi cation or overexpression, but intrinsic and acquired resistance are common. We conducted a phase II study of afatinib, an irreversible pan-HER kinase inhibitor, in trastuzumab-resistant EG cancer. We analyzed pretreatment tumor biopsies and, in select cases, performed comprehensive characterization of postmortem metastatic specimens following acquisition of drug resistance. Afatinib response was associated with coamplifi cation of EGFR and ERBB2. Heterogeneous 89 Zr-trastuzumab PET uptake was associated with genomic heterogeneity and mixed clinical response to afatinib. Resistance to afatinib was associated with selection for tumor cells lacking EGFR amplifi cation or with acquisition of MET amplifi cation, which could be detected in plasma cell-free DNA. The combination of afatinib and a MET inhibitor induced complete tumor regression in ERBB2 and MET coamplifi ed patient-derived xenograft models established from a metastatic lesion progressing on afatinib. Collectively, differential intrapatient and interpatient expression of HER2, EGFR, and MET may determine clinical response to HER kinase inhibitors in ERBB2-amplifi ed EG cancer. SIGNIFICANCE: Analysis of patients with ERBB2-amplifi ed, trastuzumab-resistant EG cancer who were treated with the HER kinase inhibitor afatinib revealed that sensitivity and resistance to therapy were associated with EGFR / ERBB2 coamplifi cation and MET amplifi cation, respectively. HER2-directed PET imaging and cell-free DNA sequencing could help guide strategies to overcome the emergence of resistant clones.