In conclusion, our study found that the PNI-IgM score is a valid scoring tool for patients with gastric cancer who received surgery. Here, CD40LG is linked to gastric cancer.