Oxidative stress and the inflammatory response are thought to promote brain damage in the setting of subarachnoid hemorrhage (SAH). Previous reports have shown that dimethylfumarate (DMF) can activate the Kelch-like ECH-associated protein 1-nuclear factor erythroid 2-related factor 2-antioxidant-responsive element (Keap1-Nrf2-ARE) system in vivo and in vitro, which leads to the downregulation of oxidative stress and inflammation. The aim of this study was to evaluate the potential neuroprotective effect of DMF on SAH-induced brain injury in rats. Rats were subjected to SAH by the injection of 300 μl of autologous blood into the chiasmatic cistern. Rats in a DMF-treated group were given 15 mg/kg DMF twice daily by oral gavage for 2 days after the onset of SAH. Cortical apoptosis, neural necrosis, brain edema, blood-brain barrier impairment, learning deficits, and changes in the Keap1-Nrf2-ARE pathway were assessed. Administration of DMF significantly ameliorated the early brain injury and learning deficits induced by SAH in this animal model. Treatment with DMF markedly upregulated the expressions of agents related to Keap1-Nrf2-ARE signaling after SAH. The inflammatory response and oxidative stress were downregulated by DMF therapy. DMF administration resulted in abatement of the development of early brain injury and cognitive dysfunction in this prechiasmatic cistern SAH model. This result was probably mediated by the effect of DMF on the Keap1-Nrf2-ARE system.