Gone gluten-free without testing: what an HLA gene test can settle

Short answer

Antibody blood tests and the intestinal biopsy need gluten in the diet, so after going gluten-free they can give falsely negative results1, 2. An HLA-DQ2/DQ8 gene test does not depend on gluten intake3, and a negative makes celiac disease highly unlikely4. A positive does not diagnose it; Coeliac Australia says a gluten challenge followed by testing is still required5.

Published by Gluten Verdict · updated · 14 sources, each linked below

Reviewed by Mark Peter, Registered dietitian (RD), on

Kitchen table with a small mail-in kit box, a padded mailer and a mug

Key points

  • NIDDK says a gluten-free diet can affect celiac test results, which is why doctors do not recommend starting it before testing1.
  • Coeliac Australia and the 2014 BSG guideline both describe HLA typing as an option for people already on a gluten-free diet3, 6.
  • A negative HLA result makes celiac disease highly unlikely; a positive result is not diagnostic4, 7.
  • Sources state the gluten challenge differently: the 2014 BSG guideline cites a study recommending 14 days at 3 g or more a day, while Coeliac UK and Coeliac Australia both say at least six weeks8, 9, 10.
  • Feeling better on a gluten-free diet is not a test result; symptoms on reintroduction have limited specificity11, 12.

Why antibody tests and biopsy need gluten in the diet

NIDDK says doctors typically diagnose celiac disease with blood tests and biopsies of the small intestine43, and that they do not recommend starting a gluten-free diet before diagnostic testing because the diet can affect test results1. Coeliac Australia puts it more bluntly: starting a gluten-free diet before testing can cause falsely negative and unreliable results2.

The British Society of Gastroenterology (BSG) guideline of 2014 says the diagnosis requires a duodenal biopsy while the patient is on a gluten-containing diet13. The Celiac Disease Foundation adds that someone already on a gluten-free diet would need to reintroduce gluten for several weeks before the blood test14, and it states that an intestinal biopsy is the only way to confirm the diagnosis15.

Our guides on the celiac blood test and the gluten challenge cover those two steps in more detail. This page is about the one test that these sources treat differently: the gene test.

What an HLA gene test can settle when you are already gluten-free

HLA-DQ2 and DQ8 are two groups of gene variants16. NIDDK says celiac disease almost always occurs in people who have one of them, and that people without them are very unlikely to develop it16. (How the test works, and which variants it covers, is in our guide to celiac genetic testing.)

Coeliac Australia says the HLA gene test can be useful in people who have already started a gluten-free diet, because the gene result is not dependent on gluten intake3. The Canadian Celiac Association’s blood-testing handout makes the same contrast: for the tTG and EMA blood tests one must be eating gluten daily, while for the genetic tests it does not matter17.

Other sources describe the same use. The 2014 BSG guideline says HLA typing may be used in people who treated themselves with a gluten-free diet and never had appropriate testing before changing their diet6. A 2025 review says people on a gluten-free diet in whom celiac disease was never excluded may be offered HLA testing, and that a negative result allows celiac disease to be excluded as the cause of their gastrointestinal symptoms18. Coeliac UK’s page for health professionals describes the same person: someone whose symptoms improved on a gluten-free diet, who is asked to reintroduce gluten but cannot tolerate it, or starts a challenge and, because of clinical suspicion, has HLA typing done by the medical team19.

If the result is negative

Coeliac Australia says a negative result makes celiac disease highly unlikely to be present4. Coeliac UK says 99.6% of patients with coeliac disease carry DQ2.5, DQ8 or DQ2.220, that there are very rare patients with none of the three, and that being negative would be very reassuring although never a guarantee21. The BSG guideline says HLA typing should be used to rule out celiac disease7.

If the result is positive

NIDDK says having DQ2 or DQ8 alone does not mean you have celiac disease, and that most people with these gene variants do not develop it22. It reports that about 30 percent of people have DQ2 or DQ8 and about 3 percent of those develop celiac disease23. Coeliac Australia describes the genes as present in almost half the community, so their presence is not sufficient to diagnose it4. NIDDK and Coeliac Australia give different shares for how common the variants are (about 30 percent against almost half the community); each of them says a positive result alone does not diagnose celiac disease.

