IBS vs Celiac Disease: Why You Should Get Tested First

IBS vs celiac disease: they share bloating, diarrhea and pain. Learn why to get tested before going gluten-free, how testing works and what a result means.

written by
Josh Ternyak
PUBLISHED ON
October 27, 2026
IBS vs. Celiac Disease - ibshope.org article graphic with digestive system illustration

You cut out bread and pasta, and your bloating got better. So you decide the problem must be gluten and that you have found your answer. It is one of the most common stories in digestive health, and it is also one of the most important to slow down on. If you have symptoms that look like IBS, you should be tested for celiac disease before you stop eating gluten. Going gluten-free first can make the test come back falsely normal, and it can leave a real, treatable autoimmune disease undiagnosed for years.

Celiac disease and IBS share a long list of symptoms: bloating, gas, abdominal pain, diarrhea, constipation, fatigue. They are not the same condition. Celiac disease is an immune disorder in which eating gluten, a protein in wheat, barley and rye, damages the lining of the small intestine. IBS is a disorder of gut-brain interaction in which the gut looks normal. Celiac disease can cause long-term complications if it is not diagnosed and treated, and IBS does not. That is why guidelines recommend celiac testing for people with IBS symptoms and diarrhea.

This guide explains how the two conditions differ and overlap, how common celiac disease is among people with IBS symptoms, why you must keep eating gluten until you are tested, how testing works, what the results mean, how celiac disease is treated, what to do if you test negative but still feel better off gluten, and when to see a doctor. Every claim is linked to its source, and where our sources were limited we say so. For the wider testing picture, see our guide to blood and stool tests doctors order for IBS.

What this guide covers

  • The short answer: IBS vs. celiac disease
  • What is celiac disease?
  • What is IBS?
  • How common is celiac disease?
  • How often is celiac disease found in people with IBS symptoms?
  • Symptoms compared
  • Symptoms that point toward celiac disease
  • Who is more likely to have celiac disease
  • Why you should be tested before going gluten-free
  • How celiac testing works
  • Understanding your results
  • Genetic testing: what it can and cannot tell you
  • What if you have already gone gluten-free?
  • Complications of untreated celiac disease
  • Treatment: the gluten-free diet
  • Non-celiac gluten sensitivity and wheat allergy
  • Can you have celiac disease and IBS?
  • When to see a doctor
  • Related reading
  • Frequently asked questions
  • Sources

The short answer: IBS vs. celiac disease

  • Celiac disease is an autoimmune condition triggered by gluten that damages the small intestine. It is diagnosed with blood tests and usually a biopsy.
  • IBS is a functional gut disorder diagnosed by symptom pattern, with no visible damage.
  • They look alike. Both can cause bloating, gas, diarrhea and abdominal pain.
  • Celiac disease is common among people with IBS-type symptoms, so guidelines recommend testing.
  • Test first, then change your diet. Starting a gluten-free diet before testing can make the results inaccurate.
  • Treatment is very different. Celiac disease needs a strict lifelong gluten-free diet. IBS is treated with an individualized approach, and most people do not need to avoid gluten altogether.

What is celiac disease?

According to the NIDDK, celiac disease is a long-term digestive and immune disorder that damages the small intestine. It is triggered by eating gluten, a protein found in wheat, barley and rye (NIDDK: celiac disease definition and facts). When someone with celiac disease eats gluten, the immune system attacks the lining of the small intestine, flattening the tiny finger-like projections (villi) that absorb nutrients. That can lead to poor absorption of iron, calcium, vitamins and other nutrients, as well as digestive symptoms.

What is IBS?

The NIDDK describes IBS as a group of symptoms that occur together, including repeated abdominal pain and changes in bowel movements, which may be diarrhea, constipation or both, without any visible signs of damage or disease in the digestive tract. Doctors use the Rome IV criteria from the Rome Foundation: recurrent abdominal pain on average at least one day per week over the last three months, associated with at least two of: bowel movements, a change in stool frequency, or a change in stool form.

