Here, by integrating transcriptome and epigenetic multi-omics analyses of gastric tissues and mouse models, we identified that inhibitor of differentiation 4 (ID4) was downregulated in H. pylori-infected gastric tissues and associated with prognosis of gastric cancer (GC). The gene discussed is ID4; the disease is gastric cancer.