The invention relates to the technical field of medicines, in particular to a colon-targeted capsule for treating ulcerative colitis and a preparation technology thereof. Capsule contents of the colon-targeted capsule are prepared from 5-10 parts of gastric-dissolved pellets and 10-20 parts of enteric-coated pellets, the gastric-dissolved pellets are prepared from rhizoma atractylodis macrocephalae volatile oil, beta-cyclodextrin, a pill accelerator and the like, the enteric-coated pellets are prepared from coptidis rhizoma, saposhnicovia divaricata, fructus mume extracts, a pill accelerator and a colon-targeted coating material. Accordingly, the colon-targeted capsule is characterized in that the symptoms and the causes are treated, bioavailability is high, different ingredients are released in the stomach and the colon, and the capsule has the advantages that oral administration is safe and convenient, the coating prescription is simple, and industrial production can be conducted. Animal experiments show that the colon-targeted capsule has the obvious therapeutic effect on the ulcerative colitis, the treatment effect of the medium dosage is close to and even superior to the positive control drug SASP, and a brand new preparation is provided for clinically treating the ulcerative colitis.