Berberine nanoparticles, with an average hydrodynamic size of 220 nm (230.2 ± 18.1 nm) and a relatively similar particle size distribution of 0.22, decreased the inflammatory response in DSS-induced ulcerative colitis by inhibiting the NFkB/STAT-3 pathway. The gene discussed is STAT3; the disease is ulcerative colitis.