Accumulation of misfolded proteins in the ER (ER stress) causes the development and progression of various diseases, and fully activated XBP1, a transcription factor downstream of IRE1 in the unfolded protein response, cures persistent ER stress–induced heart failure in medaka.