The key difference is structural. In celiac disease there is damage that can be seen under the microscope. In IBS, by definition, there is not.

How common is celiac disease?

The NIDDK says experts estimate that about 2 million people in the United States have celiac disease, and that about 1 percent of people worldwide have it. It also notes that many people with the disease have not been diagnosed (NIDDK). Compared with IBS, which affects roughly 4% to 11% of adults depending on the definition, celiac disease is less common, but it is common enough that it is among the first conditions doctors check for. For the IBS numbers, see our guide to IBS statistics.

How often is celiac disease found in people with IBS symptoms?

Studies of people who meet the criteria for IBS consistently find celiac disease more often than in the general population, although the exact figure varies.

  • A 2025 meta-analysis of studies using Rome III or IV IBS found a pooled seroprevalence of celiac antibodies of 6% (95% CI 5% to 8%) and pooled biopsy-proven celiac disease of 2% (95% CI 2% to 3%). A notable 15% of seropositive patients did not go on to have an endoscopy and biopsy (2025 meta-analysis record).
  • An older 2009 meta-analysis of 14 studies reported pooled biopsy-proven celiac disease of 4.1% and antibody positivity of about 1.6% (2009 meta-analysis citation).
  • A single-center study in India found celiac disease in 1.8% of 110 people with diarrhea-predominant IBS (Tropical Gastroenterology).

Taken together, the pooled figures cluster at a few percent. A larger analysis found no increase in the odds of celiac disease in North American studies, so the true rate depends on where and how people are studied. But a few percent of a very large group of people with IBS-type symptoms is a lot of people, and because the test is simple and the consequences of missing the diagnosis are significant, the 2021 American College of Gastroenterology guideline advises serologic testing in people with IBS and diarrhea, using IgA tissue transglutaminase and a quantitative IgA level (ACG guideline).

Symptoms compared

Shared symptoms

  • Bloating and a swollen or full belly
  • Excess gas
  • Abdominal pain
  • Diarrhea or constipation
  • Nausea
  • Fatigue
  • Symptoms that flare after meals

The NIDDK lists digestive symptoms of celiac disease that include swelling or fullness in the belly, excess gas, ongoing diarrhea or difficulty passing stool, lactose intolerance caused by small-intestine damage, oily, bulky, foul-smelling stools, nausea or vomiting and abdominal pain. These are more common in children (NIDDK: symptoms and causes). Almost all of them can occur in IBS.

Why symptoms alone cannot settle it

The NIDDK is clear on this: doctors typically diagnose celiac disease with blood tests and a biopsy of the small intestine, because symptoms alone are not enough, since they overlap with other digestive conditions (NIDDK: diagnosis). That overlap is the whole reason for this article.

Symptoms that point toward celiac disease

Some features make celiac disease more likely than IBS alone. According to the NIDDK, non-digestive symptoms occur in some people and include:

  • An itchy, blistering skin rash (dermatitis herpetiformis), usually on the elbows, knees, buttocks, back or scalp. The NIDDK says it affects about 2 to 3% of children and 10 to 20% of adults with untreated celiac disease.
  • Fatigue
  • Joint or bone pain
  • Depression or anxiety
  • Nervous system problems such as headaches, balance problems, seizures or nerve damage in the limbs
  • Fertility problems: infertility, late or missed periods or repeated miscarriages in women, and infertility in men
  • Mouth problems such as canker sores, dry mouth or a smooth, red, shiny tongue

In children, poor nutrient absorption can cause enamel damage on permanent teeth, delayed puberty, failure to thrive, mood changes or irritability, slowed growth and short height, and weight loss. In adults, signs of poor absorption include unexplained iron deficiency anemia, weight loss, low bone density and oily, bulky stools. A guideline summary lists anemia, unintentional weight loss and a family history of celiac disease among the alarm features that need investigation rather than an IBS label (summary). Our guide to red flag symptoms that are not IBS covers the full list.

