Objective This study investigated the regulatory effect of high mobility group protein B1 (HMGB1) in the peripheral blood of patients with primary immune thrombocytopenia (ITP) on myeloid dendritic cells (mDC) and Th17/regulatory T cells (Treg) balance. Methods The study enrolled 30 newly diagnosed ITP patients and 30 healthy controls.Flow cytometry was used to measure the proportion of mDC, Th17, and Treg cells in the peripheral blood of ITP patients and healthy controls. ELISA was conducted to quantify the serum levels of HMGB1, interleukin 6 (IL-6), IL-23, IL-17, and transforming growth factor β(TGF-β). The mRNA levels of retinoic acid-related orphan receptor γt(RORγt) and forehead box P3(FOXP3) were detected by real-time PCR. The correlation between the abovementioned cells, cytokines, and platelet count was assessed using Pearson linear correlation analysis. Results The proportion of Th17 cells and the expression levels of HMGB1, IL-6, IL-23, IL-17 and the level of RORγt mRNA in the peripheral blood of ITP patients were higher than those in healthy controls. However, the Treg cell proportion and TGF-β level were lower in ITP patients than those in healthy controls. In patients with ITP, the proportion of mDC and the level of FOXP3 mRNA did not show significant changes. The proportion of mDC cells was significantly correlated with the expression of IL-6 and IL-23. Moreover, the expression of HMGB1 showed a significant correlation with the expression of mDC, IL-6, IL-23, RORγt mRNA, and IL-17. Notably, both the proportion of mDC cells and the expression of HMGB1 were negatively correlated with platelet count. Conclusion The high expression of HMGB1 in peripheral blood of ITP patients may induce Th17/Treg imbalance by promoting the maturation of mDC and affecting the secretion of cytokines, thereby potentially playing a role in the immunological mechanism of ITP.