Woman at kitchen table, uncomfortable after drinking milk, touching her stomach.

Stomach Upset After Dairy? Lactose Intolerance and Your Genes

Guide · Updated November 2026 · Reading time: about 9 minutes

If you get bloating, gas, cramps or loose stools within a few hours of milk, ice cream or a creamy latte, the most common reason is lactose intolerance: your small intestine makes less lactase, the enzyme that breaks down milk sugar. For most adults this is not a disease that suddenly appeared. It is a normal, largely genetic pattern, and about 65% of people have a reduced ability to digest lactose after infancy.1 The good news is that most people can still enjoy some dairy once they understand their own tolerance.

This guide explains why stomach upset after dairy happens, what else can cause it, how doctors confirm it, and how knowing your genes may help you understand and personalise your approach.

What this guide covers

Why dairy upsets your stomach

Milk contains a natural sugar called lactose. To absorb it, your small intestine needs the enzyme lactase, which splits lactose into two simpler sugars, glucose and galactose, that your body can take in.2

When lactase levels are low, some lactose passes undigested into the large intestine. There, gut bacteria ferment it. That fermentation produces gas and draws water into the bowel, which is why the classic result is bloating, rumbling, cramping and diarrhea.

Nearly all babies make plenty of lactase, because milk is their main food. In most people, lactase production gradually falls after infancy. The U.S. National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) calls this lactase nonpersistence, or primary lactase deficiency, and describes it as the most common cause of low lactase levels. Because the decline is gradual, symptoms may first show up in later childhood, the teen years or early adulthood.3

Common symptoms and timing

Symptoms of adult lactose intolerance typically begin 30 minutes to 2 hours after eating or drinking dairy that contains lactose.1 According to NIDDK, they can include:3

  • Bloating and a feeling of fullness
  • Gas
  • Abdominal pain or cramps
  • Stomach rumbling
  • Diarrhea or loose stools
  • Nausea, and sometimes vomiting

How strong the symptoms are depends largely on how much lactose you have at once.3 A splash of milk in coffee may be fine, while a large milkshake on an empty stomach may not be.

Important: wheezing or trouble breathing after dairy is not typical of lactose intolerance. It can be a sign of a milk allergy, which is an immune reaction and can be serious (more on this below). Seek medical care right away for breathing problems.

The genes behind lactose intolerance

Two neighboring genes on chromosome 2 matter most. The LCT gene holds the instructions for making lactase. A regulatory region inside the nearby MCM6 gene helps control how much LCT is switched on. Inherited changes in this regulatory region can keep lactase production going into adulthood, a trait called lactase persistence.1

A landmark 2002 study in Finnish families identified a DNA variant known as C/T-13910, located roughly 14 kb upstream of LCT, that was strongly associated with whether adults kept or lost lactase activity.2 Later research in East Africa found different variants near the same spot (for example G/C-14010) that are also linked to lactase persistence. Those variants arose separately from the European one, a striking example of populations that herded animals and drank milk evolving the same ability in different ways.4

This is why lactose intolerance is so common worldwide, and why rates vary so much by ancestry. MedlinePlus Genetics reports that lactase nonpersistence affects 70 to 100 percent of people of East Asian descent and is very common in people of West African, Arab, Jewish, Greek and Italian descent, while only about 5 percent of people of Northern European descent are lactase nonpersistent.1

What a genetic result can and cannot tell you

Your genes tell you whether you are likely to keep making lactase as an adult. They do not tell you how your gut feels today. Two people with the same genetic result can have very different tolerance, because most people with lactase nonpersistence still keep some lactase activity and can handle small amounts of lactose.1 Your gut bacteria, portion size, and what else you eat with dairy all play a part.

A genetic result also cannot rule out the other causes of dairy-related symptoms covered next. Think of it as one useful clue, not the full answer.

Other reasons dairy may bother you

Not every stomach upset after dairy is the genetic, adult-onset kind. Here is how the main possibilities compare.

Possible cause What is going on Key clues
Lactase nonpersistence (primary) Lactase naturally declines after childhood, a largely inherited pattern Gradual onset in later childhood or adulthood; worse with larger amounts of milk
Secondary lactose intolerance Injury to the small intestine lowers lactase, for example from an infection, celiac disease, Crohn’s disease, or some medicines, surgery or radiation Can start suddenly, often after an illness; tolerance may return once the cause is treated3
Congenital lactase deficiency A rare inherited condition with little or no lactase from birth Severe diarrhea in newborns, not adults1
Milk allergy The immune system overreacts to milk proteins Can involve wheezing or trouble breathing; can be life-threatening5
Other gut conditions Irritable bowel syndrome, celiac disease, inflammatory bowel disease and small bowel bacterial overgrowth Symptoms can look similar to lactose intolerance6

The difference between intolerance and allergy really matters. Food intolerances do not involve the immune system, while a food allergy does.5 If you think you may have a milk allergy, talk to a doctor before trying any dairy products, including lactose-free ones.

If dairy and bread both seem to bother you, our guide to gluten sensitivity vs celiac disease explains how to tell those apart, and why celiac disease is worth checking with a doctor.

How lactose intolerance is confirmed

If you suspect lactose is the issue, a doctor may suggest one of these approaches:6

  1. An elimination trial. You avoid milk and dairy for a period to see whether symptoms go away. If they don’t, further testing may be needed.
  2. A hydrogen breath test. You drink a measured amount of lactose and breathe into a container every 30 minutes for a few hours. A rise in breath hydrogen together with worsening symptoms points toward lactose intolerance.

