These results suggest that UGT2B17 provides a protective function in PCa cells and that its loss leads to defects in protein folding and overactive ER stress, even in the absence of stress inducers. Here, UGT2B17 is linked to posterior cortical atrophy.