Bag5 overexpression in 22Rv.1 prostate cancer cells inhibited ER-stress induced apoptosis in the unfolded protein response by suppressing PERK-eIF2-ATF4 activity while enhancing the IRE1-Xbp1 axis of this pathway. This evidence concerns the gene ERN1 and prostate cancer.