Epigastric pain is a term to describe discomfort or aching that occurs beneath your rib cage in your upper abdominal region. How it feels exactly depends on the underlying cause, but it often happens alongside other common digestive symptoms, such as heartburn, bloating, and gas.