The in vivo results showed that pyripyropene O effectively inhibited the development of prostate cancer in zebrafish; Conclusions: Pyripyropene O has a clear anti-prostate cancer effect at both cellular and animal levels, inhibiting the survival and proliferation of prostate cancer cells by binding to the transcription factor YY1 to activate the expression of DR5 to promote apoptosis, thus exerting an inhibitory effect on prostate cancer. This evidence concerns the gene YY1 and prostate cancer.