Our study revealed that MED12 and CDK8/19 regulate AR activity and that their inhibition may modulate response to enzalutamide in prostate cancer. Here, AR is linked to prostate cancer.