Prostate cancer (PC) responds to androgen deprivation therapy (ADT) usually in a transient fashion, progressing from hormone-sensitive PC (HSPC) to castration-resistant PC (CRPC). We investigated a mouse model of PC as well as specimens from PC patients to unravel an unsuspected contribution of thymus-derived T lymphocytes and the intestinal microbiota in the efficacy of ADT.