Many aspects can cause abdominal pain in the middle of the night. The first aspect is that if you eat unhygienic food, such as expired or spoiled food, or food with excessive E. coli bacteria, it may cause irritation of the stomach or the intestines, which can lead to abdominal pain. On the second hand, in a few cases, colic can occur spontaneously in the intestine, which is mainly due to intestinal spasm. This condition will be relieved by drinking warm water, or by applying a hot water bag externally, and by taking anti-spasmodic drugs. The third aspect is the abdominal pain caused by overeating. This type of abdominal pain may be caused by overeating, resulting in slowing down of gastrointestinal peristalsis, which leads to distension and pain, or acute pancreatitis caused by overeating. Fourth, we need to pay attention to abdominal pain caused by intestinal parasites, which mostly occurs in young children.