Depressive disorder is a mental health disorder caused by the dysfunction of nerve regeneration, neuroendocrine and neurobiochemistry, which frequently results in cognitive impairments and disorder. Evidence has shown that resveratrol offers benefits for the treatment of depressive disorder. In the present study, the therapeutic effects of resveratrol were investigated and the potential mechanisms mediated by resveratrol were analyzed in hippocampal neuron cells. The anti‑oxidative stress and anti‑inflammatory properties of resveratrol were also examined in vitro and in vivo. The results revealed that resveratrol administration inhibited the inflammation in hippocampal neuron cells induced by ouabain. Oxidative stress in the hippocampal neuron cells was ameliorated by resveratrol treatment in vitro and in vivo. In addition, the apoptosis of hippocampal neuron cells was inhibited by the upregulation of anti‑apoptotic genes, including P53, B‑cell lymphoma‑2 (Bcl‑2) and Bcl‑2‑associated death promoter, and the downregulation of the cleaved caspase‑3 and caspase‑9. The analysis of the mechanism revealed that that resveratrol treatment suppressed the apoptosis of hippocampal neuron cells through the NETRIN1‑mediated extracellular signal‑regulated kinase/cAMP signal transduction pathway. The results of the in vivo assay showed that resveratrol treatment led to improvements in cognitive competence, learning memory ability and anxiety in a mouse model of depressive disorder induced by ouabain. In conclusion, these results indicated that resveratrol treatment had protective effects against oxidative stress and neuroinflammatory pathogenesis through the NETRIN1‑mediated extracellular signal‑regulated kinase/cAMP signal transduction pathway, suggesting that resveratrol treatment may be a potential antidepressant agent for the treatment of depressive disorder.