Intracerebral hemorrhage (ICH) comprises primary and secondary injuries, the latter of which induces increased inflammation and apoptosis and is more severe. Activating transcription factor 6 (ATF6) is a type-II transmembrane protein in the endoplasmic reticulum (ER). ATF6 target genes could improve ER homeostasis, which contributes to cryoprotection. Hence, we predict that ATF6 will have a protective effect on brain tissue after ICH. The ICH rat model was generated through autologous blood injection into the right basal ganglia, the expression of ATF6 after ICH was determined by WB and IF. The expression of ATF6 was effectively controlled by means of intervention, and a series of measures was used to detect cell death, neuroinflammation, brain edema, blood-brain barrier and other indicators after ICH. Finally, the effects on long-term neural function of rats were measured by behavioral means. ATF6 was significantly increased in the ICH-induced brain tissues. Further, ATF6 was found to modulate the expression of cystathionine γ-lyase (CTH) after ICH. Upregulation of ATF6 attenuated neuronal apoptosis and inflammation in ICH rats, along with mitigation of ICH-induced brain edema, blood-brain barrier deterioration, and cognitive behavior defects. Conversely, ATF6 genetic knockdown induced effects counter to those aforementioned. This study thereby emphasizes the crucial role of ATF6 in secondary brain injury in response to ICH, indicating that ATF6 upregulation may potentially ameliorate ICH-induced secondary brain injury. Consequently, ATF6 could serve as a promising therapeutic target to alleviate clinical ICH-induced secondary brain injuries.