The results of this large-scale registry-based study suggest that pathogenic variants in BRCA1 and/or BRCA2 are associated with increased risk of biliary tract, gastric, and esophageal cancers. Here, BRCA1 is linked to esophageal cancer.