Pten-null prostate cancers are poorly T cell infiltrated and resistant to anti-PD-1 immunotherapy. Here, PTEN is linked to prostate cancer.