Background: Cancer-associated cachexia is characterized by ongoing loss of skeletal muscle and has a high incidence in gastric cancer. Although studies have focused on the effect of inflammatory cytokines on skeletal muscle loss, it is not clear whether inflammatory cytokines affect other physiological functions, particularly immunity in gastric cancer. Thus, we aim to investigate the relationships between circulating TNF-α, skeletal muscle and peripheral immune status in gastric cancer.Methods: Totally 392 gastric cancer patients in cohort A and 60 gastric cancer patients in cohort B were selected from the prospective cohort study NCT03115931 and ChiCTR1900026578 in West China Hospital, Sichuan University, respectively. Besides, human skeletal muscle myoblasts (HSMMs) and peripheral CD8+ T cells completed about 7 to 9 days successive TNF-α intervention with different concentrations. Results: From data in cohort A, multivariate analysis showed that preoperative weight loss ≥5% was associated with circulating TNF-α (P =0.001) and TNM stage (P =0.002). ROC curve indicated that cut-off point of 9.96 pg/ml for circulating TNF-α was an important warning of weight loss ≥5% in patient with gastric cancer. Before surgery, high circulating TNF-α (≥ 9.96 pg/ml) was associated with significantly lower body weight, skeletal muscle mass and handgrip strength but not fat mass. After radical surgery, high circulating TNF-α was also associated with significantly more loss of body weight and skeletal muscle mass instead of fat mass. In cohort B and vitro experiments, immunohistochemistry, western blot and flow cytometry identified that high TNF-α led to myofiber change, decreased expression of AMP-dependent protein kinase (AMPK) and phosphate-AMPK in skeletal muscle and increased myoblast apoptosis. Flow cytometry found that circulating TNF-α was not correlated with PD-1, LAG-3, TIM-3 and TIGIT expressed on peripheral CD8+ T cells, and TNF-α not only promoted the proliferation of CD8+ T cells but also increased their apoptosis ratio at higher concentration.Conclusions: In our study, we found that TNF-α could result in myofiber change, interfered glycometabolism of skeletal muscle, whereas promoted the proliferation of CD8+ T cells in gastric cancer during cachexia, and preoperative circulating TNF-α of more than 9.96 pg/ml could indicate a high risk of weight loss.