Increasing evidence suggests that endoplasmic reticulum stress (ER stress) and neuroinflammation are involved in the complex pathological process of traumatic brain injury (TBI). However, the pathological mechanisms of their interactions in TBI remain incompletely elucidated. Therefore, investigating and ameliorating neuroinflammation and ER stress post-TBI may represent effective strategies for treating secondary brain injury. Astragaloside IV (AS-IV) has been reported as a potential neuroprotective and anti-inflammatory agent in neurological diseases. This study utilized a mouse TBI model to investigate the pathological mechanisms and crosstalk of ER stress, neuroinflammation, and microglial cell morphology in TBI, as well as the mechanisms and potential of AS-IV in improving TBI. The research revealed that post-TBI, inflammatory factors IL-6, IL-1β, and TNF-α increased, microglial cells were activated, and the specific inhibitor of PERK phosphorylation, GSK2656157, intervened to alleviate neuroinflammation and inhibit microglial cell activation. Post-TBI, levels of ER stress-related proteins (p-PERK, p-eIF2a, ATF4, ATF6, and p-IRE1a) increased. Following AS-IV treatment, neurological dysfunction in TBI mice improved. Levels of p-PERK, p-eIF2a, and ATF4 decreased, along with reductions in inflammatory factors IL-6, IL-1β, and TNF-α. Changes in microglial/macrophage M1/M2 polarization were observed. Additionally, the PERK activator CCT020312 intervention eliminated the impact of AS-IV on post-TBI inflammation and ER stress-related proteins p-PERK, p-eIF2a, and ATF4. These results indicate that AS-IV alleviates neuroinflammation and brain damage post-TBI through the PERK pathway, offering new directions and theoretical insights for TBI treatment.