Provided are an imidazole diketone compound, and preparation method and use thereof. The compound has good pharmacokinetic and/or pharmacodynamic performance, thus may be used as an androgen receptor antagonist, and further is suitable to prepare drugs for treating androgen-related diseases (such as cancer, etc.).