In TP53 mut gastric cancer patients, the death risk of gastric cancer patients with lymph node detection rate of 60.1%-80% and 80.1%-100% was 5.675 and 3.498 times that of gastric cancer patients with lymph node detection rate of 0–20%, respectively. Here, TP53 is linked to gastric cancer.