Clinically, early brain injury (EBI), which refers to the acute injuries to the whole brain in the phase of the first 72 h following subarachnoid hemorrhage (SAH), is intensely investigated to improve neurological and psychological function. Additionally, it will be meaningful to explore new therapeutic approaches for EBI treatment to improve the prognosis of patients with SAH. To investigate the underlying neuroprotection mechanism in vitro, the Protein tyrosine phosphatase 1B inhibitor (PTP1B-IN-1) was put in primary neurons induced by OxyHb to observe neuroapoptosis, neuroinflammation, and ER stress. Then, one hundred forty male mice were subjected to Experiment two and Experiment three. The mice in the SAH24h + PTP1B-IN-1 group were given an intraperitoneal injection of 5 mg/kg PTP1B-IN-1 30 min before anesthesia. SAH grade, neurological score, brain water content, Western blot, PCR, and Transmission Electron Microscopy (TEM) were performed to observe the underlying neuroprotection mechanism in vivo. Overall, this study suggests that PTP1B-IN-1 could ameliorate neuroapoptosis, neuroinflammation, and ER stress in vitro and in vivo by regulating the IRS-2/AKT signaling pathway, suggesting that PTP1B-IN-1 may be a candidate drug for the treatment of early brain injury after SAH.