Liver kinase B1 (LKB1) is a tumor suppressor gene, the inactivation of which occurs frequently in different tumor types. However, whether LKB1 is associated with the clinical features of gastric cancer (GC) and regulating tumor immunity is unknown. In this study, we showed that LKB1 is highly expressed in the serum of healthy individuals (n = 176) compared to GC patients (n = 416) and is also associated with clinical outcomes and good survival rates in GC patients. Furthermore, genes associated with immune checkpoints and T cell activation, such as PD−1, PD−L1, CD8A, CD8B, CD28, and GZMM, were shown to be highly expressed in GC subgroups with high LKB1 expression. Compared with fresh gastric cancerous tissues, LKB1 was highly expressed in CD3+CD8+ and CD3+CD8+CD28+ T cells in fresh adjacent non-cancerous tissues. CD3+CD8+ T cells produced an IFN−γ anti−cancer immune response. Furthermore, the proportion of CD3+CD8+ T cells that expressed LKB had a positive correlation with IFN−γ expression. Moreover, GC patients with low LKB1 expression had a poor objective response rate, and worse progression-free survival and overall survival when treated with pembrolizumab. In conclusion, LKB1 may be a potential immune checkpoint in GC patients.