To investigate the role and underlying mechanism of human myeloid differentiation protein 2 (MD2) in the process of neuronal death induced by lipopolysaccharide (LPS) by establishing an in vitro model of sepsis-associated encephalopathy (SAE) by LPS. Healthy C57BL/6J mice at 14-18 days of gestation were selected, and brain cortical tissue was taken from fetal mice. Neurons were stimulated with 0 (control), 1, 5 and 10 g/L of LPS for 24 hours. The release of lactate dehydrogenase (LDH) was detected and the death of neurons was observed. Enzyme-linked immunosorbent assay (ELISA) was used to detect the levels of inflammatory factors interleukins (IL-6, IL-1β), in order to determine the optimal dose of LPS for establishing an in vitro neuroinflammation model of SAE. The cells were divided into blank control group and LPS group. Terminal deoxynucleotidyl transferase-mediated dUTP nick-end-labeling (TUNEL) was used to discover apoptosis. Western blotting was used to detect the expression of the relevant protein markers activated caspase-3, necroptosis-associated protein neuronal receptor-interacting serine/threonine-protein kinase 3 (RIPK3) and phosphorylated RIPK3 (p-RIPK3). Immunofluorescence chemical staining was used to detect the expressions of p-RIPK3 and microtubule-associated protein 2 (MAP2) to evaluate the type of cell death and the degree of neuronal death. Western blotting was used to detect MD2 expression. Immunofluorescence chemical staining was performed to observe the expression and distribution of p-RIPK3 and MD2 in neurons to assess whether MD2 was involved in the inflammatory response promoting neuronal death. In addition, the cells were divided into blank control group, LPS group, and MD2 interfering peptide group (LPS+TC group), and the levels of IL-6, IL-1β and LDH were detected to evaluate whether interfering with MD2 can alleviate LPS induced neuroinflammation. 10 g/L LPS induced notable neuronal death, and the release of LDH in neurons stimulated with this concentration for 24 hours was significantly higher than that in the blank control group (relative release: 1.45±0.04 vs. 1.00±0.00, P < 0.01), indicating apoptosis and necroptosis occurred in neurons, and the levels of inflammatory factors IL-6 and IL-1β were remarkable increased [IL-6 (relative level): 1.94±0.04 vs. 1.00±0.00, IL-1β (relative level): 1.53±0.09 vs. 1.00±0.00, both P < 0.01]. Compared with the blank control group, the apoptosis of cells, cleaved-caspase-3 expression, the p-RIPK3/RIPK3 ratio, and p-RIPK3 expression around neurons in the LPS group were significantly increased [cleaved-caspase-3/GAPDH: 1.55±0.10 vs. 1.00±0.00, P < 0.01; p-RIPK3/RIPK3 ratio (relative value): 1.54±0.06 vs. 1.00±0.00, P < 0.05], which suggested that typical apoptosis and necroptosis apoptosis occurred in neurons in the septic environment. Furthermore, MD2 expression was significantly increased in the LPS group compared with the blank control group (MD2/GAPDH: 1.91±0.07 vs. 1.00±0.00, P < 0.01), and MD2 expression around neurons was increased, indicating that LPS-induced MD2 upregulation may play a key role in neuroinflammation and induction of neuronal death in sepsis. In addition, compared with the LPS group, the MD2-interfering peptide could reduce the expression levels of inflammatory factors IL-6 and IL-1β [IL-6 (relative level): 1.16±0.08 vs. 1.94±0.04, IL-1β (relative level): 1.15±0.05 vs. 1.75±0.09, both P < 0.01] and decrease LDH release (relative release: 1.09±0.01 vs. 1.44±0.04, P < 0.05). LPS induced neuronal inflammatory responses via MD2, which ultimately leads to apoptosis and necroptosis. Interfering with MD2 reduces inflammation and inhibits neuronal death.