There are two more common causes of stomach pain at night: 1. caused by diet, such as eating spicy, greasy and stimulating food at dinner, etc., which can cause mucosal damage, thus leading to stomach pain at night. 2. lesions of the duodenum, such as inflammation, erosion and ulcer of the duodenum, can produce fasting pain, especially at night when stomach pain symptoms often occur, this can be contrasted with stomach pain, which is usually pain after meals and relieved on an empty stomach, which is the opposite of this. However, if stomach pain at night always occurs, it is best to have a gastroscopy to confirm the diagnosis accordingly.