These results reveal the potential molecular mechanism of CBX4 in the tumor microenvironment, providing a theoretical basis for the treatment of prostate cancer targeting CBX4. This evidence concerns the gene CBX4 and prostate cancer.