Frequent farting in the middle of the night may be caused by physiological factors such as eating spicy hot pot at dinner, or it may be caused by pathological factors such as acute gastroenteritis and ulcerative colitis. 1. Physiological factors: such as overeating, late dinner time or consumption of barbecue, spicy hot pot, fried chicken, beer, coffee, strong tea, ice cream and other spicy and stimulating, cold and greasy food, resulting in an increased burden on the gastrointestinal tract, gastrointestinal peristalsis is slow, the food is retained in the digestive tract to carry out anaerobic fermentation, generating excessive gas, which causes frequent farting in the midnight phenomenon. 2. Pathologic factors: (1) acute gastroenteritis: bacteria, viruses and other infections can cause diarrhea, nausea, vomiting, abdominal pain and other gastrointestinal symptoms, stimulate the gastrointestinal mucosa and cause congestion, edema, inflammatory exudate increased, resulting in increased farting, diarrhea and other occurrences. (2) ulcerative colitis: environment, immunity, infection and other factors can lead to ulcerative changes in the colon, inflammatory substances and blood, etc., can stimulate the mucosa of the colon, causing diarrhea, farting, abdominal pain, blood in the stool and other symptoms. Frequent farting in the middle of the night may also be caused by intestinal tuberculosis and other diseases, it is recommended to consult a doctor to clarify the diagnosis and targeted treatment.