Who is more likely to have celiac disease

The NIDDK lists these groups as more likely to develop celiac disease:

  • People with a family member who has the disease
  • People with certain chromosomal disorders, such as Down syndrome, Turner syndrome and Williams syndrome
  • In the U.S., white Americans, who have it more often than other racial or ethnic groups
  • Females, who are diagnosed more often than males

It can affect children and adults in all parts of the world. The NIDDK also notes that doctors in the U.S. do not routinely screen for celiac disease, but blood relatives of people with it and people with type 1 diabetes should discuss their risk with a doctor. If you have a first-degree relative with celiac disease and symptoms that look like IBS, testing is especially worthwhile.

Why you should be tested before going gluten-free

This is the practical heart of the article. Celiac blood tests and biopsies look for the immune reaction and intestinal damage caused by eating gluten. If you stop eating gluten, the antibodies fall and the intestine begins to heal. Testing after that can come back normal even if you have celiac disease.

The NIDDK advises getting tested for celiac disease before going gluten-free and warns that avoiding gluten beforehand can make test results inaccurate (NIDDK: eating, diet and nutrition). The consequences of skipping this step are real:

  • You might never learn that you have celiac disease.
  • You may think a strict diet is optional when, for celiac disease, it is lifelong medical treatment.
  • Relatives who should be screened may not know to be.
  • You may later need to eat gluten again for weeks (a "gluten challenge") to get a reliable test, which can make you very unwell.

If you suspect gluten is the problem, the safest course is to keep eating normal amounts of gluten and ask your doctor for celiac testing first. If you have already cut gluten, see the section below.

How celiac testing works

Testing follows a stepwise path, as described by the NIDDK:

Step 1: Blood tests

Blood tests measure certain antibodies that are often higher than normal in people with untreated celiac disease. They can also reveal related problems such as anemia. The standard first test is IgA tissue transglutaminase antibody (tTG-IgA), done together with a total IgA level. Some people do not make enough IgA, which can make the tTG-IgA test falsely negative, so the total IgA helps interpret the result. (I did not find a source in this research quantifying how often this happens, so I will not give a number.)

Step 2: Small intestine biopsy

If blood tests suggest celiac disease, a doctor takes tissue samples from the small intestine during an upper GI endoscopy, which uses a flexible tube with a camera. A pathologist examines the tissue under a microscope for the characteristic damage.

Step 3: Skin biopsy, if needed

If you have a rash that could be dermatitis herpetiformis, small pieces of skin on and next to the rash are examined under a microscope.

Notice that the 2025 meta-analysis found that 15% of seropositive people with IBS did not go on to have an endoscopy and biopsy. If your antibody test is positive, follow through, because confirming the diagnosis matters before committing to a lifelong diet.

Understanding your results

  • Negative blood tests, while eating gluten, with normal total IgA: celiac disease is unlikely.
  • Positive blood tests: the next step is an endoscopy with biopsies to confirm. Do not start a gluten-free diet until after the biopsy.
  • Positive blood tests and biopsy showing damage: celiac disease is confirmed, and you will be referred for dietitian support.
  • Low total IgA: your doctor will use a different antibody test that does not depend on IgA.
  • Negative on a gluten-free diet: inconclusive. See below.

Genetic testing: what it can and cannot tell you

The NIDDK explains that a blood sample or cheek swab can be checked for the DQ2 and DQ8 gene variants. If you do not have either, you are very unlikely to have celiac disease. Having them does not mean you have it, since most people with these variants do not develop it. The NIDDK states that about 30% of people have one of these variants, but only about 3% of them develop the disease (NIDDK).

Genetic testing is therefore most useful as a way to rule celiac disease out, for example in someone who has already gone gluten-free and does not want to do a gluten challenge. A negative gene test makes celiac disease very unlikely. A positive one is non-specific and does not settle the question. Ask your doctor whether it makes sense in your case.

