Objectives Gastric cancer (GC) is one of the most prevalent malignancies worldwide, and early detection is crucial for improving patient survival rates. We aimed to identify immune infiltrating cell-related biomarkers in early gastric cancer (EGC) progression. Methods The GSE55696 and GSE130823 datasets with low-grade intraepithelial neoplasia (LGIN), high-grade intraepithelial neoplasia (HGIN), and EGC samples were downloaded from the Gene Expression Omnibus database to perform an observational study. Immune infiltration analysis was performed by single sample gene set enrichment analysis and Estimation of STromal and Immune cells in MAlignant Tumor tissues using Expression data. Weighted gene co-expression network analysis was used to explore the co-expression modules and genes, and further enrichment analysis was performed on these genes. A protein-protein interaction (PPI) network of these genes was constructed to identify biomarkers associated with EGC progression. Screened hub genes were validated by the rank sum test and reverse transcription quantitative polymerase chain reaction. Results Immune scores were significantly elevated in EGC samples compared to LGIN and HGIN samples. The green-yellow module exhibited the strongest correlation with both immune score and disease progression. The 87 genes within this module were associated with the chemokine signaling pathways, the PI3K-Akt signaling pathways, leukocyte transendothelial migration, and Ras signaling pathways. Through PPI network analysis, the hub genes identified were protein tyrosine phosphatase receptor-type C (PTPRC), pleckstrin, CD53, CD48, lymphocyte cytosolic protein 1 (LCP1), hematopoietic cell-specific Lyn substrate 1, IKAROS Family Zinc Finger 1, Bruton tyrosine kinase, and Vav guanine nucleotide exchange factor 1. Notably, CD48, LCP1, and PTPRC showed high expression levels in EGC samples, with the remaining hub genes demonstrating a similar expression trend. Conclusion This study identified 9 immune cell-related biomarkers that may be actively involved in the progression of EGC and serve as potential targets for GC diagnosis and treatment.