Heartburn or pain in the pit of the stomach can have several causes, including reflux esophagitis, gastritis or gastric ulcer, functional dyspepsia and gallstones. Fatty foods, overeating, irregular meals and stress can make symptoms worse, and upper endoscopy (gastroscopy) is recommended if warning symptoms are also present.
Common Causes
| Cause | Features |
|---|---|
| Reflux esophagitis | Heartburn, acid regurgitation; worse when lying down or after meals |
| Gastritis / gastric ulcer | Pain in the pit of the stomach, discomfort on an empty stomach or after meals |
| Functional dyspepsia | Recurring bloating and early fullness with normal test results |
| Gallstone-related pain | Pain in the upper right abdomen or pit of the stomach after fatty meals |
Signs That Testing Is Recommended
Upper endoscopy is recommended if you are 40 or older, or if you are under 40 but have a family history of stomach cancer or warning symptoms such as weight loss, difficulty swallowing, bloody stools, anemia or persistent vomiting. Vomiting blood or black stools (melena) are also symptoms that suggest a serious condition. Adults aged 40 and over are eligible for upper endoscopy every two years through the National Health Screening, even without symptoms.
What Tests Are Done
Upper endoscopy allows a direct look at the lining of the esophagus, stomach and duodenum, and Helicobacter pylori (H. pylori) testing and a biopsy are done at the same time if needed. If the pattern suggests gallstones, an abdominal ultrasound is considered.
Antacids make me feel better. Do I still need a test?
Antacids may relieve symptoms. However, if you are 40 or older or have warning symptoms such as weight loss, difficulty swallowing, bloody stools, anemia or persistent vomiting, it is best to check with an upper endoscopy.
Can stress alone cause heartburn?
Stress affects stomach acid secretion and stomach movement, and can trigger or worsen symptoms. However, if you are 40 or older or have warning symptoms, an upper endoscopy should be done first to rule out other conditions.
I heard reflux esophagitis often comes back?
Reflux esophagitis often follows a chronic course with repeated relapses. Medication is combined with lifestyle measures such as not lying down after meals and cutting back on late-night snacks and overeating.

