Chronic Diarrhea ICD-10 Code: K52.9, K59.1, K58.0 & Complete Reference Guide

Published on Fri Apr 03 2026
✏️ Quick Answer
The primary ICD-10 code for chronic diarrhea is K52.9 — Noninfective gastroenteritis and colitis, unspecified. The most clinically precise code depends on the confirmed underlying cause. Functional chronic diarrhea is coded as K58.0 (IBS with diarrhea) or K59.1 (Functional diarrhea). For acute-on-chronic diarrhea, coders typically use the acute cause code with chronic condition coded additionally.
Most used ICD-10 codes for chronic diarrhea — at a glance:
- ·K52.9 — Noninfective gastroenteritis and colitis, unspecified (most common default)
- ·K59.1 — Functional diarrhea (no identifiable structural cause)
- ·K58.0 — Irritable bowel syndrome with diarrhea
- ·K57.30 — Diverticulosis of large intestine without perforation (with diarrhea variant)
- ·K50–K51 — Crohn's disease / Ulcerative colitis (IBD-related chronic diarrhea)
- ·A09 — Infectious gastroenteritis (for acute-on-chronic infectious episodes)
What Is Chronic Diarrhea and Why Does ICD-10 Coding Matter? (Chronic Diarrhea ICD 10)
Chronic diarrhea is clinically defined as the passage of loose or watery stools occurring three or more times per day for a duration of four or more weeks. It is one of the most common gastrointestinal complaints in clinical practice worldwide and encompasses a broad spectrum of underlying conditions — from functional disorders like irritable bowel syndrome to structural diseases like Crohn's disease, microscopic colitis, and malabsorption syndromes.
Understanding chronic diarrhea ICD-10 (also searched as chronic diarrhea ICD 10) coding is essential for several reasons beyond billing: accurate coding drives clinical data collection, epidemiological research, insurance reimbursement, and ensures that patients receive follow-up care matched to their actual diagnosis. An imprecise code — such as using the default K52.9 when a more specific code like K58.0 (IBS with diarrhea) is available — misrepresents the clinical picture and can affect care pathways. For patients, understanding when to worry about diarrhea in adults is equally important — chronic, persistent diarrhea always warrants clinical evaluation and proper diagnosis.
ICD-10 Code for Chronic Diarrhea: The Complete Classification
The ICD-10 code for chronic diarrhea is not a single fixed code — it requires the coder to identify the most likely underlying mechanism or confirmed diagnosis. Chronic diarrhea falls across multiple ICD-10 chapters depending on aetiology. The key classification decision tree works as follows:
- Is the cause infectious or non-infectious? — Infectious diarrhea uses codes from Chapter I (A00–A09). Non-infectious chronic diarrhea uses codes from Chapter XI (K00–K93, Diseases of the Digestive System). This is the first and most important distinction in ICD-10 diarrhea coding.
- Is the cause functional or structural? — Functional causes (IBS, functional diarrhea — no identifiable structural abnormality) use K58 or K59.1. Structural causes (IBD, microscopic colitis, malabsorption) use their own specific codes within K50–K63.
- Is there a confirmed underlying diagnosis? — When chronic diarrhea is a symptom of a confirmed condition (Crohn's disease, ulcerative colitis, celiac disease, diabetes), the underlying condition is coded primarily and diarrhea is coded additionally if documentation supports it.
- Is this acute-on-chronic diarrhea? — When an acute episode (infectious gastroenteritis) occurs in a patient with pre-existing chronic diarrhea, both codes are used: the acute cause is coded first, the chronic condition additionally.
Chronic Diarrhea ICD-10 Codes: Complete Reference Table — ICD 10 Code Chronic Diarrhea
| ICD-10 Code | Description | Use When | Diarrhea Type | Notes |
|---|---|---|---|---|
| K52.9 | Noninfective gastroenteritis and colitis, unspecified | Chronic diarrhea with no specific confirmed diagnosis; default code | Chronic, non-infectious | Most commonly used default; use specific codes when available |
| K59.1 | Functional diarrhea | Chronic diarrhea with no structural cause; normal colonoscopy and labs | Functional / chronic | Distinguished from IBS — no pain required as criterion |
| K58.0 | Irritable bowel syndrome with diarrhea | Chronic diarrhea + abdominal pain + no structural cause (IBS-D) | Functional / chronic | Most common cause of chronic diarrhea in adults under 50 |
| K58.9 | Irritable bowel syndrome without diarrhea | IBS predominant constipation or mixed type — not for chronic diarrhea | — | Included for reference; avoid for diarrhea-predominant IBS |
| K50.90 | Crohn's disease of small intestine without complications | Confirmed Crohn's disease causing chronic diarrhea | Inflammatory / chronic | Use K50.x series for all Crohn's variants with diarrhea |
| K51.90 | Ulcerative colitis, unspecified, without complications | Confirmed UC causing chronic bloody diarrhea | Inflammatory / chronic | Use K51.x series for all UC variants |
| K52.1 | Toxic gastroenteritis and colitis | Chronic diarrhea from medication toxicity or chemical exposure | Toxic / chronic | Include additional code for causative agent if documented |
| K52.2 | Allergic and dietetic gastroenteritis and colitis | Chronic diarrhea from food allergy or dietary intolerance | Allergic / chronic | Includes food protein-induced enterocolitis |
| K90.0 | Celiac disease | Chronic diarrhea + confirmed gluten sensitivity + villous atrophy | Malabsorptive / chronic | Diarrhea is secondary — code underlying celiac primarily |
| K90.4 | Malabsorption due to intolerance, not elsewhere classified | Chronic diarrhea from lactose, fructose, or sucrose intolerance | Osmotic / chronic | Includes lactose-intolerance related chronic diarrhea |
| K83.0 / K86.1 | Cholangitis / Chronic pancreatitis | Chronic steatorrhea / fatty diarrhea from pancreatic insufficiency | Secretory / chronic | Fat malabsorption; stools are pale, greasy, and offensive |
| A09 | Other gastroenteritis and colitis of infectious and unspecified origin | Acute infectious episode causing diarrhea; also used for acute-on-chronic | Infectious / acute | Used as primary code when acute infection precipitates chronic symptoms |
K59.1 vs K52.9: Choosing the Right ICD-10 Code for Chronic Diarrhea
The two most commonly confused ICD-10 chronic diarrhea (ICD 10 chronic diarrhea) codes are K59.1 and K52.9. Both are used for non-infectious chronic diarrhea without a specific structural diagnosis, but they are not interchangeable:
K52.9 — Noninfective Gastroenteritis and Colitis, Unspecified
K52.9 is a broader, less specific code that encompasses all forms of non-infectious inflammation of the gastrointestinal tract that cannot be classified elsewhere. It is the appropriate code when chronic diarrhea is accompanied by signs of intestinal inflammation (mucosal changes on colonoscopy, elevated faecal calprotectin, raised CRP) but no specific inflammatory bowel disease has been confirmed. It is also used as a default when insufficient clinical data exists to code more precisely. In practice, K52.9 is frequently overcoded — applied when a more specific code would be clinically and documentarily supported.
K59.1 — Functional Diarrhea
K59.1 is a more specific code for functional chronic diarrhea — defined by the Rome IV criteria as loose or watery stools without pain occurring at least 25% of the time, with symptom onset at least 6 months prior. Unlike IBS (K58.0), functional diarrhea does not require abdominal pain as a diagnostic criterion. Use K59.1 when the patient has a normal colonoscopy, normal laboratory investigations, no structural cause identified, and the predominant complaint is chronic loose stools without significant pain. IBS symptoms — when abdominal pain is the dominant complaint alongside diarrhea, K58.0 is more appropriate than K59.1.
Acute on Chronic Diarrhea ICD-10 Coding
The acute on chronic diarrhea ICD-10 (acute on chronic diarrhea ICD 10) scenario — where a patient with established chronic diarrhea experiences an acute exacerbation (typically from a superimposed infection) — requires dual coding. ICD-10 coding guidelines specify that both the acute cause and the chronic condition should be coded, with sequencing determined by the reason for the clinical encounter:
When the Acute Episode Is the Primary Reason for the Visit
Code the acute condition first, the chronic condition additionally. For example: a patient with established IBS-D (K58.0) who presents with an acute Salmonella gastroenteritis episode would be coded as A02.0 (Salmonella enteritis) as the primary code, with K58.0 coded additionally to document the pre-existing chronic condition.
When the Chronic Condition Is Being Managed
If the encounter is primarily for management of the chronic diarrhea with an acute exacerbation as a complicating factor, sequence the chronic condition code first. For example: a patient with Crohn's disease presenting for ongoing management who is experiencing an acute flare would lead with the appropriate Crohn's code (K50.90) with the acute complication coded additionally.
Common Acute-on-Chronic ICD-10 Combinations
| Chronic Condition (Code) | Acute Episode (Code) | Sequencing |
|---|---|---|
| IBS with diarrhea K58.0 | Infectious gastroenteritis A09 | A09 first if infection is the primary reason; K58.0 additional |
| Functional diarrhea K59.1 | Traveler's diarrhea / E. coli A04.1 | A04.1 first; K59.1 additional |
| Crohn's disease K50.90 | C. difficile colitis A04.71 | K50.90 first if managing Crohn's; A04.71 additional |
| Ulcerative colitis K51.90 | Acute flare (no infection) K51.90 | K51.90 with complication specifier — use K51.91 (with rectal bleeding) |
| Celiac disease K90.0 | Refractory celiac / acute gluten exposure K90.01 | K90.01 (Celiac disease with refractory sprue) as primary |
Chronic Diarrhea: Clinical Causes and Corresponding ICD-10 Codes
Understanding the clinical categories of chronic diarrhea helps in selecting the appropriate ICD 10 code for chronic diarrhea. The causes of diarrhea in the chronic setting fall into four main mechanistic categories, each with distinct coding implications:
Functional Causes
- IBS-D (Irritable Bowel Syndrome — Diarrhea-predominant) — K58.0 — The most common cause of chronic diarrhea in adults under 50 in India and globally. Diagnosis requires Rome IV criteria: recurrent abdominal pain at least 1 day/week for 3 months, associated with defecation, change in stool frequency, or change in stool form.
- Functional Diarrhea (no pain) — K59.1 — Meets criteria for loose stools without the pain component of IBS. Rome IV defines it as loose or watery stools without abdominal pain/discomfort in at least 25% of stools.
Inflammatory Causes
- Crohn's Disease — K50.x — Transmural granulomatous inflammation affecting any part of the GI tract. Typically presents with chronic diarrhea, abdominal pain, weight loss, and extra-intestinal manifestations.
- Ulcerative Colitis — K51.x — Mucosal inflammation confined to the colon and rectum. Presents with chronic bloody diarrhea, urgency, and tenesmus. More common in India than previously recognised.
- Microscopic Colitis — K52.89 — Normal colonoscopy appearance but histological inflammation (collagenous or lymphocytic colitis). Presents as chronic, watery, non-bloody diarrhea in older women. Often overlooked in India.
Malabsorptive Causes
- Celiac Disease — K90.0 — Autoimmune gluten intolerance causing villous atrophy and chronic diarrhea with malnutrition. Significantly underdiagnosed in India despite high prevalence in wheat-eating populations.
- Lactose Intolerance — K90.4 — Osmotic diarrhea triggered by lactose-containing foods. Affects 60–70% of South Asians due to lactase non-persistence. A very common unrecognised cause of chronic diarrhea in India.
- Chronic Pancreatitis / Exocrine Pancreatic Insufficiency — K86.1 — Fat malabsorption causing steatorrhea (pale, greasy, foul-smelling chronic stools). Common in patients with alcohol use history.
Secretory Causes
- Bile Acid Diarrhea (BAD) — K91.89 — Excess bile acids in the colon causing chronic watery diarrhea. Often misdiagnosed as IBS-D. Particularly common post-cholecystectomy.
- Medication-induced Diarrhea — K52.1 — Metformin, antibiotics, NSAIDs, PPIs, and laxative overuse are common causes of chronic diarrhea in India.
Diagnosing Chronic Diarrhea: Clinical Workup Before Coding
Accurate ICD-10 for chronic diarrhea (ICD 10 for chronic diarrhea) coding depends on accurate clinical diagnosis. The diagnostic workup for a patient presenting with diarrhea that has persisted for more than four weeks follows a structured approach. Understanding what is diarrhea clinically — its subtypes, mechanisms, and red flag features — is the foundation of this workup:
- History and symptom characterisation — Duration (establishes chronicity), stool frequency, consistency (Bristol Stool Scale), presence of blood or mucus, nocturnal symptoms (organic cause if present), associated abdominal pain, weight loss, and medication history. Nocturnal diarrhea strongly suggests an organic rather than functional cause.
- Basic investigations — Full blood count (FBC), CRP/ESR (inflammation markers), serum albumin, thyroid function, and stool microscopy + culture. These differentiate inflammatory from functional causes and rule out infection.
- Stool investigations — Faecal calprotectin (FC) is the most important non-invasive biomarker: FC <50 µg/g suggests functional cause (IBS/functional diarrhea); FC >200 µg/g suggests IBD. Stool for ova, cysts, and parasites (OCP) rules out parasitic chronic infection.
- Serological tests — Anti-tissue transglutaminase (tTG-IgA) for celiac disease; ASCA / pANCA for IBD differentiation; lactose hydrogen breath test for lactose intolerance.
- Colonoscopy with biopsy — Required for any patient with chronic diarrhea and red flag features (blood in stool, weight loss, age >50, family history of colon cancer or IBD). Biopsy is critical — microscopic colitis is invisible to the naked eye and only identifiable histologically.
- Imaging (where indicated) — CT enterography or MRI enterography for suspected Crohn's disease with small bowel involvement; CT abdomen for pancreatic causes.
Managing Chronic Diarrhea: Treatment and Gut Health Support
Treatment of chronic diarrhea is entirely determined by the underlying cause — which is why accurate diagnosis and ICD-10 coding matter clinically. How to stop diarrhea in the chronic setting requires addressing root causes, not just symptomatic antidiarrheal agents. The management framework by ICD-10 coded condition:
Functional Diarrhea (K59.1) and IBS-D (K58.0)
Low FODMAP diet is the first-line dietary intervention — eliminating fermentable carbohydrates that drive osmotic diarrhea in functional gut disorders. Soluble fibre supplementation (psyllium/Isabgol) paradoxically helps diarrhea by bulking stool. Gut-directed psychotherapy, stress management, and regularising meal patterns address the brain-gut axis component. Gut health supplements with evidence for IBS-D include peppermint oil capsules, Lactobacillus probiotics, and digestive enzymes.
IBD — Crohn's (K50.x) and UC (K51.x)
Requires specialist gastroenterology management — mesalamine (5-ASA) for UC, immunomodulators (azathioprine, methotrexate), and biologics (anti-TNF, anti-integrin) for moderate-severe disease. Dietary modifications (low-residue diet during flares) and nutritional support are important adjuncts. Understanding what is gut health and maintaining gut microbiome diversity is increasingly recognised as relevant to IBD management.
Malabsorptive Causes (K90.x)
Celiac disease requires lifelong strict gluten-free diet. Lactose intolerance is managed by dietary lactose restriction and lactase enzyme supplements. Pancreatic insufficiency requires pancreatic enzyme replacement therapy (PERT) with meals.
Dietary Management Across All Causes
Regardless of ICD-10 code, what to eat in diarrhea follows similar principles during acute episodes — low-fibre, easily digestible foods (rice, banana, curd, toast), adequate ORS, and avoidance of lactose, high-fat foods, and caffeine until stools normalise.
Frequently Asked Questions
The most commonly used ICD-10 code for chronic diarrhea is K52.9 (Noninfective gastroenteritis and colitis, unspecified) as a default when no specific cause is confirmed. More precise codes include K59.1 (Functional diarrhea), K58.0 (IBS with diarrhea), and condition-specific codes such as K50.90 (Crohn's disease) or K51.90 (Ulcerative colitis) when these are confirmed as the underlying cause.
K59.1 (Functional diarrhea) and K58.0 (IBS with diarrhea) are both used for chronic functional diarrhea without structural cause, but differ in one key criterion: IBS (K58.0) requires abdominal pain or discomfort as a symptom, while functional diarrhea (K59.1) is used when chronic loose stools occur without significant abdominal pain. K58.0 is more commonly appropriate as most functional chronic diarrhea patients have associated abdominal discomfort.
There is no single dedicated ICD-10 code for acute on chronic diarrhea — it requires dual coding. When an acute infectious episode occurs in a patient with pre-existing chronic diarrhea, the acute cause (e.g., A09 for infectious gastroenteritis, or A04.71 for C. difficile) is typically coded first, with the chronic condition (K58.0, K59.1, or K50.90) coded additionally. Sequencing depends on which condition is the primary reason for the clinical encounter.
Yes — the chronicity distinction matters in ICD-10. Acute diarrhea (lasting less than 14 days, typically infectious) is most commonly coded as A09 (Infectious gastroenteritis) or more specifically by organism (e.g., A00 for Cholera, A01 for Typhoid). Chronic diarrhea (4+ weeks) uses codes from the K52–K59 range for non-infectious causes, reflecting the different clinical entities involved.
IBS with diarrhea (IBS-D) is coded as K58.0 in ICD-10. This is the correct code for the most common cause of chronic diarrhea in adults under 50 — characterised by recurring abdominal pain, altered bowel habits, and loose stools without identifiable structural disease. In ICD-10-CM (US clinical modification), additional specificity is available with K58.0 remaining the primary code for diarrhea-predominant IBS.
K52.9 should be used for chronic diarrhea when the clinical workup is incomplete, when the cause is non-infectious but unspecified, or when signs of intestinal inflammation exist without a confirmed specific diagnosis (IBD not yet confirmed, microscopic colitis not biopsied, etc.). It should not be used when a more specific code is clinically and documentarily supportable — such as when IBS-D (K58.0) or functional diarrhea (K59.1) criteria are clearly met.
Chronic diarrhea lasting months is most commonly caused by IBS-D (K58.0), functional diarrhea (K59.1), IBD (Crohn's disease or ulcerative colitis), celiac disease, lactose intolerance, microscopic colitis, bile acid diarrhea, or chronic parasitic infection. In India, parasitic causes (Giardia, Entamoeba), lactose intolerance, and IBS are the most prevalent. Any diarrhea persisting beyond 4 weeks warrants clinical evaluation and appropriate ICD-10 coded documentation.
📋 Key Takeaways
- The primary ICD-10 code for chronic diarrhea is K52.9 (unspecified) — but more specific codes should always be used when the clinical diagnosis is confirmed
- K59.1 (Functional diarrhea) is for chronic loose stools without pain and no structural cause; K58.0 is for IBS with diarrhea when abdominal pain is present
- IBD-related chronic diarrhea uses K50.x (Crohn's disease) or K51.x (Ulcerative colitis) as the primary code
- Malabsorptive chronic diarrhea is coded by confirmed cause: K90.0 (Celiac), K90.4 (Lactose/fructose intolerance), K86.1 (Chronic pancreatitis)
- Acute-on-chronic diarrhea requires dual coding — the acute cause is typically sequenced first if it is the primary reason for the encounter
- Chronic diarrhea is clinically defined as loose or watery stools ≥3x/day for ≥4 weeks — this definition determines whether chronic ICD-10 codes apply
- Faecal calprotectin (FC) is the key biomarker differentiating functional (FC <50) from inflammatory (FC >200) chronic diarrhea before coding
- Nocturnal diarrhea, blood in stool, weight loss, and age over 50 are red flags requiring urgent workup before assigning any chronic diarrhea ICD-10 code
- In India, common undercoded causes of chronic diarrhea include lactose intolerance (K90.4), microscopic colitis (K52.89), and bile acid diarrhea (K91.89)
Why Mool Health for Chronic Digestive Health
Mool Health integrates Ayurvedic wisdom with contemporary clinical nutrition to deliver superior gut health outcomes. Chronic diarrhea — regardless of its ICD-10 code — reflects an underlying gut health imbalance that benefits from both accurate diagnosis and a holistic dietary and lifestyle approach. Our gut health specialists work alongside clinical diagnosis to provide personalised dietary, Ayurvedic, and microbiome support protocols for chronic digestive conditions.
If you or a patient is dealing with persistent diarrhea that has lasted more than 4 weeks, a comprehensive gut health evaluation can identify the root cause and guide both clinical coding and effective management.
⚠️ Medical Disclaimer
This article is published by Mool Health for educational and clinical reference purposes only. ICD-10 codes and clinical information provided are for general guidance and do not substitute the judgement of a qualified physician, gastroenterologist, or certified medical coder. ICD-10 coding guidelines are periodically updated — always refer to the current WHO ICD-10 or ICD-10-CM guidelines for definitive coding decisions. Patients experiencing chronic diarrhea should seek evaluation from a qualified healthcare professional. Do not self-diagnose or self-treat based on this content.