Using this in vivo model, we now show that ER stress is induced early in EAE and that modulation of ER stress by inhibition of eIF2a-CHOP and activation of XBP-1 in RGC specifically, protects RGC somata and axons and preserves visual function.