Aim To investigate the relationship between the effects of electroacupuncture/moxibustion and the balance of Th17/Treg in treating ulcerative colitis (UC) and to preliminary compare the effects of the above two methods. Methods DSS-induced UC mice were treated by electroacupuncture and moxibustion. Disease activity index (DAI) was scored; intestinal pathological structure and ultrastructure were observed. The levels of IL-2, IL-6, IL-10, IL-17A, IL-17F, and TGF-β in plasma were measured by ELISA. The percentages of Treg and Th17 in spleen lymphocytes were analyzed by flow cytometry. Also, the expressions of TLR2, TLR4, RORγt, and FOXP3 in the distal colon were detected by immunohistochemistry or western blot. Results Both electroacupuncture and moxibustion can relieve UC. These effects are further supported by ELISA results. In addition, the ratio of Treg and Th17 in spleen lymphocytes and the expression of TLR2 and TLR4 are significantly improved. Also, the expression of RORγt and FOXP3 in distal colon were improved. Besides, the effect of moxibustion is better than that of electroacupuncture on TLR2, TLR4, and FOXP3 expression (P < 0.05). ConclusionBoth electroacupuncture and moxibustion may ameliorate UC by regulating the balance of Th17/Treg. Whether moxibustion has better efficacy than electroacupuncture needs further study.