Patients with advanced gastroesophageal cancer (mEG) and tumor mutational burden ≥ 10 mut/mb (TMB≥10) have more favorable outcomes on immune checkpoint inhibitor (ICPI) monotherapy compared to chemotherapy in subgroup analyses of randomized controlled trials. We sought to evaluate the robustness of these associations in real-world settings where patients and practices are more diverse. 362 2L and 692 1L patients respectively received ICPI (n = 99, 33) or chemotherapy (n = 263, 659) across approximately 280 U.S. academic or community-based cancer clinics March 2014-July 2021. De-identified data was captured into a real-world clinico-genomic database (CGDB). All patients underwent Foundation Medicine testing. Time to next treatment (TTNT) and overall survival (OS) comparing ICPI vs. chemotherapy were adjusted for treatment assignment imbalances using propensity scores. 2L: TMB≥10 had more favorable TTNT (Median 24 vs. 4.1 months, HR: 0.19, 95%CI: 0.09–0.44, p=0.0001) and OS (median 43.1 vs. 6.2 months, HR: 0.24, 95%CI: 0.011–0.54, p=0.0005), TMB<10 did not (p>0.05). 1L: TMB≥10 had more favorable TTNT (not reached vs. median 4.1 months, HR: 0.13, 95%CI: 0.03–0.48, p=0.0024) and OS (not reached vs. median 17.1 months, HR: 0.30, 95%CI: 0.08–1.14, p=0.078), TMB<10 had less favorable TTNT (median 2.8 vs. 6.5 months, HR: 2.36, 95%CI: 1.25–4.45, p=0.008) and OS (median 4.5 vs. 13.1 months, HR: 1.82, 95%CI: 0.87–3.81, p=0.11). TMB ≥ 10 robustly identifies mEG patients with more favorable outcomes on 2L ICPI monotherapy vs. chemotherapy. 1L data are more limited, but effects are consistent with 2L.