In general, our study provided a noninvasive, reliable method for predicting the PD-L1 expression status of patients with GC. Here, CD274 is linked to gastric cancer.