This study aimed to investigate XPG protein expression in different gastric tissues and in patients with diverse prognoses, thus providing insights into its role in the development, progression and prognosis of gastric cancer (GC). Here, ERCC5 is linked to gastric cancer.