Together, our results revealed that high expression of RANKL could predict worse outcomes in gastric cancer especially combined with RANK detection, and thereby this pathway could be a useful prognostic indicator of gastric cancer. This evidence concerns the gene TNFSF11 and gastric cancer.