Our results showed that rs1665650 in HSPA12A gene is correlated with gastric cancer risk, and we did not find a significant association with the risk of colorectal cancer. Here, HSPA12A is linked to colorectal cancer.