In conclusion, methylation and CNV in the GNAI2-related immune microenvironment play an important role in the occurrence and development of GC. Here, GNAI2 is linked to gastric cancer.