Our study highlights the pivotal role of MYOF in regulating PD-L1 expression and reprogramming the colorectal cancer microenvironment. Here, MYOF is linked to colorectal cancer.