Farting at night may be caused by slow peristalsis (e.g. gastroenteritis and obstruction), irregular diet and catching cold at night. 1. Slow peristalsis caused by gastroenteritis and intestinal obstruction will slow down the digestion rate of food in the gastrointestinal tract, leading to retention of food in the gastrointestinal tract, which in turn leads to bloating and an increase in farting. 2. Irregular eating habits can also lead to farting at night, such as eating a large amount of gas-producing food for dinner, such as sweet potatoes, potatoes, etc., and eating cold or spicy food for a long time at night, which can also lead to farting due to the increase in gas production and the inability to fully digest and decompose the food. 3. Some people do not pay attention to the warmth of the stomach when they sleep at night, resulting in the stomach catching cold at night can also lead to an increase in farting. If you suffer from farting at night for a long time and are not feeling well, it is recommended that you seek medical attention in time to avoid delaying your condition.