Gastroenteritis is an inflammation of the gastrointestinal tract – the pathway responsible for digestion (that includes the mouth, esophagus, stomach, and intestines. Also known as stomach flu, the condition is caused by a viral, bacterial or parasitic infection, with symptoms such as vomiting, diarrhea, and abdominal pain. Acute gastroenteritis is very common in the US, with foodborne bacteria causing 48 million cases annually, according to the CDC.
Stomach flu is diagnosed through symptoms, physical exams, and, if necessary, stool cultures or blood tests. Accurate ICD-10 coding for gastroenteritis is essential for ensuring proper reimbursement, maintaining regulatory compliance, and supporting reliable healthcare data reporting. Payers rely on the ICD-10 codes for gastroenteritis to establish medical necessity, process claims correctly, and determine reimbursement.
Knowing how to code gastroenteritis in ICD-10-CM not only protects revenue but also contributes to better treatment planning and patient care. AI-assisted medical coding services support precise diagnosis and procedure coding by quickly analyzing clinical documentation and suggesting the appropriate diagnosis codes.
This complete ICD-10 coding and documentation guide for acute gastroenteritis includes clinical documentation requirements and coding pitfalls.
Improve coding accuracy and reduce denials with our expert AI-assisted medical coding services.
Diagnosis
Gastroenteritis can affect individuals of all age groups, but it is especially common in young children. One of the most significant complications associated with the condition is dehydration, which occurs when the body loses excessive fluids and essential electrolytes through persistent vomiting and diarrhea. Without adequate fluid replacement, patients may develop serious imbalances that require medical attention.
Infants, young children, older adults, and individuals with weakened immune systems are at higher risk of dehydration and related complications. Preventive measures such as proper hand hygiene, safe food handling, and avoiding contaminated food and water play an important role in reducing the spread of infectious gastroenteritis.
Diagnosis of gastroenteritis typically begins with a review of the patient’s symptoms and a physical examination. When symptoms are severe or persist beyond a few days, additional tests may be ordered to identify the underlying cause of vomiting and diarrhea. These may include blood tests and stool studies to detect viral, bacterial, or parasitic infections.
Physicians may also use laboratory investigations such as a complete blood count (CBC), electrolyte panel, and kidney function tests to evaluate dehydration, infection, and the patient’s overall clinical status. Careful documentation of diagnostic findings helps support accurate diagnosis coding and appropriate treatment planning.
Documenting Gastroenteritis to Ensure Accurate ICD-10 Coding
Clinical documentation for gastroenteritis should clearly state the cause (viral, bacterial, parasitic, unspecified) whenever it is known or suspected. Documentation must clearly describe symptoms, duration, and dehydration markers (e.g., mucous membranes, skin turgor). Etiology directly affects diagnosis code selection and claim accuracy.
Diarrhea is one of the most common symptoms of gastroenteritis. When infection or inflammation affects the intestines, the colon may lose its ability to absorb and retain fluids effectively, resulting in loose or watery stools.
Other symptoms that may be documented include:
- Abdominal pain or cramping
- Unintentional weight loss, which may indicate dehydration
- Poor feeding, especially in infants
- Muscle aches or joint stiffness
- Incontinence or loss of bowel control
- Fever
- Excessive sweating
- Clammy or cool skin
Careful documentation of etiology, severity, and duration, dehydration or complications and associated conditions is essential for coders to assign the most accurate diagnosis codes and reduce the risk of claim denials.
ICD-10 Coding for Gastroenteritis
Diagnosis coding for gastroenteritis depends entirely on the cause (bacterial, viral, or parasitic) and whether the condition is infectious or non-infectious.
- Infectious Gastroenteritis
- A09 Infectious gastroenteritis and colitis, unspecified
- The physician documents infectious gastroenteritis without identifying the organism.
- Stool studies are pending or inconclusive, but the provider confirms an infectious cause.
- The documentation states “acute infectious diarrhea” or “infectious colitis” without further detail.
- A08.4 Viral gastroenteritis, unspecified
- A08.11 Acute gastroenteropathy due to Norwalk agent (Norovirus)
- A04.72 Enterocolitis due to Clostridium difficile, foodborne
- A09 Infectious gastroenteritis and colitis, unspecified
- A02.0 Salmonella enteritis
The ICD-10 code for acute gastroenteritis is A09, which includes infectious, bacterial, and unspecified diarrhea. This code is part of the chapter “Certain infectious and parasitic diseases” (A00-B99).
When A09 is reported:
Other relevant codes include:
- Non-Infectious Gastroenteritis
- K52.0 Gastroenteritis and colitis due to radiation
- K52.1 Toxic gastroenteritis and colitis (drug-induced, etc.)
- K52.2 Allergic and dietetic gastroenteritis and colitis
- K52.21 Food protein-induced enterocolitis syndrome (FPIES)
- K52.3 Indeterminate colitis
- K52.8 Other specified noninfective gastroenteritis and colitis
- K52.81: Eosinophilic gastritis or gastroenteritis
- K52.83: Microscopic colitis (includes Collagenous and Lymphocytic colitis)
- K52.831 Collagenous colitis
- K52.832 Lymphocytic colitis
- K52.838 Other microscopic colitis
- K52.839 Other microscopic colitis, unspecified
- K52.89 Other specified non-infective gastroenteritis and colitis
- K52.9 Non-infectious gastroenteritis and colitis, unspecified
Noninfectious gastroenteritis is reported using codes from category K52 (Other and unspecified noninfective gastroenteritis and colitis). These codes are used when the provider documents that the condition is not caused by an infectious organism.
K52 Other and unspecified noninfective gastroenteritis and colitis
This code covers non-infectious inflammation of the stomach and intestines, such as colitis, enteritis, or gastroenteritis, excluding infectious causes. This category is commonly used for, but not limited to, allergic, dietetic, or drug-induced cases. Codes in this category include:
K52.9 code is used when documentation confirms noninfectious gastroenteritis or colitis but does not specify the exact cause (such as toxic, allergic, or other specific causes).
- Related Symptoms and Complications
- R11.2 Nausea with vomiting, unspecified
- R19.7 Diarrhea, unspecified
- E86.0 Dehydration (Crucial for medical necessity if IV fluids are given)
- R10.9 Unspecified abdominal pain
Since gastroenteritis may be associated with other complications, the following codes are often reported along with the other codes:
Important Coding Tips and Best Practices
- A08.4 Viral intestinal infection, unspecified is used as a standardized, billable diagnosis code for gastroenteritis or enteritis caused by a virus when the specific viral agent (such as norovirus or rotavirus) is not specified (the clinical evaluation suggests a viral cause, but no organism is identified). The documentation should support infectious nature when using this unspecified gastroenteritis ICD-10 code.
- K52.9 Non-infective gastroenteritis and colitis, unspecified is reported when the documentation indicates that the patient’s stomach and intestinal inflammation is not caused by an infection (bacteria, virus, or parasite), but does not identify a specific noninfective cause such as toxic, allergic, or diet-related gastroenteritis.
- Always code to the highest level of specificity documented in the medical record to avoid claim denials.
- Accurate coding for gastroenteritis requires careful adherence to ICD-rules, and payer-specific guidelines. Coders should assign codes based on a confirmed, documented diagnosis. Clear linkage between laboratory results, clinical findings, and the physician’s diagnosis helps ensure that the selected code reflects the true cause and severity of the condition.
- Complete documentation is essential to support precise code selection. Providers should document the etiology of gastroenteritis whenever known, along with the severity of symptoms and the duration of the illness, since these details help determine the most specific code. The medical record should also note dehydration, electrolyte imbalance, or other complications, as well as any associated conditions that may affect treatment or reimbursement.
Common Coding Errors and How to Avoid Them
Using unspecified codes: One common coding error is assigning unspecified gastroenteritis codes even when the documentation identifies a specific cause, such as viral or bacterial infection. Coders should always review the record carefully and select the most specific code supported by the provider’s documentation to ensure accurate reporting and reimbursement.
Confusing gastroenteritis with other GI conditions: Gastroenteritis may present with symptoms similar to other gastrointestinal disorders, such as colitis, food poisoning, or inflammatory bowel conditions. Accurate code selection depends on clearly identifying the provider’s final diagnosis rather than coding based only on symptoms or assumptions.
Not reporting secondary diagnoses: Associated conditions such as dehydration, electrolyte imbalance, or nausea and vomiting are sometimes overlooked. When documented and clinically significant, reporting these secondary diagnoses provides a more complete picture of the patient’s condition and supports appropriate reimbursement.
Boost Coding Accuracy and Compliance with Professional Support
ICD-10 coding for gastroenteritis can be complex because accurate code selection depends on clearly distinguishing between infectious and noninfectious causes, identifying the specific organism when possible, and capturing associated complications.
AI-assisted medical coding for gastroenterology can help identify missing details or documentation gaps that could lead to denials. By leveraging Natural Language Processing (NLP) and machine learning, these systems move beyond simple keyword matching to understanding clinical intent. Many tools use built-in edits and rule checks to support coding accuracy and compliance.
Partnering a medical coding company that leverages AI tools combined with coder review supports accurate medical coding for gastrointestinal infections. By enhancing accuracy, reducing manual workload, and improving coding speed, professional medical billing and coding services help healthcare providers ensure compliance with ICD-10 guidelines for reporting gastroenteritis, reduce denials, and optimize reimbursement and reporting.
Ensure compliant gastroenterology coding and billing and optimize reimbursement with our expert support.




