ObjectiveLocal invasion is the first step of metastasis, the main cause of colorectal cancer (CRC)-related death. Recent studies have revealed extensive intertumoral and intratumoral heterogeneity. Here, we focused on revealing local invasion-related genes in CRC. MethodsWe used spatial transcriptomic techniques to study the process of local invasion in four CRC tissues. First, we compared the pre-cancerous, cancer center, and invasive margin in one section (S115) and used pseudo-time analysis to reveal the differentiation trajectories from cancer center to invasive margin. Next, we performed immunohistochemical staining for RPL5, STC1, AKR1B1, CD47, and HLA-A on CRC samples. Moreover, we knocked down AKR1B1 in CRC cell lines and performed CCK-8, wound healing, and transwell assays to assess cell proliferation, migration, and invasion.ResultsWe demonstrated that 13 genes were overexpressed in invasive clusters, among which the expression of CSTB and TM4SF1 was correlated with poor PFS in CRC patients. The ribosome pathway was increased, while the antigen processing and presentation pathway was decreased along CRC progression. RPL5 was upregulated, while HLA-A was downregulated along cancer invasion in CRC samples. Pseudo-time analysis revealed that STC1, AKR1B1, SIRPA, C4orf3, EDNRA, CES1, PRRX1, EMP1, PPIB, PLTP, SULF2, and EGFL6 were unpregulated along the trajectories. Immunohistochemic3al staining showed the expression of STC1, AKR1B1, and CD47 was increased along cancer invasion in CRC samples. Knockdown of AKR1B1 inhibited CRC cells’ proliferation, migration, and invasion.ConclusionsWe revealed the spatial heterogeneity within CRC tissues and uncovered some novel genes that were associated with CRC invasion.