CREB (cyclic-AMP responsive element binding protein) binding protein (CBP) is a potential target for prostate cancer treatment. Herein, we report the structural optimization of a series of 1-(indolizin-3-yl)ethan-1-one compounds as new selective CBP bromodomain inhibitors, aiming to improve cellular potency and metabolic stability. This process led to compound 9g (Y08284), which possesses good liver microsomal stability and pharmacokinetic properties (F = 25.9%). Furthermore, the compound is able to inhibit CBP bromodomain as well as the proliferation, colony formation, and migration of prostate cancer cells. Additionally, the new inhibitor shows promising antitumor efficacy in a 22Rv1 xenograft model (TGI = 88%). This study provides new lead compounds for further development of drugs for the treatment of prostate cancer.