How Can You Get Celiac Disease: Causes and Risks

Celiac disease develops when three things converge: specific genes you’re born with, eating gluten, and a trigger that flips your immune system into attacking your own intestinal lining. You can’t “catch” it, and eating gluten alone won’t cause it. But you also can’t develop it without gluten in your diet. It’s this combination of genetics, exposure, and timing that makes celiac disease unusual among autoimmune conditions.

Genetics: The Required Starting Point

Every person with celiac disease carries one of two gene variants called HLA-DQ2 or HLA-DQ8. Over 90% of celiac patients carry DQ2, while the rest carry DQ8. Without one of these variants, celiac disease simply doesn’t happen.

Here’s the catch: 30 to 40% of the general population carries one of these gene variants, yet only about 3% of carriers ever develop celiac disease. So the genes are necessary but nowhere near enough on their own. Other genetic factors likely play a role too, though researchers haven’t fully mapped them yet. If you have a first-degree relative with celiac disease (a parent, sibling, or child), your risk jumps to about 1 in 10.

What Gluten Does Inside the Gut

Gluten is a protein found in wheat, barley, and rye. The human digestive system does a poor job of fully breaking it down, leaving large protein fragments intact in the small intestine. In most people, these fragments pass through without issue. In someone with the right genetic background, they set off a chain reaction.

Those protein fragments slip through the intestinal lining, often during moments when the gut barrier is compromised (from an infection, for example). Once inside, an enzyme called tissue transglutaminase modifies the gluten fragments, making them more visible and more provocative to the immune system. In people carrying DQ2 or DQ8 genes, the immune system recognizes these modified fragments as threats and launches an inflammatory attack.

This attack damages the villi, the tiny finger-like projections that line your small intestine and absorb nutrients from food. Over time, the villi flatten and shrink, a process called villous atrophy. That’s when symptoms like nutrient deficiencies, digestive problems, fatigue, and weight loss start to appear. The damage is real and cumulative as long as gluten remains in the diet.

Viral Infections as a Hidden Trigger

One of the more surprising discoveries in celiac research is that a common, otherwise harmless virus may be the thing that actually activates the disease. Research from the University of Chicago and the University of Pittsburgh found that infection with reovirus, a virus most people encounter without even knowing it, can trigger the immune system to lose its tolerance for gluten.

In the study, celiac patients had significantly higher levels of antibodies against reoviruses compared to people without the disease. Those patients also showed elevated activity of a gene called IRF1, which plays a key role in the immune system’s decision to treat gluten as dangerous. The researchers concluded that a reovirus infection can leave a permanent mark on the immune system, essentially setting the stage for celiac disease to develop later.

This is especially relevant for infants. During the first year of life, when the immune system is still maturing, a child who is genetically predisposed and encounters this virus around the same time they first eat gluten may be at the highest risk. As one of the researchers put it, getting a particular virus at that age “can leave a kind of scar that then has long term consequences.”

Gut Bacteria and Early Imbalances

The community of bacteria living in your intestines also appears to influence whether celiac disease develops. Research published in the Proceedings of the National Academy of Sciences found that children who later developed celiac disease already showed distinct bacterial imbalances before the disease appeared. Their guts had more inflammatory bacteria and fewer of the beneficial species that produce butyrate, a compound that helps maintain the intestinal lining and calm inflammation.

Specifically, bacteria like Bifidobacteria and Faecalibacterium prausnitzii, both known for anti-inflammatory effects, were reduced in these children. Lower levels of Bifidobacteria have been identified as a contributing factor in inflammatory diseases in infants, including celiac disease. Whether this bacterial imbalance is a cause or an early consequence of the immune process is still being worked out, but it’s clear that gut health plays a role in the timeline of disease development.

Triggers That Activate It Later in Life

Celiac disease isn’t just a childhood condition. Many people are diagnosed in their 30s, 40s, or even later, sometimes after eating gluten without problems for decades. Something changes to flip the switch. Known triggers in adults include viral infections, major physical or emotional stress, surgery, pregnancy, and significant shifts in gut bacteria.

This is why some people describe developing celiac “out of nowhere” after a stressful period or a serious illness. The genetic susceptibility was always there, but the immune system needed an additional push to start reacting to gluten. Once that reaction begins, it doesn’t reverse on its own. The only effective treatment is a strict gluten-free diet for life.

Other Autoimmune Conditions Raise Your Risk

Celiac disease clusters with other autoimmune conditions. If you have type 1 diabetes or autoimmune thyroid disease, your risk of also having celiac disease is substantially higher than the general population. The overlap is well established, and many doctors now screen for celiac disease in patients with these conditions even when digestive symptoms aren’t present.

How Celiac Disease Is Confirmed

If you suspect you have celiac disease, testing needs to happen while you’re still eating gluten. Going gluten-free before testing can cause false negatives on both blood tests and biopsies.

The standard first step is a blood test measuring antibodies to tissue transglutaminase (tTG-IgA), which has a sensitivity between 78% and 100%. If that comes back positive, the next step is typically an upper endoscopy with biopsies taken from the small intestine to look for the characteristic villous damage. A second antibody test (EMA-IgA), with specificity as high as 100%, can help make the diagnosis more certain. In some cases, particularly with children, a biopsy may not be required if the initial antibody levels are extremely high, at more than 10 times the normal threshold, and confirmed by a second blood sample.

What About Infant Feeding and Prevention?

Parents with celiac disease often wonder whether they can protect their children through the timing of gluten introduction. Current guidelines from ESPGHAN, the leading European pediatric gastroenterology organization, state that gluten can be introduced between 4 and 12 months of age and that the timing within that window does not appear to change the overall risk of developing celiac disease.

Breastfeeding during the period of gluten introduction was once thought to be protective, but the evidence doesn’t support that as a prevention strategy. The one practical suggestion from current guidelines: avoid giving large amounts of gluten during the first weeks after introducing it. Beyond that, there is no established way to prevent celiac disease in a genetically susceptible child. The genes and the triggers are largely outside a parent’s control.