Celiac disease happens when your immune system attacks your small intestine in response to gluten, a protein found in wheat, barley, and rye

The disease is not an allergy or a choice. Your body's immune system mistakenly identifies gluten as a threat and damages the lining of your small intestine, which prevents you from absorbing nutrients properly. This damage can happen even if you have no obvious symptoms. The trigger is gluten; the underlying cause is how your immune system is wired.

Not everyone who eats gluten develops celiac disease, even if they eat it regularly for years. The difference lies in two things: your genes and whether your immune system has been primed to react. You cannot develop celiac disease without carrying specific genetic markers, but carrying those markers does not may provide you will develop the disease.

Key Takeaways

  • Celiac disease requires both a genetic predisposition and an immune system trigger; genes alone do not cause the disease.
  • Two specific genes, HLA-DQ2 and HLA-DQ8, are present in nearly all celiac patients, but 30 to 40 percent of the general population carries these genes without developing the disease.
  • Environmental factors—infection, stress, pregnancy, surgery, or a major illness—may activate celiac disease in people who carry the genes.
  • Once triggered, celiac disease is permanent; the only treatment is a strict gluten-free diet for life.

The genetic foundation: HLA genes you inherit from your parents

Celiac disease runs in families because it depends on inheriting specific genes. The two main genes involved are called HLA-DQ2 and HLA-DQ8. These genes code for proteins on the surface of your immune cells that present gluten fragments to your immune system in a way that triggers an attack.

If neither of your parents carries HLA-DQ2 or HLA-DQ8, you will not develop celiac disease, no matter how much gluten you eat. If one or both parents carry these genes, you have a chance of inheriting them. The inheritance pattern is straightforward Mendelian genetics—you get one copy of each gene from each parent.

The catch is that these genes are common. Between 30 and 40 percent of people in the United States carry HLA-DQ2 or HLA-DQ8, but only about 1 percent of the population has celiac disease. This means most people with the genetic markers never develop the disease. Something else has to happen to turn the genetic risk into actual disease.

Environmental triggers that activate the disease

Having the genes is necessary but not sufficient. Celiac disease appears to require a triggering event—something that primes your immune system to react to gluten. Researchers have identified several events that seem to precede celiac diagnosis, though the exact mechanism is not fully understood.

Infections are the most commonly cited trigger. A viral or bacterial infection of your gut can damage the intestinal lining and change how your immune system responds to gluten. Rotavirus, reovirus, and adenovirus have been studied as potential triggers. The infection itself may pass, but the immune change it causes can persist.

Pregnancy and childbirth can activate celiac disease in women who carry the genes. The hormonal and immune changes during pregnancy, and the stress of delivery, may shift how your immune system tolerates gluten. Some women develop symptoms during pregnancy or shortly after.

Major surgery, severe stress, or serious illness can also precede celiac onset. Any event that significantly stresses your body or disrupts your gut bacteria may trigger the disease in genetically susceptible people. The timing is not always obvious—symptoms may appear weeks or months after the triggering event.

How gluten damages the intestine once the disease is triggered

Once your immune system has been primed, eating gluten sets off a cascade of inflammation. Gluten is a large protein that your digestive system breaks down into smaller fragments. In people with celiac disease, these fragments are presented to immune cells in a way that looks like a foreign invader.

Your immune system produces antibodies and activates T cells that attack the lining of your small intestine. This damages the villi—tiny finger-like projections that absorb nutrients—and flattens the intestinal surface. The damage reduces your ability to absorb iron, calcium, B vitamins, fat, and other nutrients, which can lead to anemia, bone loss, and malnutrition over time.

The damage is proportional to gluten exposure. Eating a large amount of gluten causes more inflammation than eating a small amount. Some people develop symptoms quickly; others have silent damage for years before symptoms appear. The intestine can heal completely if you stop eating gluten, but healing takes time—usually several months to a year or more.

Why some family members develop celiac disease and others do not

If you have celiac disease, your siblings and parents have a higher risk than the general population. First-degree relatives—parents, siblings, and children—have about a 1 in 10 chance of developing the disease, compared to 1 in 100 for the general population. But that still means 9 out of 10 relatives will not develop it.

The difference comes down to which triggering events each person experiences. Two siblings may both inherit HLA-DQ2, but only one may have had a severe viral infection at the right developmental stage, or only one may have experienced the hormonal changes of pregnancy. Environmental exposure is individual and unpredictable.

This is why celiac disease can skip generations or appear in one sibling but not another, even in the same household. Shared genes are necessary; shared environment is not sufficient.

What celiac disease is not: common misconceptions about its cause

Celiac disease is not caused by eating too much bread or by a recent change in wheat varieties, though both are common theories. The disease requires the specific genetic markers and a triggering event. You cannot develop it from lifestyle choices alone.

It is also not an allergy. Allergies involve a different part of the immune system (IgE antibodies) and can cause immediate reactions like swelling or anaphylaxis. Celiac disease involves a different immune pathway (T cells and IgA antibodies) and causes delayed inflammation that damages tissue over time. The two conditions are separate, though a person can have both.

Celiac disease is also not caused by gluten sensitivity or intolerance in the way those terms are sometimes used. Non-celiac gluten sensitivity is a real condition, but it is not the same disease. It does not involve the HLA genes or the same immune attack on the intestine.

Frequently Asked Questions

If I have the HLA-DQ2 or HLA-DQ8 gene, will I definitely get celiac disease?

No. These genes are necessary but not sufficient. You need both the genes and a triggering event. Since 30 to 40 percent of people carry these genes and only 1 percent have celiac disease, most gene carriers never develop the disease. You may carry the genes your whole life without ever being triggered.

Can celiac disease develop at any age?

Yes. Most cases are diagnosed in childhood, but celiac disease can first appear in adolescence, adulthood, or even in older age. A triggering event can activate the disease at any point in life, even if you have eaten gluten without problems for decades.

If my parent has celiac disease, what are my chances of getting it?

You have roughly a 1 in 10 chance if you inherited the HLA genes from that parent. That is higher than the general population risk of 1 in 100, but it still means most children of celiac patients do not develop the disease. Genetic testing can tell you whether you carry the genes, but not whether you will ever develop symptoms.

Can stress or anxiety cause celiac disease?

Stress alone cannot cause celiac disease, but severe or prolonged stress may trigger it in someone who carries the genes. Stress affects your immune system and gut bacteria, which could activate the disease in a genetically susceptible person. The stress is a trigger, not the root cause.

Is celiac disease hereditary?

Yes, it runs in families because the HLA genes are inherited. But hereditary does not mean inevitable. Having a family history means you have a higher risk, but you may never develop symptoms. If you have a family member with celiac disease, you can ask your doctor about genetic testing to learn whether you carry the genes.