There is foam in the bowel movement in the following cases: 1. Indigestion. The digestive function of the intestine is not good, a large amount of food residues will accumulate in the intestine, these food residues are decomposed and fermented by the bacteria in the intestine, it will produce a lot of gas, so there will be a situation of frothy bowel movements. You can take drugs for indigestion, such as mosapride, domperidone, etc. Also pay attention to diet, you can’t eat too much at each meal, you can eat less and more meals, try to eat less greasy, cold, fibrous, rough and easy to produce gas food, such as onions, potatoes, white wine, strong tea, etc., eat more light and easy to digest food. 2, chronic enteritis. Chronic enteritis will disrupt the balance of the intestinal environment, there will also be frothy bowel movements, you can take the compound chenopodium enteritis tablets, compound difenoxanthin tablets and other drugs to relieve the symptoms.