uanome.

Is lactose intolerance genetic?

Genetic guide · Updated June 2026

23andMe & raw DNA

If dairy leaves you bloated, you've probably wondered: is this in my genes? For most adults, a big part of the answer is yes — whether you keep digesting lactose into adulthood comes down to a remarkably well-studied genetic switch. But there's an important gap between what your genes set up and how you actually feel after a glass of milk. Here's how the biology works, the variant that decides most of it, and how to check yours sensibly.

Quick reference: for the genotype-by-genotype breakdown, see lactose tolerance in our gene library.

Lactase, lactose, and why milk needs a special enzyme

Milk contains lactose, a sugar made of two smaller sugars (glucose and galactose) bonded together. Your body can't absorb lactose whole — it has to be split first. The enzyme that does the splitting is lactase, produced by cells lining the small intestine. When lactase does its job, the released sugars are absorbed and used for energy, and you feel nothing at all.

When there isn't enough lactase, undigested lactose travels on into the large intestine, where gut bacteria ferment it. That fermentation produces the familiar symptoms — bloating, gas, cramping, sometimes diarrhoea — and the lactose also draws water into the bowel, adding to the loose-stool effect. So "lactose intolerance" isn't a disease of milk itself — it's simply what happens when lactase can't keep up with the lactose arriving.

The weaning decline: the default in mammals

Here's the part that surprises people: making lots of lactase as an adult is the exception, not the rule. Nearly all mammals produce plenty of lactase as infants — they need it to digest their mother's milk — and then production is naturally dialled down after weaning. There's no evolutionary reason to keep the machinery running once an animal stops drinking milk.

Humans inherited exactly that default. In most people around the world, lactase activity is high in infancy and then gradually declines through childhood, so that by adulthood there's much less of it. That decline is the normal, ancestral human program — often called lactase non-persistence. When lactase falls low enough that ordinary dairy portions cause symptoms, that's primary lactose intolerance. The word "primary" matters: it means the gradual, DNA-linked kind, as opposed to intolerance caused by something else.

The genetic switch: LCT, MCM6, and rs4988235

If the default is to switch lactase off, then the interesting question is why some adults keep it on. This is lactase persistence, and it's one of the best-understood stories in human genetics.

The lactase enzyme is encoded by the LCT gene. But the instruction that decides whether LCT stays switched on into adulthood doesn't sit inside LCT itself — it sits nearby, in a regulatory region that overlaps the neighbouring MCM6 gene. In people of European ancestry, the key variant is rs4988235, also written as the -13910 C/T variant.

Because persistence is dominant in effect, carrying even one T allele is generally enough to keep lactase active. This is why it behaves almost like a single-variant trait — the genotype lines up unusually neatly with the biology, which is what makes it a favourite example in consumer genetics. It sits alongside the ALDH2 alcohol-flush variant, another single-marker trait where the genotype maps cleanly onto how your body reacts.

One nuance worth stating clearly: rs4988235 is the persistence variant for European-ancestry populations. Lactase persistence evolved more than once. Several other, independent regulatory variants in the same MCM6 region drive persistence in various African and Middle Eastern populations. Consumer raw-data files typically report rs4988235 well, but they may not capture those other variants — so a "CC" result at rs4988235 in someone with non-European ancestry doesn't automatically mean non-persistence.

Why it varies so much by ancestry

Lactase persistence is a textbook case of recent human adaptation. In populations that took up dairying — herding animals and drinking their milk — being able to digest lactose as an adult was a genuine advantage: an extra source of calories, protein, and (in some settings) relatively clean fluid. Over generations, persistence variants became far more common in those groups.

That history is written into today's map. Persistence is common in Northern Europeans and in some African and Middle Eastern pastoralist groups (through their own separate variants), and much rarer in East Asian populations, where non-persistence is simply the default. None of this is "abnormal" in either direction — it's just which ancestral diet a given lineage's genes are tuned for. Globally, non-persistence is actually the normal adult human condition.

Genotype predicts capacity, not symptoms

This is the single most important caveat, and it's easy to miss. Your genotype tells you about your capacity to produce lactase — it does not, by itself, tell you how you'll feel after dairy. "Lactase non-persistence" (a genotype) and "lactose intolerance" (a set of symptoms) overlap, but they aren't the same thing.

Several factors sit between the gene and the gut feeling:

So the genotype is a useful clue to your tendency, not a verdict on your daily experience. The most reliable read on your personal tolerance is still how you actually feel — ideally confirmed with a clinician rather than inferred from a single letter in a data file.

Primary vs secondary: not all lactose intolerance is genetic

The gene explains primary lactose intolerance — the gradual, lifelong kind. But there's also secondary lactose intolerance, caused by temporary damage to the small-intestine lining that reduces lactase production for a while. Causes include a bout of gastroenteritis, coeliac disease, or other conditions that inflame the gut. Secondary intolerance is not genetic and often resolves once the underlying problem heals and the lining recovers.

That cuts both ways. A "tolerant" genotype doesn't protect you from a temporary flare while your gut is inflamed; and a period of dairy trouble that clears up after a stomach bug points to the secondary kind, not your DNA. If dairy problems appear suddenly or come with other symptoms, that's a reason to see a clinician — coeliac disease in particular is a distinct, autoimmune condition worth ruling out, and you can read about its own genetic risk markers in our guide to coeliac disease and the HLA-DQ genes.

There's also a very rare, separate condition called congenital lactase deficiency, where a baby is born essentially unable to produce lactase. It's caused by different mutations in the LCT gene and is not what rs4988235 is about — mentioned here only so the categories are clear.

Intolerance is not the same as a milk allergy

