The complexity of the immune microenvironment has an impact on the treatment of colorectal cancer (CRC), one of the most prevalent malignancies worldwide. In this study, multi-omics and single-cell sequencing techniques were used to investigate the mechanism of action of circulating and infiltrating B cells in CRC. By revealing the heterogeneity and functional differences of B cells in cancer immunity, we aim to deepen our understanding of immune regulation and provide a scientific basis for the development of more effective cancer treatment strategies. To explore the role of circulating and infiltrating B cell subsets in the immune microenvironment of CRC, explore the potential driving mechanism of B cell development, analyze the interaction between B cells and other immune cells in the immune microenvironment and the functions of communication molecules, and search for possible regulatory pathways to promote the anti-tumor effects of B cells. A total of 69 paracancer (normal), tumor and peripheral blood samples were collected from 23 patients with CRC from The Cancer Genome Atlas database (https://portal.gdc.cancer.gov/). After the immune cells were sorted by multicolor flow cytometry, the single cell transcriptome and B cell receptor group library were sequenced using the 10X Genomics platform, and the data were analyzed using bioinformatics tools such as Seurat. The differences in the number and function of B cell infiltration between tumor and normal tissue, the interaction between B cell subsets and T cells and myeloid cell subsets, and the transcription factor regulatory network of B cell subsets were explored and analyzed. Compared with normal tissue, the infiltrating number of CD20+B cell subsets in tumor tissue increased significantly. Among them, germinal center B cells (GCB) played the most prominent role, with positive clone expansion and heavy chain mutation level increasing, and the trend of differentiation into memory B cells increased. However, the number of plasma cells in the tumor microenvironment decreased significantly, and the plasma cells secreting IgA antibodies decreased most obviously. In addition, compared with the immune microenvironment of normal tissues, GCB cells in tumor tissues became more closely connected with other immune cells such as T cells, and communication molecules that positively regulate immune function were significantly enriched. The role of GCB in CRC tumor microenvironment is greatly enhanced, and its affinity to tumor antigen is enhanced by its significantly increased heavy chain mutation level. Meanwhile, GCB has enhanced its association with immune cells in the microenvironment, which plays a positive anti-tumor effect.