Digestive symptoms
Abdominal pain after eating: causes, what to do and when to see a doctor
Pain in the tummy after eating is usually not serious. The NHS lists indigestion, stomach ulcers, irritable bowel syndrome and gallstones among the causes, and the location and timing of the pain give clues. See a GP if it keeps coming back, and call 999 for sudden severe pain, vomiting blood or black sticky poo.
Last checked: 2026-10-18
Key facts
At a glance.
-
Usually not serious
The NHS says most stomach aches are not anything serious and go away after a few days, but pain that keeps coming back deserves a proper check.
-
Pattern gives clues
Burning upper tummy pain that is worse at night, cramps that ease after a poo, and severe pain under the right ribs lasting hours point towards different conditions.
-
Common causes
Indigestion, irritable bowel syndrome, stomach ulcers and gallstones are among the conditions the NHS describes as causing pain around mealtimes.
-
Gallstone pain is distinctive
The NHS describes gallstone pain as severe, constant, lasting from 30 minutes up to several hours, in the middle of the tummy or just under the right ribs.
-
Red flags
Difficulty swallowing, losing weight without trying, repeated vomiting, blood in vomit or poo, or a yellow tinge to the skin or eyes need urgent medical attention.
-
Pharmacist first for mild symptoms
The NHS says a pharmacist can advise on what might be causing a stomach ache and on treatments for indigestion and constipation.
What can cause stomach pain after eating?
Abdominal pain after eating is not a diagnosis in itself. It is a symptom that can come from several parts of the digestive system, and the useful question is usually what kind of pain it is, where it sits and how it behaves over time. A single episode after an unusually rich meal is very different from pain that appears after most meals for weeks.
The NHS notes that most stomach aches are not serious and settle within a few days. It also lists the common explanations in a simple way: feeling full and bloated after eating with heartburn and nausea suggests indigestion; feeling bloated and passing a lot of wind suggests trapped wind; being unable to poo suggests constipation; and watery poo with sickness points to a stomach bug or food poisoning.
Less common causes listed by the NHS include period pain, appendicitis, irritable bowel syndrome, kidney stones and gallstones. The NHS is clear that people should not self-diagnose and should see a GP if they are worried.
Common causes of pain after eating and how they feel
Several conditions are linked to pain around meals. They overlap, which is why a GP will ask detailed questions before deciding what to test.
-
Indigestion is often caused by stomach acid irritating the lining of the stomach or throat. The NHS lists certain foods and drinks, being overweight, smoking, pregnancy, stress and some medicines such as anti-inflammatory painkillers as things that can cause or worsen it.
-
Stomach ulcers are mainly caused by infection with Helicobacter pylori bacteria or by regular use of anti-inflammatory painkillers such as ibuprofen, and are more common in smokers and with increasing age.
-
IBS has no single test. The NHS says flare-ups can be triggered by alcohol, caffeine, spicy or fatty food, stress and anxiety, or regular antibiotic use.
-
Gallstones are common and often cause no symptoms at all. The NHS says they are more likely if you are over 40, female, living with obesity, eat a diet high in fat and low in fibre, have lost weight quickly, or have a condition such as diabetes or Crohn's disease.
| Possible cause | What the NHS describes |
|---|---|
| Indigestion | Heartburn, feeling full and bloated, feeling sick, burping, and sometimes bringing up food or bitter fluid after eating or drinking. |
| Stomach ulcer | Usually pain in the upper tummy that may feel like burning and is often worse at night, with indigestion, bloating and sickness. |
| Irritable bowel syndrome | Stomach pain or cramps usually worse after eating and better after doing a poo, with bloating, diarrhoea or constipation. |
| Gallstones | Severe, constant pain in the middle of the tummy or under the right ribs, lasting longer than 30 minutes and up to several hours, sometimes with sickness. |
When should I worry about pain after eating?
The NHS separates tummy pain into three levels of urgency. For indigestion or mild pain it often says a pharmacist can help. For stomach ache it advises an urgent GP appointment or NHS 111 if the pain gets much worse, does not go away or keeps coming back, if bloating does not settle, if you have problems swallowing, are pregnant, are losing weight without trying, notice blood from your bottom, or have diarrhoea that lasts more than a few days.
For indigestion specifically, the NHS says to see a GP if you keep getting it, are in severe pain, have lost a lot of weight without meaning to, have difficulty swallowing, keep being sick, have iron deficiency anaemia, feel a lump in your stomach, or have bloody vomit or poo.
-
Call 999 or go to A&E if a stomach ache came on very suddenly or is severe, it hurts when you touch your tummy, you are vomiting blood or vomit that looks like ground coffee, your poo is bloody or black, sticky and extremely smelly, you cannot pee, you cannot poo or fart, you have chest pain, or you have diabetes and are vomiting.
-
For gallstone-type pain, the NHS says to call 999 or go to A&E for sudden severe tummy pain, pain spreading to the back with being sick, a very high temperature or feeling hot, cold or shivery, or yellow skin or eyes. Pain lasting longer than 30 minutes should prompt an urgent GP appointment or NHS 111.
-
The NHS asks people not to drive themselves to A&E: ask someone else to drive or call 999.
Abdominal pain after eating in pregnancy
The NHS says pregnant women often get indigestion, and that it is very common from 27 weeks onwards. It can be caused by hormonal changes and the growing baby pressing against the stomach. The NHS adds that pregnancy is one of the things that can cause or worsen indigestion generally.
A pharmacist can help with the uncomfortable feelings or pain and can recommend the best medicines to use when you are pregnant, so check before taking anything off the shelf.
Stomach ache is different from indigestion. The NHS says indigestion usually feels like heartburn, fullness, bloating, sickness, burping or bringing up food, and that stomach ache or back pain are usually not symptoms of indigestion. Its stomach ache advice lists being pregnant among the reasons to ask for an urgent GP appointment or get help from NHS 111 when you have a stomach ache, and the 999 signs listed above apply in pregnancy too.
How is pain after eating diagnosed?
Most people start with a GP appointment. The GP will ask when the pain happens in relation to meals, where it is, what makes it better or worse, whether you have noticed weight loss, sickness or changes in your poo, and which medicines you take, including over-the-counter painkillers. They may feel your tummy and weigh you.
Tests depend on the suspected cause. For a possible stomach ulcer the NHS says a GP may arrange a breath test for H. pylori, a poo sample test or a blood test, and may refer you for a gastroscopy, where a thin flexible tube with a camera is passed through the mouth into the stomach. For possible gallstones, the NHS says an ultrasound scan and a blood test are used. For suspected IBS there is no specific test, but a GP may arrange a blood test to look for problems such as coeliac disease and poo tests to check for infection and inflammatory bowel disease.
Keeping a simple diary of what you ate, when pain began and how long it lasted can make the appointment more useful. The NHS suggests writing down symptom details beforehand so you remember them.
How is pain after eating treated?
Treatment follows the cause. For indigestion, the NHS suggests cutting down on tea, coffee, cola and alcohol, raising your head and shoulders in bed, losing weight if you are overweight, not eating 3 to 4 hours before bed, avoiding rich, spicy or fatty foods, not smoking, and not taking ibuprofen or aspirin unless prescribed. A pharmacist can recommend antacids, alginates or proton pump inhibitors.
For a stomach ulcer, the NHS says treatment depends on the cause and may include antibiotics for H. pylori and medicines such as proton pump inhibitors to reduce stomach acid, usually for 1 week to 2 months. Gallstones that cause symptoms are usually treated by surgery to remove the gallbladder, and stones in the bile duct may be cleared with a procedure called ERCP. While waiting for surgery the NHS says people may take paracetamol and ibuprofen, be offered stronger painkillers for severe pain, and be advised to avoid trigger foods or follow a low-fat diet.
For IBS, the NHS describes lifestyle, diet and medicine options that a GP can discuss with you.
Outlook, and NHS versus private care
The outlook is usually good once the cause is found. Indigestion and IBS are often managed long term with lifestyle changes and medicines. Ulcers generally heal with treatment, although the NHS stresses that untreated ulcers can bleed, cause iron deficiency anaemia or perforate. Gallstone complications are described as rare, but they include inflammation of the gallbladder or pancreas and jaundice.
In the UK, the usual route is through a GP, with blood tests, breath or stool tests, ultrasound and referral for endoscopy arranged through the NHS. Some people choose to see a private gastroenterologist for quicker access to endoscopy or imaging. The same underlying tests are used either way, and a GP can explain which are likely to be useful in your situation.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
Why does my stomach hurt after I eat?
There are several possible reasons. The NHS lists indigestion, a stomach ulcer, irritable bowel syndrome and gallstones among the conditions that can cause pain around meals. The location, timing and duration of the pain help a GP work out which is more likely, so note when it starts and how long it lasts.
-
Is pain after eating a sign of something serious?
Usually not. The NHS says most stomach aches are not serious and pass in a few days. Pain that keeps returning, is severe, or comes with weight loss, swallowing difficulty or blood in vomit or poo should be checked promptly by a GP, and sudden severe pain needs emergency care.
-
How do I tell gallstone pain from indigestion?
The NHS describes gallstone pain as severe and constant, lasting longer than 30 minutes and up to several hours, in the middle of the tummy or just under the right ribs. Indigestion is more often a burning feeling, fullness, bloating or sickness after eating or drinking, and stomach ache is usually not an indigestion symptom.
-
Could stomach pain after eating be an ulcer?
Possibly. The NHS says ulcer pain is usually in the upper tummy, may feel like burning and is often worse at night, with indigestion, bloating and sickness. See a GP if indigestion keeps coming back or tummy pain does not settle, because ulcers can bleed if untreated.
-
Can irritable bowel syndrome cause pain after meals?
Yes. The NHS lists stomach pain or cramps that are usually worse after eating and better after doing a poo as a main symptom of IBS, along with bloating, diarrhoea or constipation. There is no single test, so a GP may arrange blood and poo tests to rule other conditions out.
-
When should I go to A&E with stomach pain?
The NHS advises calling 999 or going to A&E for sudden or severe tummy pain, pain that hurts when you touch the tummy, vomiting blood or vomit like ground coffee, bloody or black sticky poo, being unable to pass wind or poo, chest pain, or yellow skin or eyes with severe pain. Do not drive yourself.
-
Are there foods I should avoid?
The NHS says coffee, tomatoes, alcohol, chocolate and fatty or spicy foods can cause or worsen indigestion, and that people with gallstones may be advised to avoid trigger foods or follow a low-fat diet. A food and symptom diary can show your own triggers and help a GP appointment.
-
What tests might I need for pain after eating?
Depending on your symptoms, a GP may arrange blood tests, a breath or poo test for H. pylori, an ultrasound scan for gallstones, or a referral for gastroscopy to look inside the stomach. IBS has no specific test and is diagnosed after other causes are ruled out.
-
Is stomach pain after eating normal in pregnancy?
Indigestion is common in pregnancy, especially from 27 weeks, according to the NHS, because of hormonal changes and the baby pressing on the stomach. A pharmacist can recommend medicines suitable for pregnancy. Because the NHS lists being pregnant among the reasons to get an urgent GP or NHS 111 review of a stomach ache, ask if pain is more than heartburn.
-
Can painkillers make stomach pain after eating worse?
Anti-inflammatory painkillers such as ibuprofen and aspirin can cause or worsen indigestion and stomach ulcers, according to the NHS, which says not to take them for indigestion unless prescribed. Speak to a pharmacist or GP before taking them regularly if you have tummy pain, and mention any you already take.
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-18, next review 2027-10-18.
-
NHS: Stomach ache, https://www.nhs.uk/conditions/stomach-ache/ , retrieved October 2026
-
NHS: Indigestion, https://www.nhs.uk/conditions/indigestion/ , retrieved October 2026
-
NHS: Gallstones, https://www.nhs.uk/conditions/gallstones/ , retrieved October 2026
-
NHS: Stomach ulcer, https://www.nhs.uk/conditions/stomach-ulcer/ , retrieved October 2026
-
NHS: Symptoms of IBS, https://www.nhs.uk/conditions/irritable-bowel-syndrome-ibs/symptoms/ , retrieved October 2026
-
NHS: Getting diagnosed with IBS, https://www.nhs.uk/conditions/irritable-bowel-syndrome-ibs/diagnosis/ , retrieved October 2026
Related guides
Keep reading.
-
Indigestion
Heartburn, bloating and fullness after meals.
Read guide -
Gallstones
Stones in the gallbladder and the pain they can cause.
Read guide -
Peptic ulcer
Sores in the stomach or duodenal lining.
Read guide -
Irritable bowel syndrome
Cramps, bloating and bowel changes.
Read guide -
Gastroscopy
The camera test used to look inside the stomach.
Read guide -
Upper abdominal pain
Pain in the upper tummy and what can cause it.
Read guide -
Chronic abdominal pain
Tummy pain that lasts or keeps coming back.
Read guide -
Functional dyspepsia
Long-term indigestion with no ulcer or other cause found.
Read guide