The results demonstrated that broccoli intervention significantly ameliorated cognitive deficits in epileptic mice, decreased hippocampal MDA levels while enhancing antioxidant enzyme activities, and upregulated the expression of HO‐1, NQO1, and Nrf2. Here, NQO1 is linked to Cognitive impairment.