These results suggest that the GLI1-ABCG2 signaling axis is associated with poor outcomes of the gastric cancer patients. Here, GLI1 is linked to gastric cancer.