Conclusion: In summary, we identified a prognostic CBXs model comprising five genes (CBX1, CBX2, CBX3, CBX7, and CBX8) for gastric cancer patients through bioinformatics analysis. This evidence concerns the gene CBX7 and gastric cancer.