Stomach Pain After Eating: Dyspepsia, Gallstones, Lactose and Coeliac Disease
Table of Contents
Key Takeaways
- Dyspepsia is one possible explanation: the ACG and CAG guideline recommends a non-invasive Helicobacter pylori test and treatment if positive for people under 60 with dyspepsia.[1]
- Coeliac tests need gluten in the diet: NICE advises people who normally eat gluten to eat it in more than one meal every day for at least 6 weeks before testing.[2]
- Gallstones are checked with blood tests and ultrasound: NICE recommends liver function tests and ultrasound for suspected gallstone disease.[3]
- In my practice, many patients had already been avoiding lactose or gluten before testing, so I have asked about their diet when ordering a coeliac test.
Introduction: Why You Get Stomach Pain After Eating
In some of my patients, the abdomen has become painful after eating. It has depended somewhat on where the pain has been, whether in the upper or lower abdomen. In my experience, typical pain after eating has more often been dyspepsia. On the other hand, gallbladder symptoms have sometimes also worsened with meals.
Stomach pain after eating can have several causes. Where the pain sits can give a first clue to its cause;[4] causes by location are covered in stomach pain and upper abdominal pain.
Dyspepsia and Helicobacter as Causes of Stomach Pain After Eating
In short: The ACG and CAG guideline defines dyspepsia as predominant epigastric pain lasting at least a month and recommends a non-invasive Helicobacter pylori test for people under 60, followed by a proton pump inhibitor trial if the test is negative or symptoms continue despite eradication treatment.[1]
A fairly typical abdominal pain has been in a patient with dyspepsia in the background who has eaten a heavy meal and then, for example, gone to bed, after which acid coming up has caused pain.
Some patients have linked the start of their symptoms to a particular food, such as a dairy snack, and noticed the discomfort mostly in the upper abdomen.
The guideline suggests endoscopy for people aged 60 or over with dyspepsia; earlier endoscopy may be considered for people at higher risk of cancer.[1] Heartburn and reflux are covered in acid reflux.
Helicobacter, on the other hand, has been a fairly typical situation in my practice in which the patient has developed very severe pain after eating, real heartburn-type symptoms. Gallstones have sometimes caused rather similar symptoms, and they have often been somewhat difficult to tell apart.
These symptoms alone do not show that Helicobacter pylori is the cause of the pain, and most people with the infection have no symptoms.[1][5] The 2024 ACG guideline also recommends confirming that the infection has been cleared after treatment.[5]
Gallstones and Stomach Pain After Eating
NICE recommends liver function tests and ultrasound for people with suspected gallstone disease and for people whose abdominal or gastrointestinal symptoms have not responded to previous management, and it advises people with gallstones to avoid food and drink that triggers their symptoms while waiting for the gallbladder or gallstones to be removed.[3] Gallstone attacks are covered in gallbladder pain.
Lactose Intolerance, Coeliac Disease and Stomach Pain After Eating
In short: NICE recommends testing for total IgA and IgA tissue transglutaminase as the first-choice coeliac tests and advises people who normally eat gluten to eat it in more than one meal every day for at least 6 weeks before testing.[2]
In some of my patients, the abdomen has started to hurt and cause symptoms because of undiagnosed lactose intolerance. These patients have usually had diarrhoea, but they have also had painful abdominal cramps. Coeliac patients have also had abdominal pain and painful cramps.
In my practice, lactose intolerance has come to light every now and then, whereas coeliac disease has been found much less often. We have usually tested patients with bowel symptoms for both as part of their basic blood tests: for lactose intolerance a gene test, and for coeliac disease I have usually checked total serum IgA, endomysial antibodies and tissue transglutaminase antibodies.
I have kept in mind, though, that if the patient was already on a gluten-free diet, these tests might not show anything. Many of my patients have instinctively already been avoiding lactose or gluten, because they have had some idea that they might have one of these conditions. That is why, when ordering a coeliac test, I have asked whether they have already been following a gluten-free diet.
Genetic testing can help identify inherited lactase non-persistence, although its accuracy varies between populations, and it cannot assess symptoms or rule out secondary causes of lactose malabsorption.[6] NICE recommends total IgA and IgA tissue transglutaminase as the first coeliac tests, with IgA endomysial antibody testing in young people and adults when the tissue transglutaminase result is weakly positive, and IgG-based tests to be considered in people with IgA deficiency.[2]
π¬ The research behind this 3 sources Β· cited
NICE advises offering serological testing for coeliac disease to people with persistent unexplained abdominal or gastrointestinal symptoms and to adults who meet the diagnostic criteria for irritable bowel syndrome.[2][7]
For people who have restricted or excluded gluten and are reluctant or unable to reintroduce it before testing, NICE advises referral to a gastrointestinal specialist.[2] People with a positive test are advised to continue eating gluten until the diagnosis is confirmed by a specialist.[8]
When pain after meals comes with bloating and changes in bowel habit, irritable bowel syndrome is one possible explanation;[7] see IBS symptoms and bloating.

A blank one-page sheet for recording stomach symptoms, meals and bowel movements. You can bring it to your healthcare appointment.
When Stomach Pain After Eating Needs Urgent Assessment
The NHS advises calling an ambulance or going to an emergency department for sudden, severe stomach pain, vomiting blood or vomit that looks like ground coffee, black sticky stools, or being completely unable to pass urine, stools or wind, and seeing a GP when stomach pain, bloating or indigestion does not go away or keeps coming back.[4] With suspected gallstones, the NHS advises urgent medical advice for tummy pain lasting longer than 30 minutes, and emergency care if the pain spreads to the back with vomiting, the temperature is very high or you feel hot, cold or shivery, or the skin or the whites of the eyes look yellow.[9] A heart attack can feel like indigestion, and the NHS advises calling an emergency number for suspected heart attack symptoms such as chest pain that feels tight or squeezing.[10]
Conclusion: What Matters Most With Stomach Pain After Eating
In my view, pain after eating in my practice has most often been dyspepsia, but lactose intolerance, coeliac disease, Helicobacter and gallstones have all caused similar symptoms, so I have tested for the common ones and asked about the diet before drawing conclusions.
The guidelines support a stepwise approach: test and treat Helicobacter in younger people with dyspepsia,[1] test for coeliac disease while gluten is still in the diet,[2] and use blood tests and ultrasound when gallstones are suspected.[3]

A blank one-page sheet for recording stomach symptoms, meals and bowel movements. You can bring it to your healthcare appointment.
References
Show all 10 references
- https://doi.org/10.1038/ajg.2017.154
- https://www.nice.org.uk/guidance/ng20/chapter/Recommendations
- https://www.nice.org.uk/guidance/cg188/chapter/Recommendations
- https://www.nhs.uk/conditions/stomach-ache/
- https://doi.org/10.14309/ajg.0000000000002968
- https://doi.org/10.3390/nu7095380
- https://www.nice.org.uk/guidance/cg61/chapter/Recommendations
- https://www.nice.org.uk/guidance/qs134/chapter/Quality-statement-2-Referral-to-a-specialist
- https://www.nhs.uk/conditions/gallstones/
- https://www.nhs.uk/conditions/heart-attack/
Where should I send your sheet?
I will email the PDF to you right away. You will also get occasional articles from drantti.com. Unsubscribe anytime.
