Articles & Guides › Articles › Gastroenterology & Nutrition
Malabsorption
How celiac disease damages the small bowel and how it is diagnosed, why lactose intolerance causes osmotic diarrhea and how that differs from secretory diarrhea, and how Whipple disease, bacterial overgrowth, tropical sprue, pancreatic insufficiency and abetalipoproteinemia are recognized.
Gastroenterology & Nutrition · 6 min read · Reviewed 2026-11-10
Absorbing food takes three steps: breaking it down in the lumen, taking it up across a healthy lining, and carrying it away through blood and lymph. Malabsorption is a failure at any of the three. The clues are greasy, pale, floating stools (steatorrhea), weight loss and bloating, together with deficiencies of iron, folate, vitamin B12, calcium and the fat-soluble vitamins. A few tests then show where the failure lies: antibodies for celiac disease, the D-xylose test for the lining, fecal elastase for the pancreas, and breath tests for sugar malabsorption and bacterial overgrowth.
Key points
- Celiac disease is a T cell reaction to gluten in people with HLA-DQ2 or DQ8; it flattens the villi of the duodenum and proximal jejunum.
- Screen with IgA anti-tissue transglutaminase plus total IgA while the person is still eating gluten, then confirm with duodenal biopsy.
- Lactose intolerance causes osmotic diarrhea, with a high stool osmotic gap, that stops with fasting; secretory diarrhea has a low gap and continues.
- A normal D-xylose test points to a pancreatic or bile acid cause; an abnormal one points to disease of the lining.
- Bacterial overgrowth gives low vitamin B12 with normal or high folate; Whipple disease shows PAS-positive foamy macrophages.
Celiac disease
Mechanism
Celiac disease is an immune reaction to gluten, specifically the gliadin fraction in wheat and related proteins in barley and rye. It occurs almost only in people who carry HLA-DQ2 or HLA-DQ8[1]. Gliadin peptides resist digestion and cross the epithelium, where the enzyme tissue transglutaminase modifies them (deamidation) so they bind DQ2 or DQ8 tightly. CD4 T cells recognize them and release interferon-gamma, and cytotoxic intraepithelial lymphocytes kill enterocytes.
The damage is worst in the duodenum and proximal jejunum: villous atrophy, crypt hyperplasia (the crypts lengthen to replace lost cells) and increased intraepithelial lymphocytes.
Presentation
Classic disease causes diarrhea, steatorrhea, bloating and weight loss, or failure to thrive in children. Many adults instead present with problems outside the gut[2]:
- Iron deficiency that does not respond to oral iron, because iron is absorbed in the damaged duodenum.
- Folate deficiency, osteoporosis (poor calcium and vitamin D absorption), fatigue and raised liver enzymes.
- Infertility, peripheral neuropathy and ataxia.
Diagnosis
- IgA anti-tissue transglutaminase, together with a total IgA level. IgA deficiency is more common in celiac disease and gives false negatives; in that case IgG antibodies to deamidated gliadin are used.
- Duodenal biopsy, taken while the person is still eating gluten, because both antibodies and biopsy can return to normal on a gluten-free diet.
- HLA typing cannot confirm celiac disease, but a negative DQ2/DQ8 result effectively rules it out[1].
Associations and complications
Dermatitis herpetiformis is celiac disease in the skin: intensely itchy, grouped blisters on elbows, knees and buttocks, with granular IgA deposits at the tips of the dermal papillae. It responds to a gluten-free diet and dapsone. Other associations are type 1 diabetes, autoimmune thyroid disease, Down and Turner syndromes, IgA deficiency and microscopic colitis.
Treatment is a lifelong gluten-free diet; oats are usually tolerated if uncontaminated. Antibodies fall and villi recover over months, and persistent symptoms usually mean continued gluten exposure. Long-term risks include enteropathy-associated T-cell lymphoma, small bowel adenocarcinoma, refractory disease and loss of spleen function.
Lactose intolerance and other carbohydrate malabsorption
Lactose intolerance
Lactase, a brush border enzyme, splits lactose into glucose and galactose. In primary lactase deficiency, its activity falls after childhood, which is the normal pattern for most adults of East Asian, African, Native American and Ashkenazi Jewish ancestry[3]. Secondary deficiency follows anything that damages the brush border, such as gastroenteritis, celiac disease or Crohn disease, and often recovers. Congenital deficiency is rare.
Undigested lactose stays in the lumen and draws water in by osmosis. In the colon, bacteria ferment it to gases and short-chain fatty acids, causing bloating, flatulence and acidic stools. The hydrogen breath test shows a rise in exhaled hydrogen after a lactose load. In primary deficiency, the villi are normal. Treatment is to limit lactose (yogurt and hard cheese are often tolerated) or to take lactase supplements.
Osmotic versus secretory diarrhea
The stool osmotic gap compares measured stool osmolality (assumed to be about 290) with the contribution of sodium and potassium: 290 − 2 × (stool sodium + potassium). A large gap means some unmeasured solute is holding water in the lumen.
| Feature | Osmotic diarrhea | Secretory diarrhea |
|---|---|---|
| Mechanism | An unabsorbed solute draws water in | The mucosa actively secretes chloride and water |
| Stool osmotic gap | High (above about 125) | Low (below about 50) |
| With fasting | Stops | Continues |
| Examples | Lactose intolerance, magnesium laxatives, sorbitol, malabsorption | Cholera, enterotoxigenic E. coli, VIPoma, carcinoid, bile acid diarrhea |
Other carbohydrates cause the same osmotic pattern: sucrose in sucrase-isomaltase deficiency, fructose from fruit juice and syrups, and sorbitol in "sugar-free" products.
Whipple disease, bacterial overgrowth, tropical sprue and other causes
Whipple disease
Tropheryma whipplei, a gram-positive actinomycete, is taken up by macrophages that cannot kill it. The swollen macrophages pack the lamina propria and block lymphatics, so fat cannot leave the gut[4]. It typically affects middle-aged white men. Joint pain often comes first, years before diarrhea, steatorrhea and weight loss; fever, enlarged lymph nodes, skin darkening, endocarditis and brain involvement (memory loss, eye movement problems) can follow. Duodenal biopsy shows PAS-positive foamy macrophages, and PCR confirms it. Treatment is ceftriaxone, then about a year of trimethoprim-sulfamethoxazole. Mycobacterium avium complex in advanced HIV also fills macrophages, but stains acid-fast.
Small intestinal bacterial overgrowth
Normally the small bowel holds few bacteria, kept low by stomach acid and steady forward movement. Stasis (blind loops after surgery, strictures, diverticula, or the poor motility of diabetes or systemic sclerosis) and low acid let colonic-type bacteria multiply[5]. They deconjugate bile acids, causing fat malabsorption, and consume vitamin B12, while making folate. So the telltale combination is low B12 with normal or high folate. A glucose or lactulose breath test supports the diagnosis, and treatment is an antibiotic such as rifaximin plus correcting the cause.
Other causes
| Condition | Key features | Treatment |
|---|---|---|
| Tropical sprue | Probably infectious; people living in or returning from the tropics; damages the whole small bowel; B12 and folate deficiency with megaloblastic anemia | Tetracycline and folate |
| Pancreatic insufficiency | Chronic pancreatitis, cystic fibrosis, pancreatic cancer; enzymes are missing but the lining is normal, so fecal elastase is low and D-xylose is normal | Pancreatic enzymes with meals[6] |
| Bile acid loss | Ileal disease or resection, cholestasis | Bile acid binders for bile acid diarrhea |
| Abetalipoproteinemia | Autosomal recessive loss of microsomal triglyceride transfer protein (MTP), so apoB lipoproteins (chylomicrons and VLDL) cannot be made; very low cholesterol, acanthocytes, fat-filled enterocytes; ataxia and retinal disease from vitamin E deficiency | Low-fat diet and high-dose fat-soluble vitamins |
| Giardiasis | Contaminated water, camping, day care, IgA deficiency; flattened villi and fatty stools | Metronidazole or tinidazole |
The D-xylose test
D-xylose is a sugar absorbed without any digestion and then excreted in urine. If blood and urine levels are low after an oral dose, the lining is at fault (celiac disease, Whipple disease, bacterial overgrowth). If they are normal, the problem lies before absorption, in the pancreas or bile[7].
Common confusions
- Celiac testing on a gluten-free diet: antibodies and biopsy can normalize, so testing must happen while eating gluten.
- Low antibody result with IgA deficiency: always check total IgA; IgA deficiency is more common in celiac disease.
- Bacterial overgrowth versus tropical sprue: overgrowth gives low B12 with high folate; tropical sprue lowers both.
- Pancreatic versus mucosal steatorrhea: a normal D-xylose test and low fecal elastase point to the pancreas.
References
- Rubio-Tapia A, Hill ID, Semrad C, et al. American College of Gastroenterology guidelines update: diagnosis and management of celiac disease. Am J Gastroenterol. 2023;118(1):59-76. doi:10.14309/ajg.0000000000002075 Link ↩
- Lebwohl B, Sanders DS, Green PHR. Coeliac disease. Lancet. 2018;391(10115):70-81. doi:10.1016/S0140-6736(17)31796-8 Link ↩
- Misselwitz B, Butter M, Verbeke K, Fox MR. Update on lactose malabsorption and intolerance: pathogenesis, diagnosis and clinical management. Gut. 2019;68(11):2080-2091. doi:10.1136/gutjnl-2019-318404 Link ↩
- Fenollar F, Puéchal X, Raoult D. Whipple's disease. N Engl J Med. 2007;356(1):55-66. doi:10.1056/NEJMra062477 Link ↩
- Pimentel M, Saad RJ, Long MD, Rao SSC. ACG clinical guideline: small intestinal bacterial overgrowth. Am J Gastroenterol. 2020;115(2):165-178. doi:10.14309/ajg.0000000000000501 Link ↩
- Gardner TB, Adler DG, Forsmark CE, Sauer BG, Taylor JR, Whitcomb DC. ACG clinical guideline: chronic pancreatitis. Am J Gastroenterol. 2020;115(3):322-339. doi:10.14309/ajg.0000000000000535 Link ↩
- Kumar V, Abbas AK, Aster JC. Robbins & Cotran Pathologic Basis of Disease. 10th ed. Elsevier; 2021. ↩