Epigastric pain is pain that is localized to the region of the upper abdomen immediately below the ribs. Often, those who experience this type of pain feel it during or right after eating or if they lie down too soon after eating. It is a common symptom of gastroesophageal reflux disease (GERD) or heartburn.