In this study, we determined the effect of TACR2 on the immune microenvironment of prostate cancer by examining the content of immune cells. Here, TACR2 is linked to prostate carcinoma.