Bowel habit and stool changes
Diarrhoea straight after eating: causes, red flags and when to get it checked
Loose stools or an urgent trip to the toilet shortly after eating are common and most often linked to irritable bowel syndrome, a food intolerance or a recent infection. The timing, what you ate and any other symptoms help narrow it down. This page explains the likely causes, when it is a reason to see a GP and which features warrant quicker assessment.
Last checked: 2026-10-10
Key facts
At a glance.
-
IBS is a common reason
The NHS describes IBS stomach pain or cramps as usually worse after eating and better after doing a poo, with diarrhoea that can come with a sudden need to go.
-
Food intolerance shows up hours later
The NHS says food intolerance symptoms usually appear a few hours after eating the food, and lactose intolerance symptoms can begin within minutes to hours.
-
Short bouts are usually infections
The NHS says diarrhoea from a stomach bug usually stops within 5 to 7 days. Guts UK defines diarrhoea that lasts 4 weeks or more as chronic and says to see your GP.
-
Surgery can change timing
Guts UK describes dumping syndrome, usually after stomach surgery, in which the stomach releases food too quickly into the small bowel, causing diarrhoea.
-
Gluten and fat absorption
The NHS names coeliac disease as a cause of diarrhoea, and Guts UK lists pancreatic exocrine insufficiency, where poo may be greasy and difficult to flush.
-
Warning signs
Guts UK says features not typical of IBS include blood from the back passage, weight loss, fever, anaemia and diarrhoea that wakes you from sleep, especially over 40.
The short answer
Eating prompts the bowel to move, so some people notice an urge to go during or soon after a meal. When that urge brings loose or watery stools repeatedly, the usual explanations are irritable bowel syndrome, a food intolerance such as lactose intolerance, side effects of medicines, anxiety, or a recent bowel infection. Less often it reflects coeliac disease, inflammatory bowel disease, bile acid diarrhoea, pancreatic problems or an effect of surgery.
The timing helps but is not decisive. The NHS and Guts UK both emphasise looking at how long it has lasted, what accompanies it and whether anything is a red flag, rather than the exact minutes after eating. Diarrhoea lasting more than a few days, or recurring for weeks, should be assessed.
Irritable bowel syndrome
The NHS lists the main symptoms of IBS as stomach pain or cramps, usually worse after eating and better after doing a poo, bloating, diarrhoea with sometimes a sudden need to go, and constipation. Flare-ups may be triggered by food or drink, and the NHS names alcohol, caffeine, spicy or fatty food, stress and anxiety, and regular antibiotic use.
Guts UK explains that IBS is a disorder of the gut-brain interaction in which the nerves of the gut can be too sensitive to normal movement, and that around one third of people with IBS have the diarrhoea-predominant type. There is no single test for IBS: the NHS says a GP may arrange a blood test to check for coeliac disease and a stool test to look for infection and inflammatory bowel disease to rule out other causes.
The NHS diet advice for IBS includes eating regularly rather than skipping meals, not eating too quickly, limiting fatty, spicy and processed foods, no more than 3 cups of tea, coffee or caffeinated drinks a day, and cutting down on high-fibre foods and sorbitol sweeteners if diarrhoea is the main problem. A pharmacist can suggest medicines such as loperamide.
Food intolerances and lactose
The NHS says a food intolerance is when you have difficulty digesting certain foods or ingredients, that it is not usually serious, and that symptoms commonly include diarrhoea, bloating, wind and tummy pain. Lactose intolerance is the most common, and Guts UK estimates that around 8 in 100 people in the UK might have it.
The NHS says lactose symptoms can start a few minutes or a few hours after food or drink containing lactose, which is found not only in milk, cheese and yoghurt but in many processed foods such as cereals with chocolate, baked goods, sauces and protein shakes. A GP may suggest a lactose elimination diet, blood tests or a hydrogen breath test.
Both the NHS and Guts UK advise against commercial intolerance tests such as IgG blood tests, hair analysis or kinesiology, saying they have no solid scientific basis. A food diary and a dietitian-led approach are the recommended way to find triggers, and the NHS cautions against cutting foods out without advice.
Other causes worth knowing about
Guts UK lists a wider range of causes of diarrhoea, and several fit a link with eating. They are less common than IBS and intolerance, which is why a GP usually considers them after simpler explanations.
-
Coeliac disease, where gluten damages the small bowel lining. Blood testing needs you to keep eating gluten until you have been tested.
-
Bile acid diarrhoea, where bile is not reabsorbed and causes watery diarrhoea. Guts UK says about 1 in 5 people with IBS-type diarrhoea may have it.
-
Microscopic colitis, an inflammation of the bowel that is not visible on colonoscopy and causes watery diarrhoea, often with urgency and problems with bowel control.
-
Pancreatic exocrine insufficiency, where too few digestive enzymes lead to fat malabsorption and greasy poo.
-
Dumping syndrome, usually after stomach surgery, in which food is released too quickly into the small bowel.
-
Inflammatory bowel disease, which the NHS says can cause diarrhoea lasting more than 4 weeks with tummy pain, blood or mucus in the poo, tiredness and weight loss.
-
Medicines, including antibiotics and some laxatives, as well as an overactive thyroid and anxiety.
When to get help
The NHS says diarrhoea from an infection usually stops within 5 to 7 days and advises calling NHS 111 if you have diarrhoea for more than 7 days, bloody diarrhoea or bleeding from the bottom, signs of dehydration that persist after oral rehydration sachets, or you cannot keep fluids down. Dehydration signs include dark, smelly pee or peeing less than usual.
For repeated diarrhoea after meals lasting weeks, a routine GP appointment is appropriate. Guts UK says a persistent change of bowel habit for 4 weeks or longer needs particular attention if you are over 40, passing blood, have lost more than 2kg without trying, have a fever, have been diagnosed with anaemia, or have diarrhoea that wakes you from sleep. A family history of bowel cancer, colitis or Crohn's disease is also worth mentioning.
The NHS lists immediate action, calling 999 or going to A&E, for vomiting blood or coffee-ground vomit, a sudden severe headache or severe tummy ache, and signs of shock such as blue, grey or blotchy skin, or confusion.
What may help while you find the cause
Keeping a diary for two to four weeks of what you eat, when symptoms start, stool consistency, stress and medicines is one of the most useful things you can do, because the NHS and Guts UK both rely on it to identify food triggers. Drink enough fluid, since the NHS says to drink plenty of water and that diarrhoea can lead to dehydration.
For short episodes the NHS suggests eating when you feel able, avoiding fatty or spicy foods, and not having fruit juice or fizzy drinks, which can make diarrhoea worse. Oral rehydration solutions from a pharmacy are recommended for people at higher risk of dehydration. Anti-diarrhoeal medicine such as loperamide is not suitable for children under 12 and is not a substitute for finding the cause when symptoms persist.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
Why do I need the toilet straight after eating?
Eating stimulates gut movement, and in some people this brings an urgent need to go. When the stools are loose and it keeps happening, IBS, a food intolerance, medicines or anxiety are common explanations, and it is worth discussing with a GP.
-
Is diarrhoea after every meal a sign of IBS?
It can be. The NHS describes IBS pain as usually worse after eating and better after pooing, with diarrhoea and sometimes a sudden need to go, but IBS is diagnosed only after other conditions are ruled out.
-
Could it be lactose intolerance?
Possibly, if symptoms follow milk, cheese, yoghurt or foods containing them. The NHS says symptoms begin within minutes to hours and may include tummy pain, bloating, wind and diarrhoea.
-
Could it be coeliac disease?
It can be. The NHS lists diarrhoea, bloating and tiredness among the symptoms and says routine testing is not done in England, so tests are for people with symptoms or higher risk. Keep eating gluten until you are tested.
-
How long is too long?
The NHS says infection-related diarrhoea usually stops within 5 to 7 days and that diarrhoea for more than 7 days needs NHS 111 or GP advice. Guts UK treats 4 weeks or more as chronic diarrhoea needing investigation.
-
When is diarrhoea after eating a red flag?
Guts UK lists blood from the back passage, unintentional weight loss, fever, anaemia and diarrhoea that wakes you from sleep, especially in someone over 40, as features that are not typical of IBS and need review.
-
Should I take loperamide?
The NHS says a pharmacist can suggest medicine to stop diarrhoea for a few hours, such as loperamide, which is not suitable for children under 12. It treats the symptom, not the cause, so persistent symptoms still need checking.
-
Can stress or anxiety cause it?
Yes. Guts UK says anxiety and stress can speed up bowel movements and cause diarrhoea, and the NHS lists stress and anxiety as triggers for IBS flare-ups.
-
Can surgery cause diarrhoea after meals?
It can. Guts UK describes dumping syndrome after stomach surgery, where the stomach releases food too quickly into the small bowel, and says removal of large parts of the digestive tract can result in diarrhoea.
-
What tests might I have?
The NHS says a GP may arrange a blood test for coeliac disease and stool tests for infection and inflammatory bowel disease. Guts UK adds faecal calprotectin and faecal elastase tests for inflammation and pancreatic function.
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.
-
NHS: Diarrhoea and vomiting, https://www.nhs.uk/conditions/diarrhoea/ , 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
-
NHS: Diet, lifestyle and medicines for IBS, https://www.nhs.uk/conditions/irritable-bowel-syndrome-ibs/diet-lifestyle-and-medicines/ , retrieved October 2026
-
NHS: Food intolerance, https://www.nhs.uk/conditions/food-intolerance/ , retrieved October 2026
-
NHS: Lactose intolerance, https://www.nhs.uk/conditions/lactose-intolerance/ , retrieved October 2026
-
NHS: Inflammatory bowel disease, https://www.nhs.uk/conditions/inflammatory-bowel-disease/ , retrieved October 2026
-
Guts UK: Diarrhoea, https://gutscharity.org.uk/advice-and-information/symptoms/diarrhoea/ , retrieved October 2026
-
Guts UK: Irritable bowel syndrome, https://gutscharity.org.uk/advice-and-information/conditions/irritable-bowel-syndrome/ , retrieved October 2026
Related guides
Keep reading.
-
Diarrhoea in adults: causes, red flags and when to see a doctor
The general guide to loose stools in adults.
Read guide -
Diarrhoea lasting weeks
When loose stools go on for more than four weeks.
Read guide -
IBS with diarrhoea
The diarrhoea-predominant form of IBS.
Read guide -
Lactose intolerance
Dairy-related symptoms and how they are tested.
Read guide -
Bile acid diarrhoea
A frequently missed cause of watery diarrhoea.
Read guide -
Dumping syndrome
Rapid emptying of the stomach after surgery.
Read guide