What if you have already gone gluten-free?

This is a common situation. Many people reading this have already cut gluten and felt better. Your options include:

  1. Talk to your doctor before doing anything else. Tell them you went gluten-free and when.
  2. Consider genetic testing for DQ2 and DQ8. If negative, celiac disease is very unlikely and you can stop worrying about it.
  3. Consider a gluten challenge, in which you eat gluten daily for a period, typically weeks, before repeat testing. This should be done under medical guidance, because symptoms can be unpleasant, and it is not recommended for everyone.
  4. If you decide not to be tested, understand the trade-offs: you will not know whether you have celiac disease, and family members will not know their risk.

Do not feel guilty if you went gluten-free first. It is an understandable mistake, and plenty of people do it. The key is to make an informed decision from here.

Complications of untreated celiac disease

The NIDDK lists these potential complications (NIDDK):

  • Long-term: accelerated osteoporosis or osteomalacia (bone softening), anemia, malnutrition, nervous system problems and reproductive system problems
  • Rare: small intestine adenocarcinoma, liver damage (which may lead to cirrhosis or liver failure) and non-Hodgkin lymphoma
  • Refractory celiac disease: in rare cases, the small intestine stays severely damaged despite a strict gluten-free diet, which may require IV nutrients and specialized treatment

IBS has none of these complications. That difference is the reason guidelines favor testing for celiac disease in people with IBS symptoms.

Treatment: the gluten-free diet

The treatment for celiac disease is a strict, lifelong gluten-free diet. According to the NIDDK:

Foods to avoid

  • Wheat (including durum, emmer, semolina and spelt), barley, rye and triticale
  • Barley-derived ingredients such as malt, malt extract, malt vinegar and brewer's yeast
  • Baked goods, baking mixes, bread, cereal and pasta
  • Beer, ale, lager, flavored liquors and malt beverages
  • Processed foods that may contain gluten-based colorings, flavorings, starches or thickeners, such as candy, condiments, hot dogs, sausages, ice cream, salad dressing and soup

Cross-contact

Gluten can transfer to gluten-free foods during growing, processing, storage, preparation or serving. Store and prepare gluten-free foods separately from foods containing gluten to reduce the risk at home.

Nutrition

  • Naturally gluten-free foods include meat, fish, fruits, vegetables, rice and potatoes, as long as they lack certain additives or seasonings.
  • Flours made from potato, rice, corn, soy, nuts, cassava, amaranth, quinoa, buckwheat or beans are safe.
  • Packaged gluten-free products often cost more and can be higher in fat and sugar.
  • Cutting out gluten without guidance may leave you short on nutrients such as fiber, iron and calcium.

Oats and labels

Most people with celiac disease can eat moderate amounts of oats, but check the amount with your doctor or dietitian and only eat oats labeled gluten-free, because they often pick up gluten through cross-contact. Under FDA rules, foods labeled gluten-free must contain less than 20 parts per million of gluten, though the rule does not cover certain USDA-regulated foods such as most meat and poultry, or most alcoholic beverages.

Work with a dietitian

A registered dietitian can help you read labels, plan balanced meals, eat out safely and find support groups. This is especially valuable if you also have IBS, because the diets can pull in different directions: some gluten-free substitutes are high in fermentable carbohydrates that can trigger IBS symptoms, so a dietitian can help you build a plan that works for both.

Non-celiac gluten sensitivity and wheat allergy

Not everyone who feels better without gluten has celiac disease. Two other situations are worth knowing about:

  • Wheat allergy. A different immune reaction, typically with hives, swelling, breathing problems or other allergic symptoms soon after eating wheat. It is diagnosed by an allergist.
  • Non-celiac gluten or wheat sensitivity. People without celiac disease or wheat allergy sometimes report symptoms after eating wheat-containing foods. Wheat contains fructans, a type of fermentable carbohydrate (a FODMAP), which can trigger IBS symptoms independently of gluten. This is one reason some people with IBS improve on a low-wheat diet, even when they do not have celiac disease. A structured low-FODMAP trial with a dietitian can help find out.

