If drinking a glass of milk leaves you bloated, cramping, or running for the bathroom, but you can eat a slice of cheddar or a scoop of ice cream without trouble, you are not imagining things. The difference comes down to how lactose, the natural sugar in milk, is broken down in your digestive system. Cheese and other fermented dairy products contain far less lactose than plain milk, which is why many people who are lactose intolerant can still enjoy them.
Why Does Milk Hurt My Stomach But Not Cheese?
Lactose intolerance is the most common reason milk causes stomach pain while cheese does not. Your small intestine produces an enzyme called lactase that breaks lactose into two simpler sugars your body can absorb. When you do not produce enough lactase, undigested lactose travels to your colon, where bacteria ferment it and produce gas, bloating, and diarrhea.
The amount of lactose in a food matters more than whether it comes from a cow. A single cup of milk contains about 12 grams of lactose. Hard cheeses like cheddar, Swiss, and Parmesan contain less than 1 gram per serving because most of the lactose is removed during cheesemaking. The whey, which carries most of the lactose, is drained off, and the remaining lactose is converted to lactic acid by bacteria during aging.
How Lactose Levels Differ Between Milk and Cheese
Not all cheese is created equal when it comes to lactose. The longer a cheese is aged, the less lactose it contains. This is because the bacteria and enzymes used in cheesemaking continue to break down lactose over time.
- Hard, aged cheeses — cheddar, Swiss, Parmesan, Gouda. These have trace amounts of lactose, often less than 1 gram per ounce.
- Semi-soft cheeses — mozzarella, brie, feta. These contain small amounts, usually 1 to 2 grams per serving.
- Fresh cheeses — ricotta, cottage cheese, cream cheese. These retain more whey and contain 3 to 5 grams of lactose per serving.
- Processed cheese products — cheese slices, cheese spreads, cheese sauces. These can contain added milk solids and may have lactose levels closer to fresh cheese.
Butter is another example. Butter is mostly fat and contains only trace amounts of lactose, which is why most people with lactose intolerance handle it fine. Ice cream, on the other hand, is made with cream and milk solids, so it can contain 6 to 9 grams of lactose per serving — enough to cause symptoms in many people.
Other Reasons Milk Might Hurt Your Stomach
Lactose intolerance is the most likely explanation, but it is not the only one. Milk contains proteins that can trigger digestive symptoms in some people, even if they digest lactose normally.
Casein and whey are the two main proteins in milk. Some people have a true milk protein allergy, which is different from lactose intolerance. A milk allergy involves the immune system and can cause hives, vomiting, or even anaphylaxis in severe cases. This is more common in children and often resolves with age, but some adults remain allergic.
There is also a condition called non-IgE mediated cow’s milk protein intolerance. This does not involve the classic allergy antibodies, but it can still cause abdominal pain, reflux, and changes in bowel habits. In this situation, both milk and cheese would likely cause symptoms, since both contain the same proteins.
Fat content can also play a role. Whole milk is high in fat, which slows stomach emptying. For some people, this leads to a feeling of fullness, nausea, or discomfort that has nothing to do with lactose.
Is It Really Lactose Intolerance or Something Else?
Before assuming lactose intolerance, consider other possibilities. Irritable bowel syndrome, or IBS, is common and can make your gut more sensitive to certain foods, including dairy. Some people with IBS react to the fat in milk, not the lactose. Others react to a group of carbohydrates called FODMAPs, and lactose happens to be one of them.
A temporary bout of lactose intolerance can also follow a stomach virus or a course of antibiotics. These events can damage the lining of the small intestine or disrupt your gut bacteria, temporarily reducing lactase production. Symptoms may improve after a few weeks.
If you experience pain, bloating, or diarrhea after drinking milk but not after eating cheese, lactose intolerance is the most straightforward explanation. If symptoms occur after all dairy products, including hard cheese, a milk protein issue or another digestive condition may be involved.
How to Know for Sure
The simplest way to test for lactose intolerance is to eliminate all lactose-containing foods for two weeks and see if your symptoms go away. Then reintroduce small amounts of milk and note what happens. This is called an elimination diet, and it is a common first step.
A hydrogen breath test is the standard medical diagnostic. After drinking a liquid containing lactose, you breathe into a device that measures hydrogen. If undigested lactose reaches your colon, bacteria produce hydrogen, which enters your bloodstream and is exhaled. A rise in breath hydrogen confirms that lactose is not being properly digested.
Some people try at-home tests that check for genetic markers associated with lactase persistence. These tests can tell you whether you are genetically predisposed to produce lactase into adulthood, but they do not tell you how much lactose you can tolerate. Lactase production declines with age in many people, even those with the genetic variant for persistence.
What You Can Do If Milk Upsets Your Stomach
If you are lactose intolerant, you do not necessarily have to give up all dairy. Many people can handle small amounts of lactose spread throughout the day. A few tablespoons of milk in coffee may be fine, while a full glass on an empty stomach causes symptoms.
Lactose-free milk is widely available. It is real cow’s milk with lactase added, so the lactose is already broken down. It tastes slightly sweeter than regular milk because the lactose has been split into glucose and galactose, which taste sweeter than lactose itself.
Lactase enzyme supplements are another option. Taken just before eating dairy, they provide the enzyme your body is missing. Their effectiveness varies from person to person and depends on the dose and the amount of lactose in the meal.
Yogurt is often tolerated even by people with lactose intolerance. The live bacterial cultures in yogurt produce their own lactase, which helps break down lactose during digestion. Greek yogurt is strained, which removes much of the whey and therefore much of the lactose.
If you choose to avoid dairy entirely, be aware of calcium and vitamin D. Good non-dairy sources of calcium include leafy greens, fortified plant milks, tofu made with calcium sulfate, and canned fish with bones. A healthcare provider can help you determine whether you need supplements.
When to See a Doctor
Occasional discomfort after milk is common and usually not a concern. But certain symptoms warrant medical evaluation.
See a doctor if you experience severe or persistent abdominal pain, unexplained weight loss, blood in your stool, or diarrhea that wakes you from sleep. These symptoms are not typical of lactose intolerance and may indicate a more serious condition such as inflammatory bowel disease, celiac disease, or an infection.
Also seek medical advice if your symptoms began suddenly in adulthood after years of tolerating dairy well. A sudden change in lactose tolerance can sometimes signal an underlying intestinal issue that needs investigation.
Frequently Asked Questions
Why can I eat cheese but not drink milk?
Cheese contains much less lactose than milk because most of the lactose is removed during cheesemaking and aging. Hard, aged cheeses have less than 1 gram of lactose per serving, while a cup of milk has about 12 grams.
Is lactose intolerance the same as a milk allergy?
No. Lactose intolerance is a digestive issue caused by missing the lactase enzyme, while a milk allergy involves the immune system reacting to milk proteins. A milk allergy can cause hives, swelling, or difficulty breathing, not just stomach pain.
Can lactose intolerance develop suddenly in adults?
Yes. Lactase production naturally declines with age, and symptoms often first appear in the teenage years or adulthood. A stomach infection or antibiotics can also temporarily reduce lactase production and trigger symptoms.
Which cheeses are lowest in lactose?
Hard, aged cheeses like cheddar, Swiss, Parmesan, and Gouda are lowest in lactose. Fresh cheeses like ricotta and cottage cheese contain more lactose because they retain whey.

