Celiac genes

Celiac genes: HLA-DQ2 and HLA-DQ8, and what your result means

Celiac disease is an immune reaction to gluten that damages the small intestine. It has an unusually clear genetic gate: it almost never develops in people who lack two particular immune gene types, HLA-DQ2 and HLA-DQ8. That makes the gene test very good at one thing, ruling celiac disease out, and poor at another, confirming it. If you have raw data from 23andMe, AncestryDNA or MyHeritage, your HLA-DQ type can be read from it.

By the NutraHacker Research Team ยท Updated December 6, 2026

What the HLA-DQ genes do

HLA genes make the proteins that immune cells use to display fragments of food, microbes and the body's own tissue to the rest of the immune system. HLA-DQ is one such protein, built from two parts made by the genes HLA-DQA1 and HLA-DQB1. The DQ2 and DQ8 versions happen to grip fragments of gluten especially well and present them as if they were a threat. In some carriers that sets off the immune attack on the gut lining.

The types

TypeHow common in celiac diseaseNotes
HLA-DQ2.5Found in about 90 percent of people with celiac diseaseThe main risk type. Two copies carry a higher risk than one
HLA-DQ8Most of the remainderA lower risk than DQ2.5
HLA-DQ2.2Uncommon without another risk typeLow risk alone. Together with DQ7 it can form the same protein as DQ2.5
HLA-DQ7, HLA-DQ4Not risk types in themselvesMatter mainly in combination, as above

What a result means

Risk is higher if a parent, sibling or child has celiac disease, and with two copies of DQ2.5.

How to check your celiac genes

  1. Download your raw data file: 23andMe, AncestryDNA, MyHeritage.
  2. Unzip it and upload the .txt or .csv file. It takes about 3 minutes, and a Detoxification and Methylation Report is free.
  3. Add the Celiac Report ($20 one time).

The Celiac Report works out your HLA-DQ type (DQ2.2, DQ2.5, DQ4, DQ7 and DQ8) from marker SNPs in your file, and shows the percentage of people with your type who were found to have antibodies against gluten in published research. You can try the live demo first; no login is needed.

How celiac disease is diagnosed

Not by genes. Diagnosis rests on a blood test for antibodies (usually tissue transglutaminase IgA) and, in most adults, a biopsy of the small intestine. Both need you to be eating gluten at the time; going gluten-free beforehand can make them falsely normal. If you have symptoms such as long-standing diarrhoea, bloating, unexplained anaemia or weight loss, see a doctor before changing your diet.

What the genes cannot tell you

Related guides: lactose intolerance genetics, histamine intolerance genes and raw DNA analysis.

Frequently asked questions

Is celiac disease genetic?

Yes, in the sense that it almost never develops without certain versions of the HLA-DQ genes. About 95 percent of people with celiac disease carry HLA-DQ2 and most of the rest carry HLA-DQ8. The genes are necessary but not sufficient: most carriers never develop the disease.

What does a positive celiac gene test mean?

That you carry HLA-DQ2 or HLA-DQ8, as about a third of people do. Only a few percent of carriers develop celiac disease, so a positive result does not mean you have it.

What does a negative celiac gene test mean?

That celiac disease is very unlikely, now and in the future. This is the main use of the gene test: ruling the disease out.

Can I check celiac genes from 23andMe or AncestryDNA raw data?

Yes. The HLA-DQ types can be worked out from marker SNPs in the raw data file. NutraHacker's Celiac Report does this and shows your HLA-DQ type.

Do I need to eat gluten for a celiac gene test?

No. Your genes do not change with diet. The blood test and biopsy that diagnose celiac disease do require you to be eating gluten, so do not go gluten-free before those tests.

Does gluten sensitivity without celiac disease show in these genes?

No. Non-celiac gluten sensitivity is not tied to HLA-DQ2 or HLA-DQ8 in the same way, and there is no genetic test for it.

This page is for education and is not medical advice. HLA typing from marker SNPs follows Monsuur et al., PLoS One 2008. Frequencies are from Sollid and Lie, Clinical Gastroenterology and Hepatology 2005.