These data suggested that PTPN20 has a role in regulating innate immunity in Hp-related GC. Here, PTPN20 is linked to gastric cancer.