Stressors cause activation of the hypothalamic-pituitary-adrenal (HPA) axis and a systemic inflammatory response. As a newly proposed cell death manner in recent years, necroptosis occurs in a variety of tissue damage and inflammation. However, the role of necroptosis in HPA axis activation remains to be elucidated. The aim of this study was to investigate the occurrence of necroptosis and its role in HPA activation in a porcine stress model induced by Escherichia coli lipopolysaccharide (LPS). Several typical stress behaviors like fever, anorexia, shivering and vomiting were observed in piglets after LPS injection. HPA axis was activated as shown by increased plasma cortisol concentration and mRNA expression of pituitary corticotropin-releasing hormone receptor 1 (CRHR1) and adrenal steroidogenic acute regulatory protein (StAR). The mRNA expression of tumor necrosis factor α (TNF-α), interleukin-1β (IL-1β) and IL-6 in the hypothalamus, pituitary gland and adrenal gland was elevated by LPS, accompanied by the activation of necroptosis indicated by higher mRNA expression of necroptosis signals including receptor-interacting protein kinase (RIP) 1, RIP3, and phosphorylated mixed-lineage kinase domain-like protein (MLKL). Furthermore, necrostatin-1 (Nec-1), an inhibitor of necroptosis, inhibited necroptosis indicated by decreased mRNA levels of RIP1, RIP3, MLKL, and phosphoglycerate mutase family member 5 (PGAM5) in the hypothalamus, pituitary gland and adrenal gland. Nec-1 also decreased the mRNA expression of TNF-α and IL-β and inhibited the activation of the HPA axis indicated by lower plasma cortisol concentration and mRNA expression of adrenal type 2 melanocortin receptor (MC2R) and StAR. These findings suggest that necroptosis is present and contributes to HPA axis activation induced by LPS. These findings provide a potential possibility for necroptosis as an intervention target for alleviating HPA axis activation and stress responses.