High pressure is the most important factor inducing retinal ganglion cell (RGC) apoptosis. However, the underlying mechanisms remain obscure. The present study investigated the effects of different levels of hydrostatic pressure (HP) on RGCs and the potential mechanisms involved. Primary cultured rat RGCs were exposed to five levels of HP (0, 20, 40, 60 and 80 mmHg) for 24 h. Morphological changes in RGCs were observed. The viability and apoptosis rate of RGCs were detected using a Cell Counting Kit-8 assay and Annexin V-fluorescein isothiocyanate/propidium iodide flow cytometry, respectively. Western blotting, reverse transcription-quantitative polymerase chain reaction and immunofluorescence were used to detect the expression and mRNA levels of nerve growth factor (NGF), protein kinase B (AKT), apoptosis signal-regulating kinase 1 (ASK1), forkhead box O1 (FoxO1) and cAMP response element binding protein (CREB). In the 0- and 20-mmHg groups, there were no apoptotic morphological changes. In the 40 mmHg group, parts of the cell were shrunken or disrupted. In the 60 mmHg group, neurite extension was weakened and parts of the cells were disintegrating or dying. In the 80 mmHg group, the internal structures of the cells were not visible at all. The apoptosis rates of RGCs were significantly higher and the viability rates significantly lower under 40, 60 and 80 mmHg compared with under 0 or 20 mmHg (all P<0.01). The expression and mRNA levels of NGF, AKT and CREB decreased in a dose-dependent manner in the 40-, 60- and 80-mmHg groups (all P<0.05), but those of ASK1 and FoxO1 increased in a dose-dependent manner (all P<0.05). Interestingly, the alterations to the expression and mRNA levels of CREB were significantly larger compared with the changes in ASK1 or FoxO1 in the 40-, 60- and 80-mmHg groups (all P<0.01). The results of the present study demonstrate that elevated HP of 40, 60 or 80 mmHg reduces viability and induces apoptosis in RGCs, which may occur through effects on the NGF/ASK1/FoxO1 and NGF/AKT/CREB pathways, of which the latter is more strongly affected.