The results indicated that urolithin B prevents colorectal carcinogenesis by remodeling gut microbial and tumor immune microenvironments, such as HLA-B, NK cells, regulatory T cells, and γδ TCR cells, and decreasing the PD-L1. Here, HLA-B is linked to neoplasm.