What comes next differs by source. NIDDK says a doctor may recommend additional tests to check for or rule out celiac disease24. Coeliac Australia says a positive result is not diagnostic and a gluten challenge followed by testing will still be required5. For a patient with suspected celiac disease who is not responding to a gluten-free diet, Coeliac UK says a positive result does not diagnose it and is not very helpful, because so many people in the general population are DQ positive without having celiac disease25. The 2025 review says the test has value only when negative26.

Coeliac Australia’s page states that a gluten-free diet should only be started after medical confirmation of celiac disease and never based on a positive gene test alone27.

What a gluten challenge involves, according to each source

Coeliac Australia says there is limited consensus on how much gluten is needed and for how long28, and the sources below do differ. The table reports what each one states; it is not a plan for any one person. Coeliac Australia and Coeliac UK both say the dose or the plan should be discussed with a doctor29, 30.

How published sources state a gluten challenge
SourceGluten amount and length it statesWhat else it says
Coeliac UK, page headed “BSG guideline on adult coeliac disease: the highlights”At least 3 g, preferably 6 g of gluten every day for a minimum of 6 weeks9Endoscopy and biopsy is the preferred route after the 6 weeks, as antibody production can be slow31
Coeliac AustraliaGluten resumed for at least six weeks before testing10Says it is reasonable to aim for 10 grams of gluten daily29
BSG guideline, 2014 (Gut)A 14-day intake at 3 g of gluten a day or more, as recommended by a study it cites8Can be prolonged to 8 weeks if serology remains negative at 2 weeks32
Singh et al., 2023 review (children)A minimum of 3–6 grams of gluten per day for 12 weeks33A review about pediatric patients, not adults

Coeliac Australia gives this example of how much responses differ: it says 3 grams of gluten daily for 2 weeks causes diagnostic changes in the small intestine or positive antibodies in under half of the people with celiac disease34.

On how it feels, Coeliac Australia says initial symptoms may be substantial but often reduce in severity within days, and that starting with a low dose and increasing slowly over several days may improve tolerability35, 36. Coeliac UK says it is recommended to check the HLA genes before gluten is reintroduced37.

Why feeling better on a gluten-free diet is not a test result

The Celiac Disease Foundation says the biopsy is the gold standard partly because it can show whether symptoms that improve on a gluten-free diet reflect a placebo effect, or a different disorder that responds to a diet change11. A pediatric review adds that symptoms on gluten reintroduction have limited specificity and do not equate to a diagnosis12.

The Gluten Intolerance Group notes why this is a trap: once someone feels better gluten-free they are often reluctant to reintroduce gluten, so the screening tests may not give meaningful results38. It also says the gene test does not shed any light on non-celiac gluten sensitivity39. For how the two differ, see celiac disease vs gluten intolerance.

If a gluten challenge is not possible

Coeliac UK’s guidance for health professionals says that when people who have excluded gluten cannot reintroduce it before testing, they should be referred to a gastroenterologist and told it may be difficult to confirm their diagnosis40.

For children, Coeliac Australia says a challenge is discouraged under age 5 and during the pubertal growth spurt because of potential effects on growth41. The 2023 pediatric review lists known anaphylactic response to gluten, severe neurological manifestations and debilitating symptoms as contraindications42. Our guide on a child who tests positive for the celiac gene covers the parent’s side.

Consumer DNA kits are a separate question; see 23andMe vs clinical HLA typing.

Questions to bring to an appointment

  • Was any celiac antibody test or biopsy done before I stopped gluten, and what did it show?
  • Would an HLA-DQ2/DQ8 test be offered, and which variants does the lab report?
  • If it is negative, what does that mean for my symptoms, and what else should be looked at?
  • If it is positive, what would a gluten challenge look like in my case, and who would supervise it?
  • If I cannot do a challenge, what are the alternatives, and what would stay uncertain?

Questions people ask

Can I take an HLA test while I am gluten-free?

Coeliac Australia says the HLA gene test can be useful in people who have already started a gluten-free diet, because the gene result is not dependent on gluten intake3.

Does a negative HLA test rule out celiac disease?

Coeliac Australia says a negative result makes celiac disease highly unlikely4. Coeliac UK says being negative would be very reassuring, although never a guarantee21.

Does a positive HLA test mean I have celiac disease?

No. NIDDK says having DQ2 or DQ8 alone does not mean you have celiac disease22.

Can an antibody test still work if I have been gluten-free?

Coeliac UK says you may need to complete a gluten challenge before accurate testing can be done30.

More in Celiac genetics and family risk

Sources