This distinction genuinely matters, because the two are often confused and one of them can be dangerous. Lactose intolerance is a digestive problem — a shortage of lactase — and its symptoms are gut-based: bloating, gas, cramps, diarrhoea. It's uncomfortable, not an emergency.

A milk allergy is something else entirely: an immune reaction to the proteins in milk (not the sugar). It can cause hives, swelling, vomiting, breathing difficulty, and in severe cases anaphylaxis. It's more common in young children and is a medical matter that a clinician diagnoses and manages. Your lactose genotype tells you nothing about milk allergy — different mechanism, different molecule, different risks. If you suspect an allergy rather than an intolerance, that's a conversation to have with a doctor, not a question for your raw data.

How to check your lactose gene

  1. Download your raw data (or from AncestryDNA / MyHeritage).
  2. Search it for rs4988235 and read your genotype — a T points toward lactase persistence, CC toward non-persistence.
  3. Or use our free DNA explorer — it checks this marker in your browser, nothing uploaded.

One technical caveat: strand orientation varies between files, so the letters may appear as A/G instead of T/C — good tools handle that automatically. And remember the ancestry point above: if your background isn't European, rs4988235 alone may not tell the whole story.

Testing your tolerance sensibly (without over-reading the data)

If your genotype suggests non-persistence, or you just want to understand your own tolerance, a few practical approaches beat guessing from a SNP:

The point of the genotype is orientation, not prescription. It can explain why you tend to react — but what you do about dairy is best guided by how your body actually responds.

Why raw data isn't a diagnosis

Reading rs4988235 tells you about a well-established piece of biology — your likely capacity to keep producing lactase. That's genuinely informative, but it is not a medical diagnosis of lactose intolerance. Diagnosis is about symptoms, and symptoms depend on dose, gut health, microbiome, and conditions that mimic the same picture. A single letter in a data file can't weigh all of that — that's the job of a clinician and, where useful, a hydrogen breath test.

The bottom line

Primary lactose intolerance is, to a large degree, genetic — and it comes down to a regulatory variant near LCT (rs4988235 in European-ancestry people), one of the clearest examples of recent human adaptation to a dairying diet. But genotype predicts your capacity to digest lactose, not your symptoms exactly: dose, gut health, microbiome, the secondary (non-genetic) kind, and entirely separate issues like milk allergy all shape how you actually feel. Knowing your genotype explains the tendency, not the whole story. For everything else hiding in your file, see our guide to analyzing 23andMe raw data, or browse the rest of the Quanome blog.

Check your lactose gene — and the rest — privately

Quanome reads your raw DNA on your device, so you can look up markers like the lactose variant without uploading your genome. Learn more about Quanome →

Try the iOS beta →

Frequently asked questions

Is lactose intolerance genetic?

Largely, yes — the most common ('primary') form is shaped by a regulatory variant near the LCT gene (rs4988235 in European-ancestry people) that controls whether you keep producing lactase into adulthood. But your genotype predicts your capacity to digest lactose, not your symptoms exactly. 'Secondary' lactose intolerance, caused by temporary gut damage, isn't genetic at all.

Which gene causes lactose intolerance?

The lactase enzyme is made by the LCT gene, but the on/off switch sits in the neighbouring MCM6 gene — chiefly rs4988235 (also called -13910 C/T) in European-ancestry populations. A T allele keeps lactase active (lactase persistence); two C alleles are linked to lactase declining after childhood (non-persistence). Other independent variants drive persistence in some African and Middle Eastern populations.

Is lactose intolerance the same as a milk allergy?

No — they're completely different. Lactose intolerance is a digestive issue: not enough lactase to break down milk sugar, causing bloating, gas and diarrhoea. A milk allergy is an immune reaction to milk proteins and can be serious, even life-threatening. Genotype tells you about lactase, not allergy. A clinician evaluates suspected allergy separately.

How do I check my lactose-intolerance gene in raw DNA?

Search your 23andMe or AncestryDNA raw file for rs4988235 and read your genotype, or use a tool that looks it up. Carrying a T allele is associated with lactase persistence; CC is associated with non-persistence. Remember this reflects capacity to digest lactose, not a diagnosis of symptoms.

Does a 'non-persistent' genotype mean I have to avoid dairy?

Not necessarily. Many people with a non-persistence genotype tolerate small amounts of lactose, especially in fermented or aged dairy, and symptoms depend on dose and gut microbiome. The most reliable way to know your personal tolerance is to notice how you actually feel, and to confirm symptomatic intolerance with a clinician if needed.

Can my genotype be 'tolerant' but I still react to dairy?

Yes. Reactions to dairy can come from other causes — other food intolerances, IBS, a milk-protein allergy, or a temporary (secondary) lactase drop after a gut illness. A tolerant genotype doesn't rule these out, which is why symptoms should be interpreted by a clinician, not by a single SNP.

How is symptomatic lactose intolerance actually diagnosed?

Clinically, not from raw DNA. A hydrogen breath test after a lactose dose is a common method, sometimes alongside a supervised elimination-and-reintroduction approach. Genotyping can support the picture but doesn't confirm symptoms. A clinician puts it together.

Why is lactose tolerance more common in some populations?

Lactase persistence spread in populations with a long history of dairying — one of the clearest examples of recent human adaptation. It's common in Northern Europeans and, via separate variants, in some African and Middle Eastern pastoralist groups, and much rarer in East Asian populations, where non-persistence is the norm. None of it is abnormal.

The Quanome iOS beta is live

Make sense of your DNA and health data privately — try Quanome free on TestFlight now (Android coming later).

Try the iOS beta →

Free TestFlight beta for iPhone. Not on iOS? Leave your email and we'll keep you posted (and ping you when Android lands).