The progressive death of mature neurons often results in neurodegenerative diseases. While the previous studies have mostly focused on identifying intrinsic mechanisms controlling neuronal survival, the extracellular environment also plays a critical role in regulating cell viability. Here we explore how intercellular communication contributes to the survival of retinal ganglion cells (RGCs) following the optic nerve crush (ONC). Although the direct effect of the ONC is restricted to the RGCs, we observed transcriptomic responses in other retinal cells to the injury based on the single-cell RNA-seq, with astrocytes and Müller glia having the most interactions with RGCs. By comparing the RGC subclasses showing distinct resilience to ONC-induced cell death, we found that the high-survival RGCs tend to have more ligand-receptor interactions with other retinal cells, suggesting that these RGCs are intrinsically programmed to foster more communication with their surroundings. Furthermore, we identified top 47 interactions that are stronger in the high-survival RGCs, likely representing neuroprotective interactions. We performed functional assays on one of the receptors, Mu-opioid receptor (Oprm1), a receptor known to play roles in regulating pain, reward, and addictive behavior. Although Oprm1 is preferentially expressed in intrinsically photosensitive retinal ganglion cells (ipRGCs), its neuroprotective effect could be transferred to multiple RGC subclasses by specific overexpressing Oprm1 in pan-RGCs in ONC, excitotoxicity, and glaucoma models. Lastly, manipulating Oprm1 activity improved visual functions and altered pupillary light response in mice. Our study provides an atlas of cell-cell interactions in both intact and post-ONC retina and an effective strategy to predict molecular mechanisms in neuroprotection, underlying the principal role played by extracellular environment in supporting neuron survival.