In this study, we reported the potential value of NLRP1/NLRP3 as a prognostic marker of GC and provided preliminary evidence of the relationship between NLRP1/NLRP3 and immune cell infiltration into GC and the potential underlying mechanisms. This evidence concerns the gene NLRP3 and gastric cancer.