Background and aim: Gastrointestinal (GI) cancer presents a significant worldwide health burden, influenced by a combination of genetic and environmental factors. This study endeavors to explore the combined effects of the XRCC1 , XRCC2 , XRCC3 , and TP53 genes that contribute to the heightened risk of GI cancer, shedding light on their combined influence on cancer susceptibility. Materials and methods: A total of 200 histologically confirmed cases of GI cancer and an equal number of controls were selected to examine genetic polymorphisms within the XRCC1 , XRCC2 , XRCC3 , and TP53 genes using the polymerase chain reaction -based restriction fragment length polymorphism (PCR-RFLP). Odds ratios (OR) with 95% confidence intervals (CI) were calculated to assess the association of these polymorphisms with GI cancer susceptibility, with statistical significance (p <= 0.05). Results: Logistic regression analysis confirmed strong evidence of synergistic interactions among specific variant genotypes. Notably, combinations such as heterozygous Arg/Ser+Ser/Ser genotype of TP53 Arg249Ser polymorphism with Arg/Trp+Trp/Trp genotype of XRCC1 Arg194Trp polymorphism (OR=2.64; 95% CI: 1.35-5.18; p=0.004), Arg/Gln+Gln/Gln genotype of XRCC1 at codon 399 (OR=5.04; 95% CI: 2.81-9.05; p=0.0001), Arg/His and His/His genotypes of XRCC2 Arg188His (OR=2.16; 95% CI: 1.06-4.39; p<0.032), and Thr/Met+Met/Met genotype of XRCC3 Thr242Met (OR=3.48; 95% CI: 1.79-6.77; p=0.0002) showed significant associations with GI cancer risk in the study population. Conclusions: The findings indicate a notable association between the combined effect of heterozygous variant genotypes of TP53 and variant genotypes of XRCC1 , XRCC2 , and XRCC3 on GI cancer risk. However, further research with a larger sample size and broad single nucleotide polymorphism (SNP) spectra is necessary to understand the interaction between genetic variations and environmental factors influencing GI cancer susceptibility.