Stomach pain when hungry is often seen in patients with duodenal ulcer and some patients with chronic gastritis. If there is a long-term hunger pain, you need to go to the hospital for gastroscopy in time to clarify the cause and then carry out the corresponding treatment. Common causes and treatments 1, duodenal ulcer: the typical performance of duodenal ulcer is hunger stomach pain, specifically chronic, rhythmic, periodic burning sensation or dull pain in the upper abdomen during fasting, which can be relieved after eating. If left untreated, it may even have adverse consequences such as gastric perforation or gastric bleeding. Patients are advised to go to the hospital promptly and apply drugs that inhibit stomach acid, such as omeprazole and rabeprazole, as prescribed by the doctor after a clear diagnosis. 2. Chronic gastritis: Some patients with chronic gastritis may experience hunger pain, also accompanied by symptoms such as stomach acidity, flatulence, vomiting and loss of appetite, commonly caused by stomach acid directly stimulating the stomach in a more empty state, resulting in stomach pain. In daily life, eat more soft, easily digestible and light foods, and also take herbal medicines to nourish and protect the stomach under the guidance of a doctor. Precautions Patients should strictly regulate the timing of three meals in their life and avoid eating too fast or consuming too much greasy, indigestible or spicy stimulating food to avoid further aggravation of the stomach disease. Regular gastroscopy should be performed to avoid disease progression and even malignant changes.