In conclusion, our study comprehensively analyzed the correlations of the NLRP1/NLRP3 inflammasome with GC prognosis and immune cell infiltration using multiple databases. This evidence concerns the gene NLRP3 and gastric cancer.