Resveratrol can activate AMPK, PI3K/AKT signaling pathway, inhibit the abnormal activation of MAPK and NF-κB, reduce oxidative stress, excessive apoptosis and inflammation of neuronal cells, and protect neuronal cells, thus improving the symptoms of insomnia. The gene discussed is NFKB1; the disease is insomnia.