ObjectiveThis study aimed to investigate the potential molecular mechanism of SPDEF in immune evasion of colorectal cancer (CRC) and examine its impact on macrophage M2 polarization using the TCGA and GEO databases. MethodsBy combining TCGA and GEO databases, differential gene expression between CRC samples and standard tissue samples was analyzed to screen for immune-related genes (IRGs) associated with the prognosis of CRC patients. A predictive risk model was constructed based on 18 key IRGs, which were then validated using the GEO dataset. The relationship between transcription factors and IRGs was further explored to investigate their regulatory network in CRC. In vivo and in vitro experiments were carried out to validate these regulatory relationships and explore the function of SPDEF and CCL28 in CRC. ResultsTwelve key IRGs associated with clinical and pathological characteristics of CRC patients were identified. Among them, CCL28 significantly impacted macrophage infiltration in CRC cells and may be a critical factor in immune evasion. In both in vitro and in vivo experiments, overexpression of SPDEF upregulated CCL28 expression, thereby suppressing M2 polarization of macrophages and inhibiting CRC cell proliferation and tumor growth. Notably, interference with CCL28 could reverse the effect of SPDEF overexpression. ConclusionSPDEF can suppress immune evasion of CRC cells by activating CCL28, which is achieved through the modulation of M2 polarization of macrophages. This provides a new research direction and potential therapeutic target for immunotherapy in CRC.