In summary, we demonstrated that resveratrol treatment alleviated pain behaviors and ameliorated cognitive deficits in rats with cobra venom-induced trigeminal neuralgia, possibly by restoring the ultrastructure of neurons and synapses and increasing the CREB/BDNF expression in the hippocampus. This evidence concerns the gene BDNF and Cognitive impairment.