Skip to main content

Chest and upper abdomen

Chest pain after eating: reflux, ulcers, gallstones and the heart

Chest pain that starts after a meal is very often heartburn or indigestion, but the upper tummy and chest sit close together, so gallstones, a stomach ulcer or even a heart problem can feel similar. This guide explains the usual causes, the clues that point towards each, and the symptoms for which the NHS advises calling 999 rather than waiting.

Last checked: 2026-10-10

Key facts

At a glance.

  • Most chest pain is not cardiac

    The NHS says most chest pain is not a sign of anything serious, and in most cases it is not caused by a heart problem, but that you should get medical advice just in case.

  • Heartburn is the usual pattern

    The NHS chest pain page lists pain that starts after eating, with bringing up food or bitter-tasting fluid, feeling full and bloated, as typical of heartburn or indigestion.

  • Heart attack can mimic indigestion

    The NHS says a heart attack may feel like indigestion, with a burning feeling in the chest and feeling full or bloated.

  • Call 999 triggers

    The NHS advises 999 for sudden chest pain or discomfort that does not go away, pain spreading to the arm, neck, jaw, stomach or back, or chest pain with sweating, sickness, light-headedness or breathlessness.

  • Gallstone pain pattern

    The NHS says gallstone pain can be severe, constant, last longer than 30 minutes and be in the middle of the tummy or under the ribs on the right.

  • Ulcer pain

    The NHS says a stomach ulcer causes upper tummy pain that may feel like burning, and lists chest pain that started suddenly as a reason to call 999.

The short answer

Pain in the chest after a meal is most often heartburn, where stomach acid travels up towards the throat. The NHS describes heartburn as a burning feeling in the middle of the chest, often with an unpleasant sour taste, and says symptoms are often worse after eating, when lying down and when bending over.

The difficulty is that the heart, gullet, stomach and gallbladder all lie close together and their pain signals can feel alike. The NHS therefore does not ask people to diagnose the cause themselves. Its chest pain page says: do not self-diagnose, and see a GP if you are worried. The sections below describe what each condition tends to look like and, above all, the situations in which waiting is the wrong choice.

When to call 999 first

The NHS says to call 999 if you get sudden pain or discomfort in the chest that does not go away, if the pain can feel like squeezing or pressure, burning or indigestion, if it spreads to the left or right arm, the neck, jaw, stomach or back, or if chest pain comes with feeling sweaty, sick, light-headed or short of breath. These could be signs of a heart attack, and the NHS says you need immediate treatment in hospital.

The heart attack page adds other features: feeling short of breath, feeling or being sick, feeling like you have indigestion with a burning feeling in the chest and feeling full or bloated, sweating, and pale, blue or grey skin. It advises not driving yourself to A&E and, while waiting for help, sitting and resting with the back supported. It also notes aspirin 300mg may be taken if available and not allergic, and GTN spray for people who have angina.

Because a heart attack can feel like indigestion, a first episode of burning chest pain with sweating or breathlessness is not a situation to treat with antacids and wait.

Heartburn and acid reflux

The NHS lists, as things that can bring on or worsen heartburn, certain foods and drinks such as coffee, tomatoes, alcohol, chocolate and fatty or spicy foods, being overweight, smoking, pregnancy, stress and anxiety, some medicines such as anti-inflammatory painkillers, a hiatus hernia, a stomach ulcer and a bacterial infection in the stomach.

It suggests eating smaller, more frequent meals, trying to lose weight if overweight, finding ways to relax, avoiding trigger foods, not eating within 3 or 4 hours before bed, not wearing clothes tight around the waist, not smoking and not drinking too much alcohol. A pharmacist can recommend antacids or alginates, which help in the short term but should not be taken regularly for long periods.

See a GP, says the NHS, if lifestyle changes and pharmacy medicines are not helping, if you have heartburn most days, or if you also have food getting stuck in the throat, frequent vomiting or weight loss for no reason. A GP may prescribe a proton pump inhibitor such as omeprazole or lansoprazole and may refer you for a gastroscopy.

Ulcers and gallstones

The NHS describes the main symptom of a stomach ulcer as tummy pain that is usually in the upper part of the tummy, may feel like burning and is often worse at night, with indigestion, heartburn, bloating and feeling or being sick. It names infection with H. pylori bacteria and regular use of anti-inflammatory painkillers such as ibuprofen as the main causes. See a GP if indigestion does not go away with treatment or tummy pain keeps coming back.

