From the above results, it can be concluded that CTSK played an important role in the TME and immune response of GC that may become a new immunotherapeutic target for tumor treatment. Here, CTSK is linked to gastric cancer.