Stool Log

Coeliac disease or IBS? How to tell, and the test to ask for

Coeliac disease and IBS can feel the same: diarrhoea, tummy pain and bloating are common in both.12 The difference is that coeliac disease can be found with a blood test, so NICE and the NHS say adults with IBS symptoms should be tested for it, while still eating gluten.344

Two different conditions

Coeliac disease is a condition where your immune system attacks your own tissues when you eat gluten. This damages your small intestine, so your body can't take in nutrients properly.1 Gluten is found in any food that contains wheat, barley or rye.1

IBS (irritable bowel syndrome) has no single test.5 A doctor may do tests to rule out other causes, including a blood test to check for problems like coeliac disease.5 Our post on the types of IBS covers the different kinds.

The two can be confused: the NHS says milder cases of coeliac disease may go undiagnosed or be misdiagnosed as other digestive conditions, such as IBS.1 Coeliac disease affects at least 1 in every 100 people in the UK.1

Where the symptoms overlap

Coeliac diseaseIBS
Gut symptomsdiarrhoea, which may smell particularly unpleasant;1 abdominal pain and bloating1stomach pain or cramps, usually worse after eating and better after a poo; bloating; diarrhoea or constipation2
Comes and goessymptoms can range from mild to severe and often come and go6better and worse days (flare-ups), sometimes triggered by food or drink2
Linked to glutenyes: gluten triggers it1some people with IBS have more symptoms after gluten without having coeliac disease7

Because both come and go and both can follow meals, a food diary alone can't tell them apart. Some signs point more towards coeliac disease and are worth telling a doctor about: stools that are foul smelling, greasy and frothy and hard to flush, from fat that isn't absorbed;6 tiredness, which may be a sign of anaemia;6 or an itchy rash.1

The blood test

NICE, which writes guidance for doctors in England, recommends offering a coeliac blood test to adults with irritable bowel syndrome,3 and its IBS guidance lists antibody testing for coeliac disease among the tests to rule out other diagnoses.8 The NHS puts it plainly: you should be tested for coeliac disease if you have IBS (in adults), or persistent unexplained gut symptoms such as diarrhoea, stomach ache and bloating.44

The GP arranges a blood test to look for antibodies usually present in the blood of people with coeliac disease.4 If they're found, you'll be referred to a gastroenterologist, who may arrange more blood tests or a biopsy of your intestine.4 A negative test doesn't always settle it: it's sometimes possible to have coeliac disease without the antibodies, and a GP may still refer you if symptoms carry on.4

Keep eating gluten until you're tested

This is the step people most often get wrong. The NHS says that while you're being tested you need to eat foods containing gluten so the tests are accurate, and you shouldn't start a gluten-free diet until a specialist confirms the diagnosis, even if a blood test is positive.4 Avoiding gluten could lead to an inaccurate result.4

NICE goes further: people eating a normal diet should eat some gluten in more than 1 meal every day for at least 6 weeks before testing.3 If you've already cut gluten out and find it hard to bring it back, tell your GP rather than going ahead with the test as you are; NICE advises referral to a specialist in that case.3

So if you suspect gluten, the order matters: see your GP first, get tested while still eating it, and make changes only once you know.

Keep eating gluten, then note your symptoms, then bring the diary to the GP.

What to note before the appointment

The NHS suggests writing down details of your symptoms before a GP appointment about IBS.5 A couple of weeks of notes help:

If your diarrhoea has gone on for weeks, our post on chronic diarrhoea covers other causes a doctor may look at.

Common questions

Should I be tested for coeliac disease if I have IBS?

Yes, if you're an adult. NICE recommends offering the test to adults with IBS, and the NHS lists IBS among the reasons to be tested.34

Do I need to eat gluten before a coeliac test?

Yes. The NHS says to keep eating gluten so the tests are accurate.4 NICE advises gluten in more than 1 meal a day for at least 6 weeks before testing.3

Can I just try a gluten-free diet instead?

Not before testing. Starting gluten-free first can make the result inaccurate, and the NHS says not to start until a specialist confirms the diagnosis.44

My coeliac test was negative but I still have symptoms. What now?

Tell your GP. Some people with coeliac disease don't have the antibodies, and a GP may still refer you.4

Bring the weeks before your test

Stool Log logs each stool's Bristol type in one tap, with Log food and symptoms for bloating, pain and wind on the same days. You can mark a stool Urgent or Mucus, and note its colour. The free 14-day report puts it on one page to take to your GP, and the diary keeps going through whatever comes next.

Download on the App Store

Sources

  1. NHS. Coeliac disease, 2023. ↩ a b c d e f g h i j
  2. NHS. Symptoms of IBS, 2025. ↩ a b c d e f g
  3. NICE. Coeliac disease: recognition, assessment and management (NG20), 2015. ↩ a b c d e f
  4. NHS. Coeliac disease: diagnosis, 2023. ↩ a b c d e f g h i j k l m n
  5. NHS. Getting diagnosed with IBS, 2025. ↩ a b c
  6. NHS. Coeliac disease: symptoms, 2023. ↩ a b c
  7. NIDDK. Eating, diet, and nutrition for irritable bowel syndrome, 2017. ↩
  8. NICE. Irritable bowel syndrome in adults: diagnosis and management (CG61), 2017. ↩

This article is general information, not medical advice. Talk to a doctor or nurse about your own symptoms.

Free tools