In this study, we showed that Keap1 expression was increased and Nrf2, NQO1, and HO‐1 expression was decreased in insomnia rats, and after senegenin intervention, Keap1 expression was decreased and Nrf2, NQO1, and HO‐1 expression was increased. This evidence concerns the gene KEAP1 and insomnia measurement.