The invention discloses a composition for treating inflammatory bowel diseases, belonging to the field of medicines. The composition is prepared from the following components: lucid ganoderma, radix salviae miltiorrhizae, poria cocos, glutamine, threonine, serine, cysteine, vitamins C, E and A, and beta-carotene. Lucid ganoderma, radix salviae miltiorrhizae and poria cocos have the efficacy of boosting the blood supply and the oxygen supply for the human body; glutamine is the major energy source of the intestinal mucosa; threonine, serine and cysteine are the constituent parts of mucoprotein; vitamins C, E and A, and beta-carotene have the effects of suppressing the activity of oxygen free radicals, eliminating the oxygen free radicals, and protecting the human cells. The composition provides nutrition, oxygen and raw materials for the generation, renewing and repair of goblet cells, and the process that the goblet cells secrete mucoprotein to form a slime layer barrier for the surface of the intestinal tract. The composition has obvious effects in terminating the inflammation, repairing the intestinal tissue, and establishing the normal slime layer barrier for the surface of the human intestinal tract, and belongs to an effective composition for treating the inflammatory bowel diseases.