The practical point is that feeling better without wheat does not tell you which of these is responsible, which is another reason to get tested first. Our IBS Recovery Roadmap explains how to run a low-FODMAP trial properly.

Can you have celiac disease and IBS?

Yes. Celiac disease and IBS-type symptoms can occur together, and some people with celiac disease continue to have IBS-type symptoms even after their gut has healed on a gluten-free diet. If symptoms persist despite strict gluten avoidance, your doctor will check for accidental gluten exposure, other conditions such as lactose intolerance, bacterial overgrowth (see our guide to IBS vs. SIBO), microscopic colitis or pancreatic problems, and then consider IBS treatments. I did not find a source in this research giving a prevalence for this overlap, so I will not quote one.

When to see a doctor

Ask for celiac testing, and do not go gluten-free first, if you have:

  • IBS-type symptoms with diarrhea, bloating or abdominal pain
  • A first-degree relative with celiac disease
  • Type 1 diabetes or another autoimmune condition
  • Unexplained iron deficiency anemia, fatigue or weight loss
  • An itchy, blistering rash on the elbows, knees or buttocks
  • Bone loss, mouth sores, headaches, numbness or tingling, or fertility problems with no other cause
  • Growth or puberty delay in a child

See a doctor promptly for blood in the stool, unexplained weight loss, fever, diarrhea that wakes you at night or severe pain. Our guide to IBS vs. IBD covers another condition that is important to rule out.

Related reading

Frequently asked questions

Should I get tested for celiac disease if I have IBS?

Yes, if you have IBS symptoms with diarrhea, bloating or abdominal pain. The American College of Gastroenterology guideline advises celiac blood testing in people with IBS and diarrhea. Studies find celiac disease in a few percent of people with IBS symptoms.

Do I need to eat gluten before a celiac test?

Yes. The NIDDK advises getting tested before going gluten-free, because avoiding gluten beforehand can make test results inaccurate. Talk to your doctor before changing your diet in advance of testing.

What blood test is used to screen for celiac disease?

Usually the IgA tissue transglutaminase antibody (tTG-IgA), together with a total IgA level. A positive result is confirmed with a biopsy of the small intestine.

Can celiac disease be diagnosed without a biopsy?

The NIDDK describes diagnosis as blood tests and a small intestine biopsy in typical cases. Some guidelines allow diagnosis without biopsy in specific situations, particularly in children with very high antibody levels, but ask your doctor what applies to you.

What if I already stopped eating gluten?

Talk to your doctor. Options include genetic testing for DQ2 and DQ8, which can make celiac disease very unlikely if negative, or a supervised gluten challenge before repeat testing.

Can celiac disease cause IBS symptoms?

Yes. Celiac disease can cause bloating, gas, diarrhea, constipation and abdominal pain, which are the same symptoms as IBS. That is why symptoms alone cannot tell them apart.

Is celiac disease the same as gluten sensitivity?

No. Celiac disease is an autoimmune disorder that damages the small intestine. Non-celiac gluten or wheat sensitivity involves symptoms without the same autoimmune damage, and fructans in wheat may play a role in some people with IBS.

Do people with IBS need to avoid gluten?

Not necessarily. Only people with celiac disease or wheat allergy need to avoid gluten strictly. Some people with IBS feel better on a low-FODMAP diet that limits wheat, but that is a short, structured trial rather than a lifelong gluten-free diet.

Sources

Medical note: This article is for education and does not replace advice from your doctor. Do not start a gluten-free diet before celiac testing. If you have blood in your stool, unexplained weight loss, anemia, fever, diarrhea that wakes you at night or severe pain, see a doctor promptly.

bg
get started today

Ready to enjoy life without IBS?

Need assistance?
We’re here to provide support
Get Started
bg-leftright-cta

Reach out to us

hello@ibshope.org