This study demonstrated that XPG protein expression was related to the development, progression and prognosis of GC, and might thus serve as a potential biomarker for its diagnosis and prognosis. Here, ERCC5 is linked to gastric cancer.