The Morris water maze showed that compared with the normal group, the escape latency and total distance of insomnia rats were significantly prolonged (p < 0.01), and the rats in the GAD67‐KD group had more impairment of learning cognitive ability, resulting in longer escape latency and total distance (p < 0.01), which were significantly shortened after senegenin intervention (p < 0.01). This evidence concerns the gene GAD1 and insomnia measurement.