Helicobacter pylori, a gram-negative, flagellated, helical bacterium, is a common cause of chronic gastric infection worldwide. According to the World Health Organization, H. pylori infection, a specific carcinogenic factor, was the leading cause of gastric cancer (GC) in 2014 worldwide (80%). H. pylori infection causes GC in >98% of patients in East Asian countries, including Japan. However, only some types of GCs are associated with H. pylori infection. Previous clinical studies have revealed that the bacterium secretes cytotoxin-associated gene A antigen, which inhibits the nuclear translocation of the breast cancer susceptibility gene 1 and 2 (BRCA1/2), a factor involved in DNA damage repair. This indicated an association between hereditary breast and ovarian cancers (HBOCs) and the development of GC. However, the detailed mechanisms underlying the development of GC caused by H. pylori infection remain unclear. Using the information on hereditary cancers obtained based on cancer genomic medicine, this study revealed that the incidence of GC was high in families with HBOC, with a preponderance for men from families with HBOC. Furthermore, the use of poly-adenosine diphosphate-ribose polymerase inhibitors in patients with hereditary GC is considered safe and effective. This study provides substantial evidence for guiding the establishment of early treatment for patients with advanced-stage/metastatic GC who harbored BRCA1/2 mutations.