Gallstone pain, the NHS says, can feel severe, be constant, last longer than 30 minutes and up to several hours, and be in the middle of the tummy or just under the ribs on the right side, with feeling or being sick. It advises an urgent GP appointment or NHS 111 for pain that lasts longer than 30 minutes, and 999 or A&E for sudden severe tummy pain, pain spreading from the tummy to the back with vomiting, a very high temperature or feeling hot, cold or shivery, or yellow skin or eyes.

The NHS ulcer page lists emergencies too: vomiting bright red blood or something resembling coffee grounds, blood in the stool or black sticky stools, severe tummy pain, a tummy that is painful to touch, or chest pain that started suddenly.

Clues that point one way or the other

The following are patterns the NHS pages describe. They are for orientation and cannot replace an assessment, particularly because the heart attack page itself recognises that indigestion-like symptoms can be cardiac.

Patterns described on NHS pages for chest or upper tummy pain after eating
PatternPoints towards
Burning mid-chest, sour taste, worse lying down or bending, relieved by antacidsAcid reflux or heartburn
Upper tummy burning pain, often worse at night, with bloating or sicknessStomach ulcer
Severe, constant pain under the right ribs or in the middle of the tummy, lasting over 30 minutes, with sicknessGallstones (biliary colic)
Tight or squeezing pressure, spreading to arm, neck, jaw or back, with sweating or breathlessnessPossible heart attack: call 999

Seeing a GP

The NHS says to see a GP if you have chest pain that comes and goes, or chest pain that goes away quickly but you are still worried, because it is important to make sure it is nothing serious. A clinician can ask about the pattern, the timing relative to meals, your medicines and risk factors for heart disease, and can arrange tests such as an ECG, blood tests or a gastroscopy where suitable.

The NHS says you are more likely to have heart problems if you are older or at risk of coronary heart disease, for example if you smoke, are living with obesity, have high blood pressure, diabetes or high cholesterol, or have family members who had heart attacks or angina under the age of 60.

Frequently asked

Questions people ask.

Quick, plain-English answers to the questions we hear most.

  • Is chest pain after eating usually heartburn?

    It often is. The NHS lists chest pain that starts after eating, with bringing up food or bitter fluid, fullness and bloating, as typical of heartburn or indigestion, but advises not to self-diagnose.

  • Can a heart attack feel like indigestion?

    Yes. The NHS says a heart attack may feel like indigestion, with a burning feeling in the chest and feeling full or bloated, often along with sweating, sickness or breathlessness.

  • When should I call 999 for chest pain?

    The NHS advises 999 for sudden chest pain or discomfort that does not go away, pain that spreads to the arms, neck, jaw, stomach or back, or chest pain with sweating, sickness, light-headedness or breathlessness.

  • What helps heartburn after meals?

    The NHS suggests smaller, more frequent meals, avoiding trigger foods, not eating within 3 or 4 hours of bed, not smoking and raising the head of the bed. A pharmacist can suggest antacids or alginates.

  • Can gallstones cause pain after eating?

    The NHS says gallstones can cause severe, constant pain lasting over 30 minutes, in the middle of the tummy or under the right ribs, with feeling or being sick.

  • Could it be a stomach ulcer?

    The NHS says ulcer pain is usually in the upper tummy, may feel like burning and is often worse at night, with indigestion, bloating or sickness. A GP can arrange tests such as an H. pylori breath test.

  • Should I take aspirin if I think it is a heart attack?

    The NHS says to call 999 and, while waiting, take aspirin 300mg if you have it and are not allergic. Do not drive yourself to A&E.

  • When is chest pain after eating something to see a GP about?

    The NHS advises seeing a GP if it keeps coming back, if heartburn is most days, if lifestyle changes and pharmacy medicines are not helping, or if you also have swallowing difficulty, vomiting or weight loss.

  • Can anxiety cause chest pain after a meal?

    The NHS lists anxiety, depression or panic attack as a possible cause of sharp, continuous chest pain triggered by worry, and lists stress and anxiety as things that can make heartburn worse.

Where this comes from

Sources and checking.

This guide is for information, not medical advice.

Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.

Published 2026-10-10, next review 2027-10-10.