A breath test measures how your body handles lactose right now. A DNA test looks at whether you inherited the variants linked to lactase persistence. They answer different questions, so they can complement each other.

Practical ways to eat dairy more comfortably

Lactose intolerance usually does not mean giving up dairy completely. NIDDK notes that many people can have about 12 grams of lactose, roughly one cup of milk, with no symptoms or only mild ones.7 Here is a simple checklist based on its guidance:7

  • Go small. Have milk in smaller servings rather than a big glass at once.
  • Pair it with food. Dairy with a meal is often easier than dairy on its own.
  • Build up slowly. Add dairy back gradually and notice how you feel.
  • Choose lower-lactose options. Yogurt and aged hard cheeses generally contain less lactose. Many people find fermented dairy easier than fresh milk.1
  • Try lactose-free or lactose-reduced products. They offer nutrition similar to regular dairy.
  • Consider lactase products. These can help your body digest lactose.
  • Protect your calcium and vitamin D. If you cut back on dairy, include foods such as canned salmon or sardines with soft bones, leafy greens, broccoli, tofu, almonds and calcium-fortified foods.

Talk with a doctor or registered dietitian about your nutrient needs, and before starting any supplements. If vitamin D is a concern for you, our guide on vitamin D and your genes goes deeper.

Where EvoDNA fits

Knowing your genetic tendencies may help you understand whether your stomach upset after dairy fits the common inherited pattern, so you and your clinician can focus on what to try next. EvoDNA reports are educational wellness information, not a medical diagnosis.

Here is how EvoDNA can help you personalise your approach:

Your sample is a simple at-home cheek swab you mail back. Analysis is done by a CLIA/CAP-certified lab that partners with Yale University, and results appear in your account about 4 to 5 weeks after the lab receives your sample. Reports run 50+ pages, are analyzed by our doctor, and come with an actionable plan to improve.

Want to see how diet fits with the rest of your genes? Read how your genes shape the right diet for you, or compare EvoDNA plans to find the kit that matches your goals.

Frequently Asked Questions

Why do I suddenly get a stomach ache after dairy when I never used to?

Lactase production often declines gradually with age, so symptoms can appear in the teen years or adulthood even if dairy never bothered you as a child.3 A sudden change, especially after a stomach bug or alongside other symptoms, can also point to secondary lactose intolerance or another gut condition, so it is worth talking to a doctor.

Is lactose intolerance genetic?

The common adult form is largely inherited. Variants in a regulatory region of the MCM6 gene, which controls the LCT lactase gene, influence whether you keep making lactase as an adult.1 Secondary lactose intolerance, by contrast, is caused by injury to the small intestine.

Can a DNA test tell me if I’m lactose intolerant?

A DNA test can show whether you carry variants linked to lactase persistence or nonpersistence, which suggests your likely tendency. It cannot measure how your gut handles lactose today or rule out other causes. A doctor may use an elimination trial or hydrogen breath test to confirm lactose intolerance.6

How do I know if it’s lactose intolerance or a milk allergy?

Lactose intolerance is a digestive issue that does not involve the immune system. A milk allergy is an immune reaction to milk protein and can cause severe symptoms such as wheezing or trouble breathing.5 If you have any breathing or swelling symptoms, get medical help right away.

Can I still eat cheese and yogurt if I’m lactose intolerant?

Often, yes. Yogurt and aged hard cheeses usually contain less lactose than milk, and many people tolerate them well.7 Starting with small portions and eating them with meals can help you find your comfort level.

This article is for educational purposes and is not medical advice. Always consult a qualified healthcare professional before changing your diet, supplements, medications or treatment plan.


  1. MedlinePlus Genetics, National Library of Medicine. “Lactose Intolerance.” Accessed November 20, 2026. https://medlineplus.gov/genetics/condition/lactose-intolerance/ ↩
  2. Enattah, N. S., T. Sahi, E. Savilahti, et al. “Identification of a Variant Associated with Adult-Type Hypolactasia.” Nature Genetics 30, no. 2 (2002): 233-237. https://doi.org/10.1038/ng826 ↩
  3. National Institute of Diabetes and Digestive and Kidney Diseases. “Symptoms & Causes of Lactose Intolerance.” Accessed November 20, 2026. https://www.niddk.nih.gov/health-information/digestive-diseases/lactose-intolerance/symptoms-causes ↩
  4. Tishkoff, S. A., F. A. Reed, A. Ranciaro, et al. “Convergent Adaptation of Human Lactase Persistence in Africa and Europe.” Nature Genetics 39, no. 1 (2007): 31-40. https://doi.org/10.1038/ng1946 ↩
  5. Food Allergy Research & Education (FARE). “Milk Allergy Vs. Lactose Intolerance.” Accessed November 20, 2026. https://www.foodallergy.org/resources/milk-allergy-vs-lactose-intolerance ↩
  6. National Institute of Diabetes and Digestive and Kidney Diseases. “Diagnosis of Lactose Intolerance.” Accessed November 20, 2026. https://www.niddk.nih.gov/health-information/digestive-diseases/lactose-intolerance/diagnosis ↩
  7. National Institute of Diabetes and Digestive and Kidney Diseases. “Eating, Diet, & Nutrition for Lactose Intolerance.” Accessed November 20, 2026. https://www.niddk.nih.gov/health-information/digestive-diseases/lactose-intolerance/eating-diet-nutrition ↩

Related DNA tests: Nutrition DNA Test · Gut Health DNA Test

Share:

WhatsApp
Facebook
LinkedIn

Related Posts