We report a case of early gastric cancer that was detected during surveillance of a pyogenic liver abscess caused by Streptococcus intermedius, an oral microbiota. Treatment with proton pump inhibitors can result in the alteration of gastric bacterial flora by altering intragastric acidity. This can place immunocompromised patients, such as those with diabetes mellitus and the elderly, at an increased risk for disease of the upper gastrointestinal tract to be a route of bacterial transmission. In this case, the patient developed a pyogenic liver abscess.