There was a significant association between XPG protein expression and GC prognosis in multivariate analysis, especially in patients aged younger than 60 years. Here, ERCC5 is linked to gastric cancer.