Yellow mucus in the stool may be caused by acute and chronic enteritis. Chronic enteritis can cause damage to the intestinal mucosa, which cannot fully absorb water from food entering the body, and can cause exudation when there is inflammation in the intestinal system, resulting in mucus in the stool, and yellow mucus when there is ulceration of the intestinal mucosa. For acute enteritis, it is necessary to clarify whether there is a bacterial infection or inflammation of the gastrointestinal mucosa caused by other reasons, if it is caused by non-infection with yellow mucus in the stool, it may be caused by eating more cold, irritating food or taking gastrointestinal irritating drugs, which mainly cause disorders in the intestinal tract, resulting in indigestion of the gastrointestinal system, which in turn affects the absorption of food and water in the body. The main cause is the disorder of intestinal function, resulting in digestive problems in the gastrointestinal system, which affects the absorption of food and water in the body, resulting in the formation of yellow mucus in the stool.