Several nutritional deficiencies can cause or worsen diarrhea, but zinc deficiency is the most extensively studied and clinically significant. Low levels of vitamin A, vitamin D, niacin, folate, and iron have also been linked to diarrheal illness through overlapping but distinct mechanisms, mostly involving damage to the intestinal lining or weakened immune defenses. The relationship is not always straightforward, because diarrhea itself depletes nutrients, setting up a feedback loop that makes both the deficiency and the diarrhea harder to resolve.
Zinc Deficiency and the Gut
Zinc stands out among micronutrients for the strength and consistency of its connection to diarrhea. The mineral helps maintain the intestinal lining, supports water and electrolyte absorption, and boosts brush border enzymes that digest food at the gut wall. When zinc levels drop, that lining becomes more vulnerable to pathogens and less efficient at absorbing fluids. Severe zinc deficiency is characterized by diarrhea, impaired immune function, appetite loss, skin lesions, and delayed wound healing.1PubMed Central. Role of Zinc in Mucosal Health and Disease: A Review of Physiological, Biochemical, and Molecular Processes
There is also a rare inherited condition called acrodermatitis enteropathica, in which the body cannot properly absorb zinc from food. Infants with this condition develop diarrhea, mood changes, appetite loss, and characteristic skin rashes. It illustrates how dependent the gut is on adequate zinc: even when dietary intake is normal, a genetic block on absorption produces severe gastrointestinal symptoms.2PubMed. Clinical and laboratory diagnosis of acrodermatitis enteropathica
The evidence behind zinc is strong enough that the World Health Organization recommends zinc supplementation for children with acute diarrhea. A systematic review and meta-analysis found that zinc shortened the average duration of diarrhea by about 13 hours compared with placebo and increased the proportion of children who recovered at last follow-up.3PubMed Central. Zinc supplementation for acute and persistent watery diarrhoea in children: A systematic review and meta-analysis Another systematic review estimated the reduction in mean diarrheal duration at roughly 20 percent.4PLoS ONE. Therapeutic Value of Zinc Supplementation in Acute and Persistent Diarrhea: A Systematic Review The WHO-recommended dose of 20 mg per day for 10 to 14 days is effective but has been associated with vomiting, and trials have found that lower doses work about as well with fewer side effects.5PubMed Central. Lower-Dose Zinc for Childhood Diarrhea – A Randomized, Multicenter Trial
Vitamin A and the Intestinal Immune Defense
Vitamin A is critical for maintaining the cells that line the gut and for powering the immune responses that keep intestinal infections in check. A study of school-age children in Bangladesh found that those with deficient vitamin A levels had roughly double the risk of diarrhea with vomiting compared to children with adequate levels. Each rise of 10 micrograms per deciliter in plasma retinol was linked to about 18 percent fewer days of diarrhea with vomiting.6PubMed Central. Vitamin A deficiency is associated with gastrointestinal and respiratory morbidity in school-age children
Beyond its direct effects on the gut lining, vitamin A shapes the composition of the intestinal microbiome. When vitamin A is lacking, the microbial community becomes less diverse and more susceptible to overgrowth by harmful organisms, which in turn increases the risk of gastrointestinal infection and injury.7PubMed Central. Vitamin A and vitamin D regulate the microbial complexity, barrier function, and the mucosal immune responses to ensure intestinal homeostasis Vitamin A deficiency is most common in low- and middle-income countries where diets are low in animal products and orange or dark-green vegetables, and it disproportionately affects young children.
Vitamin D and the Intestinal Barrier
Vitamin D is better known for its role in bone health, but it also helps hold the intestinal lining together. The cells that form the gut wall are connected by structures called tight junctions, which act as seals preventing fluid, bacteria, and toxins from leaking between cells. In animal studies, mice lacking the vitamin D receptor developed severe diarrhea, rectal bleeding, and significant weight loss when exposed to a mild chemical irritant that mice with normal vitamin D signaling easily tolerated. Microscopy revealed that their intestinal tight junctions had broken down severely.8PubMed. Novel role of the vitamin D receptor in maintaining the integrity of the intestinal mucosal barrier
Additional research has confirmed that animals without functional vitamin D receptors show significantly increased intestinal permeability, with sharply reduced levels of the proteins that form those tight junction seals.9PubMed. Vitamin D receptor involves in the protection of intestinal epithelial barrier function via up-regulating SLC26A3 Like vitamin A, vitamin D also influences the gut microbiome. Deficiency leads to less diverse microbial communities and greater vulnerability to gastrointestinal infection.7PubMed Central. Vitamin A and vitamin D regulate the microbial complexity, barrier function, and the mucosal immune responses to ensure intestinal homeostasis While the bulk of this evidence comes from animal models and cell studies rather than large human trials, it paints a consistent picture: vitamin D is not just about bones.
Niacin Deficiency and Pellagra
One of the oldest known connections between a nutrient deficiency and diarrhea involves niacin, also called vitamin B3. Severe niacin deficiency causes pellagra, a disease classically described by the “4 Ds”: dermatitis, diarrhea, dementia, and, if untreated, death.10PubMed Central. Pellagra: An Unusual Cause for Altered Mental Status Pellagra was once epidemic in parts of the American South and in communities that relied heavily on corn-based diets, because the niacin in corn is bound in a form that the body cannot absorb without special preparation. In the early 20th century, Joseph Goldberger demonstrated that pellagra was a nutritional deficiency rather than an infectious disease, which was the prevailing theory at the time.11PubMed Central. Joseph Goldberger’s research on the prevention of pellagra
Today pellagra is rare in wealthy countries, but it still appears in people with chronic alcoholism, severe malabsorption, or very restricted diets. It can also emerge in hospitalized patients whose nutritional status is overlooked. The diarrhea in pellagra results from widespread inflammation of the mucosal lining of the gastrointestinal tract. When niacin is restored, the gut symptoms often improve quickly.
Folate, Vitamin B12, and Vitamin E
Folate (vitamin B9) and vitamin B12 are both needed for rapidly dividing cells, and the cells lining the intestine turn over faster than almost any other tissue in the body. Folate deficiency is common in tropical enteropathy and chronic diarrhea, where the impaired mucosa cannot regenerate properly, absorptive capacity drops, and the resulting malabsorption creates a self-reinforcing cycle of worsening deficiency and worsening gut function.12PubMed Central. Folate malnutrition in tropical diarrhoeas Vitamin B12 deficiency has also been documented as a cause of chronic diarrhea, though it is less commonly recognized.13PubMed. Chronic diarrhea in a patient with severe vitamin B12 deficiency: a rare clinical manifestation
Vitamin E deficiency works through a different pathway. When antioxidant defenses are depleted, reactive oxygen species accumulate in the intestinal tissue. Animal studies have shown that chronic vitamin E deficiency leads to increased lipid damage in the small bowel and measurably higher electrogenic secretion, meaning the intestine pumps more fluid into the gut lumen than it should. Researchers have proposed that this oxidative-stress-driven hypersecretion could predispose to or perpetuate protracted diarrhea, particularly in malnourished children who already have weakened antioxidant stores.14BMJ Journals. Lipid peroxidation and electrogenic ion transport in the jejunum of the vitamin E deficient rat
Iron and Copper
Iron deficiency is the most common micronutrient deficiency worldwide, and its effects on the gut are underappreciated. A study of young children in Bangladesh found that lower body iron status was associated with defects in intestinal tight junctions, as measured by increased paracellular absorption. In plain terms, the seals between gut cells were leakier in iron-deficient children.15PLoS ONE. Undernutrition, Vitamin A and Iron Deficiency Are Associated with Impaired Intestinal Mucosal Permeability in Young Bangladeshi Children Assessed by Lactulose/Mannitol Test Iron deficiency anemia has also been linked to shifts in the gut microbiome, with dysbiosis appearing especially in the lower portions of the digestive tract and changes in the production of short-chain fatty acids that normally nourish the colon lining.16SpringerLink. Gut microbiome-short-chain fatty acids interplay in the context of iron deficiency anaemia
Copper deficiency is rarer but can have dramatic gastrointestinal consequences. A case report documented a child with chronic severe diarrhea and maldigestion beginning in early infancy who developed marked copper deficiency by 19 months of age. The copper depletion led to anemia, bone fractures, and immune suppression, and likely worsened the intestinal enzyme dysfunction. When copper supplementation was finally given at age six, the improvement was striking across all symptoms, including the digestive problems.17Pediatrics. COPPER DEFICIENCY COMPLICATING SEVERE CHRONIC INTESTINAL MALABSORPTION
Protein-Energy Malnutrition
Deficiencies do not have to be limited to a single vitamin or mineral. When the body is deprived of adequate protein and calories overall, the gut suffers in ways that amplify any concurrent infection. Research in neonatal pigs infected with rotavirus showed that protein-energy malnutrition prolonged diarrhea and delayed small intestinal recovery. Two days after infection, the animals experienced severe diarrhea and an 11 percent drop in body weight alongside a 60 percent reduction in the height of intestinal villi, the finger-like projections that absorb nutrients.18The Journal of Nutrition. Protein-Energy Malnutrition Delays Small-Intestinal Recovery in Neonatal Pigs Infected with Rotavirus When protein and energy were restricted on top of the infection, recovery was markedly slower. This has real implications in settings where children face both food insecurity and frequent exposure to gastrointestinal pathogens.
The Vicious Cycle of Deficiency and Diarrhea
Perhaps the most important thing to understand about nutritional deficiencies and diarrhea is that the relationship runs in both directions. Diarrhea itself damages the intestinal lining, which reduces the body’s ability to absorb nutrients, which deepens the deficiency, which further weakens the gut. A comprehensive review described how persistent diarrhea causes mucosal damage and nutrient malabsorption, while secondary lactose intolerance from that damage leads to additional osmotic diarrhea and caloric loss. Gut dysbiosis, marked by loss of beneficial bacteria and overgrowth of harmful ones, further impairs digestion and sustains chronic inflammation. Together these conditions create a self-perpetuating cycle that drives malnutrition and stunting in children.19PubMed Central. The interplay between malnutrition, persistent diarrhea, lactose intolerance, and food associated gut dysbiosis in children; a comprehensive review
This is why clinicians treating diarrhea in malnourished populations focus on nutritional rehabilitation alongside fluid replacement. Breaking the cycle requires restoring the nutrients the gut needs to repair itself. In practice, that often means oral rehydration combined with zinc supplementation and, where indicated, correction of vitamin A and other deficits.
Why It Is Rarely Just One Deficiency
In real-world settings, nutritional deficiencies seldom occur in isolation. A child whose diet is low in zinc is often also low in vitamin A, iron, and protein. The same study of Bangladeshi children that found iron-related permeability problems also documented overlapping vitamin A deficiency and general undernutrition as independent contributors to leaky gut.15PLoS ONE. Undernutrition, Vitamin A and Iron Deficiency Are Associated with Impaired Intestinal Mucosal Permeability in Young Bangladeshi Children Assessed by Lactulose/Mannitol Test The gut lining is under attack from multiple angles simultaneously, and each deficiency may worsen the absorption of other nutrients. Disentangling which deficiency is “the” cause of diarrhea in a particular patient can be difficult, and the honest answer in many cases is that several deficiencies are contributing at once.
This overlapping-deficiency picture also explains why single-nutrient supplementation sometimes produces underwhelming results in populations with severe malnutrition. Correcting zinc alone helps, as the meta-analyses show, but the effect size is modest when the gut is also dealing with shortfalls in vitamin A, folate, and protein. Comprehensive nutritional support tends to produce better outcomes than targeting any one nutrient.
Diarrhea After Bariatric Surgery
Nutritional deficiency-related diarrhea is not limited to developing countries or malnourished children. It is a recognized complication of weight-loss surgery, particularly procedures that bypass portions of the small intestine. Diarrhea after bariatric surgery is common and serves as a major driver of both micro- and macronutrient deficiencies, as well as a significant quality-of-life issue for patients.20PubMed Central. Diarrhea after bariatric procedures: Diagnosis and therapy Procedures that include a malabsorptive component, such as gastric bypass or biliopancreatic diversion, carry the highest risk. The shortened absorptive surface area means that even a normal diet may not deliver adequate vitamins and minerals, and the resulting deficiencies can themselves worsen the diarrhea. Post-surgical patients typically require lifelong monitoring of zinc, vitamin B12, iron, vitamin D, and other nutrient levels, along with supplementation protocols tailored to their specific procedure.
For people who have had these surgeries, persistent diarrhea should not simply be dismissed as a normal side effect. It can signal developing deficiencies that are both treatable and, if left uncorrected, capable of causing serious problems beyond the gut, including anemia, bone loss, and neurological symptoms from B12 depletion.
When to Suspect a Nutritional Cause
Most episodes of diarrhea in healthy, well-nourished adults are caused by infections, medications, food intolerances, or functional gut disorders, not nutritional deficiencies. Suspecting a deficiency as the driver makes the most sense in certain contexts:
- Restricted diets: Veganism without supplementation, severe calorie restriction, alcoholism, or diets built around a narrow range of staple foods (particularly corn or refined grains) can deplete specific nutrients over months to years.
- Malabsorption conditions: Celiac disease, Crohn’s disease, chronic pancreatitis, and short bowel syndrome all impair nutrient uptake and can create deficiencies even with an otherwise adequate diet.
- Post-surgical states: Gastric bypass and other bariatric procedures, as well as bowel resections for cancer or inflammatory bowel disease, permanently alter absorptive capacity.
- Prolonged illness: Extended hospital stays, especially in intensive care settings, can deplete zinc, niacin, and other nutrients if parenteral or enteral nutrition is not carefully managed.
- Poverty and food insecurity: In populations where overall dietary quality is poor, multiple overlapping deficiencies are common and diarrhea is both a symptom and a perpetuating factor.
If diarrhea is chronic and the usual suspects have been ruled out, checking levels of zinc, vitamin D, vitamin B12, folate, and iron is a reasonable step. These tests are inexpensive and the deficiencies are treatable. Niacin deficiency is diagnosed more by clinical presentation, as reliable blood tests for niacin status are not routinely available in most settings. The skin rash, mental status changes, and diarrhea together should raise the suspicion even before lab work comes back.