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. Here, HMOX1 is linked to insomnia.