We detected that the replacement of AR by GR in enzalutamide-exposed prostate cancer cells occurs almost exclusively at pre-accessible chromatin sites displaying FOXA1 occupancy. Here, FOXA1 is linked to prostate cancer.