Acute ocular hypertension (AOH) is the most important characteristic of acute glaucoma, which can lead to retinal ganglion cell (RGC) death and permanent vision loss. So far, approved effective therapy is still lacking in acute glaucoma. PANoptosis (pyroptosis, apoptosis, and necroptosis), which consists of three key modes of programmed cell death-apoptosis, necroptosis, and pyroptosis -may contribute to AOH-induced RGC death. Previous studies have demonstrated that melatonin (N-acetyl-5-methoxytryptamine) exerts a neuroprotective effect in many retinal degenerative diseases. However, whether melatonin is anti-PANoptotic and neuroprotective in the progression of acute glaucoma remains unclear. Thus, this study aimed to explore the role of melatonin in AOH retinas and its underlying mechanisms. The results showed that melatonin treatment attenuated the loss of ganglion cell complex thickness, retinal nerve fiber layer thickness, and RGC after AOH injury, and improved the amplitudes of a-wave, b-wave, and oscillatory potentials in the electroretinogram. Additionally, the number of terminal deoxynucleotidyl transferase dUTP nick-end labeling-positive cells was decreased, and the upregulation of cleaved caspase-8, cleaved caspase-3, Bax, and Bad and downregulation of Bcl-2 and p-Bad were inhibited after melatonin administration. Meanwhile, both the expression and activation of MLKL, RIP1, and RIP3, along with the number of PI-positive cells, were reduced in melatonintreated mice, and p-RIP3 was in both RGC and microglia/macrophage after AOH injury. Furthermore, melatonin reduced the expression of NLRP3, ASC,