Objective. Oxidative stress has been proven to be essential in the pathogenesis of ulcerative colitis (UC). Therefore, this study was designed to investigate the effect of Gegen Qinlian decoction (GQ) on the Nrf2 pathway in the treatment of UC and explore the potential mechanism. Methods. The UC rat model was induced by 5% dextran sodium sulfate (DSS) aqueous solution, and UC rats were treated with GQ orally. The effect of GQ on UC rats was recorded. Human clonal colon adenocarcinoma cells (Caco-2) stimulated by tumor necrosis factor-α (TNF-α) were employed in this study. After being stimulated with TNF-α for 2 hours, Caco-2 cells were cultured with GQ or its major components (puerarin, baicalin, berberine, and liquiritin) for 22 hours. In addition, the Nrf2 gene of Caco-2 cells was silenced and then cultured with GQ for 22 hours. The contents of superoxide dismutase (SOD), glutathione peroxidase (GSH-PX), and malondialdehyde (MDA) in colonic tissues and Caco-2 cells were detected by assay kits. Reactive oxygen species (ROS) in Caco-2 cells were analyzed by flow cytometry. Quantitative real-time PCR and western blot were employed to detect the mRNA and protein expression of Nrf2 and its related target genes in colon tissues and Caco-2 cells. Results. GQ alleviated the injured colonic mucosa and activated the expression of Nrf2 in UC rats. In TNF-α stimulated Caco-2 cells and Nrf2 silenced Caco-2 cells, GQ also reversed the inhibitory effect of Nrf2. Furthermore, the major components of GQ could activate Nrf2 signaling in TNF-α stimulated cells as well. Moreover, the contents of SOD, GSH, MDA, and ROS were restored to normal after treatment with GQ or its major components. Among these components, puerarin, berberine, and liquiritin appear to have a better effect on activating Nrf2 in vitro. Overall, GQ can alleviate UC by increasing the activity of Nrf2/ARE signaling and enhancing the effect of antioxidant stress.