Lactose intolerance happens when the small intestine doesn't produce enough of an enzyme called lactase. Lactase is necessary to digest milk sugar, called lactose.
Usually, lactase turns milk sugar into two simple sugars, glucose and galactose. These sugars then get absorbed into the bloodstream through the intestinal lining.
But if your body doesn't make enough lactase, lactose in your food moves into the colon instead of being processed and absorbed by the intestinal lining. Bacteria in the colon then interact with undigested lactose, causing the symptoms of lactose intolerance.
There are three types of lactose intolerance. Different factors cause the lactase deficiency underlying each type.
Primary lactose intolerance
People who develop primary lactose intolerance — the most common type — produce enough lactase at birth. Infants, who get all their nutrition from milk, need lactase.
As children replace milk with other foods, the amount of lactase a child produces typically drops. But it usually remains high enough to digest the amount of dairy in a standard adult diet. In primary lactose intolerance, lactase production falls off sharply by adulthood, making milk products hard to digest.
Primary lactose intolerance also is called lactase non-persistence.
Secondary lactose intolerance
This form of lactose intolerance happens when your small intestine decreases lactase production after an illness, injury or surgery involving your small intestine. Diseases associated with secondary lactose intolerance include intestinal infection, celiac disease, bacterial overgrowth and Crohn's disease.
Treatment of the underlying condition may restore lactase levels and improve symptoms, though it can take time.
Congenital or developmental lactose intolerance
It's possible, but rare, for babies to be born with lactose intolerance caused by a lack of lactase. This condition is passed from generation to generation in a pattern of inheritance called autosomal recessive. This means that both the mother and the father must pass on the same gene variant for a child to be affected. Premature infants also can have lactose intolerance because of an insufficient lactase level.