Abstract:〔Abstract〕 Objective To explore the relationship between serum 25-hydroxyvitamin D [25(OH)D] and helper T cells 17 (Th17)/regulatory T cells (Treg) and prognosis in neonates with hypoxic-ischemic encephalopathy (HIE). Methods A total of 79 children with HIE admitted to Zhengzhou Children's Hospital from January 2019 to January 2021 were selected as the observation group, and clinical disease classification was performed, including 46 cases of moderate and 33 cases of severe. Another 79 healthy newborns in Zhengzhou Children's Hospital were selected as the control group. Treg and Th17 in peripheral blood were detected by flow cytometry and Th17/Treg was calculated. The level of 25(OH)D in serum was determined by enzyme-linked immunosorbent assay (ELISA). Results Compared with the control group, the serum levels of Th17 and Th17/Treg in the observation group were higher, and the levels of 25(OH)D and Treg were lower, the differences were statistically significant (P < 0.05). Compared with the children with moderate HIE, the serum levels of Th17 and Th17/Treg in the children with severe HIE were higher, and the levels of 25(OH)D and Treg were lower. The scores of neonatal neurobehavioral assay (NBNA) on admission and 14 days after treatment were lower, the differences were statistically significant (P < 0.05). After 12 months of follow-up, compared with normal neurodevelopment group, serum Th17 and Th17/Treg in poor neurodevelopment group were higher, and the levels of serum 25(OH)D and Treg were lower, with statistical significance (P < 0.05). Compared with the normal neurodevelopmental group, the poor neurodevelopmental group had a lower NBNA score at admission and 14 days after treatment, with statistical significance (P < 0.05). Conclusion The serum 25(OH)D expression is low in children with HIE, and Th17/Treg immune imbalance is present, which is shifted to Th17.25(OH)D deficiency and Th17/Treg imbalance may lead to poor prognosis in HIE.