During diving, central nervous system oxygen toxicity may cause drowning or barotrauma, which has dramatically limited the working benefits of hyperbaric oxygen in underwater operations and clinical applications. The aim of this study is to understand the effects and the underlying mechanism of heat shock protein 70 on central nervous system oxygen toxicity and its mechanisms in vivo and in vitro. Rats were given geranylgeranylacetone (800 mg/kg) orally to induce hippocampal expression of heat shock protein 70 and then treated with hyperbaric oxygen. The time course of hippocampal heat shock protein 70 expression after geranylgeranylacetone administration was measured. Seizure latency and first electrical discharge were recorded to evaluate the effects of HSP70 on central nervous system oxygen toxicity. Effects of inhibitors of nitric oxide synthase and nuclear factor-κB on the seizure latencies and changes in nitric oxide, nitric oxide synthase, and nuclear factor-κB levels in the hippocampus tissues were examined. In cell experiments, hippocampal neurons were transfected with a virus vector carrying the heat shock protein 70 gene (H3445) before hyperbaric oxygen treatment. Cell viability, heat shock protein 70 expression, nitric oxide, nitric oxide synthase, and NF-κB levels in neurons were measured. The results showed that heat shock protein 70 expression significantly increased and peaked at 48 h after geranylgeranylacetone was given. Geranylgeranylacetone prolonged the first electrical discharge and seizure latencies, which was reversed by neuronal nitric oxide synthase, inducible nitric oxide synthase and NF-κB inhibitors. Nitric oxide, nitric oxide synthase, and inducible nitric oxide synthase levels in the hippocampus were significantly increased after hyperbaric oxygen exposure, but reversed by geranylgeranylacetone, while heat shock protein 70 inhibitor quercetin could inhibit this effect of geranylgeranylacetone. In the in vitro study, heat shock protein 70-overexpression decreased the nitric oxide, nitric oxide synthase, and inducible nitric oxide synthase levels as well as the cytoplasm/nucleus ratio of nuclear factor-κB and protected neurons from hyperbaric oxygen-induced cell injury. In conclusion, overexpression of heat shock protein 70 in hippocampal neurons may protect rats from central nervous system oxygen toxicity by suppression of neuronal nitric oxide synthase and inducible nitric oxide synthase-mediated nitric oxide production and translocation of nuclear factor-κB to nucleus. Impact statement Because the pathogenesis of central nervous system oxygen toxicity (CNS-OT) remains unclear, there are few interventions available. To develop an efficient strategy against CNS-OT, it is necessary to understand its pathogenesis and in particular, the relevant key factors involved. This study examined the protective effects of heat shock protein 70 (HSP70) on CNS-OT via in vivo and in vitro experiments. Our results indicated that overexpression of HSP70 in hippocampal neurons may protect rats from CNS...