We explore a strategy for the elimination of gastric cancer deaths in Japan. Most gastric cancer is due to H. pylori infection in Japan. The effect of H. pylori eradication therapy on gastric cancer prevention in younger people is excellent, but it declines along with advancing age. Therefore, a test-and-treat approach to H. pylori infection is recommended in younger people, while for people aged 50 years or older a combination of countermeasures for H. pylori eradication that includes primary prevention and secondary prevention by endoscopic examination will reduce gastric cancer deaths, since this method will increase early detection if the disease occurs. In this paper, I described a new strategy of elimination of gastric cancer deaths in Japan due to such a high quality of diagnosis and treatment for gastric cancer. If this strategy succeeds, the incidence of gastric cancer in Japan may decrease much longer than 10 years.