DIM inhibits HDAC2 activity, which may contribute to the DIM-induced increase in p21 expression in prostate cancer cells. Here, HDAC2 is linked to prostate cancer.