Excessive oxidative stress and NLRP3 inflammasome activation are considered the main drivers of inflammatory bowel disease (IBD), and inhibition of inflammasomes ameliorates clinical symptoms and morphological manifestations of IBD. Herein, we examined the roles of NLRP3 activation in IBD and modulation of NLRP3 by sulforaphane (SFN), a compound with multiple pharmacological activities that is extracted from cruciferous plants. To simulate human IBD, we established a mouse colitis model by administering dextran sodium sulfate in the drinking water. SFN (25, 50 mg·kg-1·d-1, ig) or the positive control sulfasalazine (500 mg/kg, ig) was administered to colitis-affected mice for 7 days. Model mice displayed pathological alterations in colon tissue as well as classic symptoms of colitis beyond substantial tissue inflammation. Expression of NLRP3, ASC, and caspase-1 was significantly elevated in the colonic epithelium. The expression of NLRP3 inflammasomes led to activation of downstream proteins and increases in the cytokines IL-18 and IL-1β. SFN administration either fully or partially reversed these changes, thus restoring IL-18 and IL-1β, substantially inhibiting NLRP3 activation, and decreasing inflammation. SFN alleviated the inflammation induced by LPS and NLRP3 agonists in RAW264.7 cells by decreasing the levels of reactive oxygen species. In summary, our results revealed the pathological roles of oxidative stress and NLRP3 in colitis, and indicated that SFN might serve as a natural NLRP3 inhibitor, thereby providing a new strategy for alternative colitis treatment.