Loss of ZNF521 upregulates EBF1 to suppress AKR1B1 and attenuate the proliferation, migration, and invasion of gastric cancer cells. Here, AKR1B1 is linked to gastric cancer.