In this study, we theoretically and experimentally demonstrated that valeric acid (VA) was a HDAC inhibitor, and anti-cancer efficacy of VA in prostate cancer cells was also observed using either 2D or 3D culture systems. This evidence concerns the gene HDAC9 and Familial prostate cancer.