Provided are methods and compositions for maintaining the viability of photoreceptor cells following retinal detachment. The viability of photoreceptor cells can be preserved by administering an apoptosis inhibitor to a mammal having an eye with retinal detachment. The apoptosis inhibitor maintains the viability of the photoreceptor cells until such time that the retina becomes reattached to the underlying retinal pigment epithelium and choroid. The treatment minimizes the loss of vision, which otherwise may occur as a result of retinal detachment.