Background Microglia are rapidly activated after ischemic stroke and participate in the occurrence of neuroinflammation, which exacerbates the injury of ischemic stroke. Receptor Interacting Serine Threonine Kinase 1 (RIPK1) is thought to be involved in the development of inflammatory responses, but its role in ischemic microglia remains unclear. Here, we applied recombinant human thioredoxin-1 (rhTrx-1), a potential neuroprotective agent, to explore the role of rhTrx-1 in inhibiting RIPK1-mediated neuroinflammatory responses in microglia. Method Middle cerebral artery occlusion (MCAO) and Oxygen and glucose deprivation (OGD) were conducted for in vivo and in vitro experimental stroke models. The expression of RIPK1 in microglia after ischemia was examined. The inflammatory response of microglia was analyzed after treatment with rhTrx-1 and Necrostatin-1 (Nec-1, inhibitors of RIPK1), and the mechanisms were explored. In addition, the effects of rhTrx-1 on neurobehavioral deficits and cerebral infarct volume were examined. Results RIPK1 expression was detected in microglia after ischemia. Molecular docking results showed that rhTrx-1 could directly bind to RIPK1. In vitro experiments found that rhTrx-1 reduced necroptosis, mitochondrial membrane potential damage, Reactive oxygen species (ROS) accumulation and NLR Family, pyrin domain-containing 3 protein (NLRP3) inflammasome activation by inhibiting RIPK-1 expression, and regulated microglial M1/M2 phenotypic changes, thereby reducing the release of inflammatory factors. Consistently, in vivo experiments found that rhTrx-1 treatment attenuated cerebral ischemic injury by inhibiting the inflammatory response. Conclusion Our study demonstrates the role of RIPK1 in microglia-arranged neuroinflammation after cerebral ischemia. Administration of rhTrx-1 provides neuroprotection in ischemic stroke-induced microglial neuroinflammation by inhibiting RIPK1 expression.