In conclusion, DEX may relieve oxidative stress damage in the hippocampus, neuronal damage, and inflammatory response in the hippocampal CA1 region of SD rats via the Rac1/AKT/NF-κB pathway, thereby improving the cognitive dysfunction. This evidence concerns the gene NFKB1 and cognition.