The present invention discloses a diarylhydantoin derivative, and preparation method, pharmaceutical composition, and application thereof. The present invention provides a diarylhydantoin derivative as represented by formula I, a pharmaceutically acceptable salt, solvate, metabolite, stereoisomer, tautomer, polymorph, or prodrug thereof; the diarylhydantoin derivative of the present invention has good performance in treatment of diseases related to androgen receptors, in particular, castration-resistant prostate cancer.