Iron metabolism disturbances play an important role in early brain injury (EBI) after subarachnoid hemorrhage (SAH), and hepcidin largely influences iron metabolism. Importantly, iron metabolism may be associated with ferroptosis, recently a nonapoptotic iron-dependent form of cell death that may have a great impact on brain injury after SAH. We investigated hepcidin on iron metabolism and ferroptosis involving divalent metal transporter 1 (DMT1), and ferroportin-1 (FPN1) in a rat model of SAH. Male Sprague-Dawley rats were subjected to the endovascular perforation to induce SAH, and treated with heparin (inhibitor of hepcidin), or oncostatin M (OSM, inducer of hepcidin), or ebselen (inhibitor of DMT1) by intracerebroventricular injections. Hepcidin, DMT1, FPN1 and glutathione peroxidase 4 (GPX4), were detected by western blot and immunofluorescence. Iron metabolism was detected through Perl’s iron staining and iron content assay. Ferroptosis, the ROS production, lipid peroxidation (LPO) was evaluated by monitoring methane dicarboxylic aldehyde (MDA), glutathione (GSH), glutathione peroxidase 4 (GPX4) activity, and transmission electron microscopy. Neurological deficit scores, Evans blue staining and brain water content were also determined to detect EBI 72 h after SAH. Our results showed that inhibition of DMT1 by ebselen could suppress iron accumulation and lipid peroxidation, and thereby alleviate ferroptosis and EBI in SAH rats. Heparin downregulated the expression of hepcidin and DMT1, increased FPN1, and exerted protective effects that were equivalent to those of ebselen on ferroptosis and EBI. In addition, OSM increased the expression of hepcidin and DMT1, decreased FPN1, and aggravated ferroptosis and EBI, while the effect on ferroptosis was reversed by ebselen. Therefore, the study revealed that hepcidin could regulate iron metabolism and contribute to ferroptosis via DMT1 signaling activation in rats with EBI after SAH.