Overall, our findings provided preliminary evidence of an association between NLRP1/NLRP3 and immune cell infiltration in GC and afforded insights into the mechanisms through which NLRP1 and NLRP3 regulate this process. This evidence concerns the gene NLRP3 and gastric cancer.