K20-K31
Medium Complexity

Diseases of esophagus, stomach and duodenum

Primary Specialty: Gastroenterology
Last Updated: 2025-09-10

ICD-10 Codes (114)

90 billable
16 category headers
K21
Gastro-esophageal reflux disease
View
K21.0
Gastro-esophageal reflux disease with esophagitis
View
K21.00
Billable
Gastro-esophageal reflux disease with esophagitis, without bleeding
View
K21.01
Billable
Gastro-esophageal reflux disease with esophagitis, with bleeding
View
K21.9
Billable
Gastro-esophageal reflux disease without esophagitis
View
K22
Other diseases of esophagus
View
K22.0
Billable
Achalasia of cardia
View
K22.1
Ulcer of esophagus
View
K22.10
Billable
Ulcer of esophagus without bleeding
View
K22.11
Billable
Ulcer of esophagus with bleeding
View
K22.2
Billable
Esophageal obstruction
View
K22.3
Billable
Perforation of esophagus
View
K22.4
Billable
Dyskinesia of esophagus
View
K22.5
Billable
Diverticulum of esophagus, acquired
View
K22.6
Billable
Gastro-esophageal laceration-hemorrhage syndrome
View
K22.7
Barrett's esophagus
View
K22.70
Billable
Barrett's esophagus without dysplasia
View
K22.71
Barrett's esophagus with dysplasia
View
K22.710
Billable
Barrett's esophagus with low grade dysplasia
View
K22.711
Billable
Barrett's esophagus with high grade dysplasia
View
K22.719
Billable
Barrett's esophagus with dysplasia, unspecified
View
K22.8
Other specified diseases of esophagus
View
K22.81
Billable
Esophageal polyp
View
K22.82
Billable
Esophagogastric junction polyp
View
K22.89
Billable
Other specified disease of esophagus
View
K22.9
Billable
Disease of esophagus, unspecified
View
K23
Billable
Disorders of esophagus in diseases classified elsewhere
View
K25
Gastric ulcer
View
K25.0
Billable
Acute gastric ulcer with hemorrhage
View
K25.1
Billable
Acute gastric ulcer with perforation
View
K25.2
Billable
Acute gastric ulcer with both hemorrhage and perforation
View
K25.3
Billable
Acute gastric ulcer without hemorrhage or perforation
View
K25.4
Billable
Chronic or unspecified gastric ulcer with hemorrhage
View
K25.5
Billable
Chronic or unspecified gastric ulcer with perforation
View
K25.6
Billable
Chronic or unspecified gastric ulcer with both hemorrhage and perforation
View
K25.7
Billable
Chronic gastric ulcer without hemorrhage or perforation
View
K25.9
Billable
Gastric ulcer, unspecified as acute or chronic, without hemorrhage or perforation
View
K26
Duodenal ulcer
View
K26.0
Billable
Acute duodenal ulcer with hemorrhage
View
K26.1
Billable
Acute duodenal ulcer with perforation
View
K26.2
Billable
Acute duodenal ulcer with both hemorrhage and perforation
View
K26.3
Billable
Acute duodenal ulcer without hemorrhage or perforation
View
K26.4
Billable
Chronic or unspecified duodenal ulcer with hemorrhage
View
K26.5
Billable
Chronic or unspecified duodenal ulcer with perforation
View
K26.6
Billable
Chronic or unspecified duodenal ulcer with both hemorrhage and perforation
View
K26.7
Billable
Chronic duodenal ulcer without hemorrhage or perforation
View
K26.9
Billable
Duodenal ulcer, unspecified as acute or chronic, without hemorrhage or perforation
View
K27
Peptic ulcer, site unspecified
View
K27.0
Billable
Acute peptic ulcer, site unspecified, with hemorrhage
View
K27.1
Billable
Acute peptic ulcer, site unspecified, with perforation
View
K27.2
Billable
Acute peptic ulcer, site unspecified, with both hemorrhage and perforation
View
K27.3
Billable
Acute peptic ulcer, site unspecified, without hemorrhage or perforation
View
K27.4
Billable
Chronic or unspecified peptic ulcer, site unspecified, with hemorrhage
View
K27.5
Billable
Chronic or unspecified peptic ulcer, site unspecified, with perforation
View
K27.6
Billable
Chronic or unspecified peptic ulcer, site unspecified, with both hemorrhage and perforation
View
K27.7
Billable
Chronic peptic ulcer, site unspecified, without hemorrhage or perforation
View
K27.9
Billable
Peptic ulcer, site unspecified, unspecified as acute or chronic, without hemorrhage or perforation
View
K28
Gastrojejunal ulcer
View
K28.0
Billable
Acute gastrojejunal ulcer with hemorrhage
View
K28.1
Billable
Acute gastrojejunal ulcer with perforation
View
K28.2
Billable
Acute gastrojejunal ulcer with both hemorrhage and perforation
View
K28.3
Billable
Acute gastrojejunal ulcer without hemorrhage or perforation
View
K28.4
Billable
Chronic or unspecified gastrojejunal ulcer with hemorrhage
View
K28.5
Billable
Chronic or unspecified gastrojejunal ulcer with perforation
View
K28.6
Billable
Chronic or unspecified gastrojejunal ulcer with both hemorrhage and perforation
View
K28.7
Billable
Chronic gastrojejunal ulcer without hemorrhage or perforation
View
K28.9
Billable
Gastrojejunal ulcer, unspecified as acute or chronic, without hemorrhage or perforation
View
K29
Gastritis and duodenitis
View
K29.0
Acute gastritis
View
K29.00
Billable
Acute gastritis without bleeding
View
K29.01
Billable
Acute gastritis with bleeding
View
K29.2
Alcoholic gastritis
View
K29.20
Billable
Alcoholic gastritis without bleeding
View
K29.21
Billable
Alcoholic gastritis with bleeding
View
K29.3
Chronic superficial gastritis
View
K29.30
Billable
Chronic superficial gastritis without bleeding
View
K29.31
Billable
Chronic superficial gastritis with bleeding
View
K29.4
Chronic atrophic gastritis
View
K29.40
Billable
Chronic atrophic gastritis without bleeding
View
K29.41
Billable
Chronic atrophic gastritis with bleeding
View
K29.5
Unspecified chronic gastritis
View
K29.50
Billable
Unspecified chronic gastritis without bleeding
View
K29.51
Billable
Unspecified chronic gastritis with bleeding
View
K29.6
Other gastritis
View
K29.60
Billable
Other gastritis without bleeding
View
K29.61
Billable
Other gastritis with bleeding
View
K29.7
Gastritis, unspecified
View
K29.70
Billable
Gastritis, unspecified, without bleeding
View
K29.71
Billable
Gastritis, unspecified, with bleeding
View
K29.8
Duodenitis
View
K29.80
Billable
Duodenitis without bleeding
View
K29.81
Billable
Duodenitis with bleeding
View
K29.9
Gastroduodenitis, unspecified
View
K29.90
Billable
Gastroduodenitis, unspecified, without bleeding
View
K29.91
Billable
Gastroduodenitis, unspecified, with bleeding
View
K30
Billable
Functional dyspepsia
View
K31
Other diseases of stomach and duodenum
View
K31.0
Billable
Acute dilatation of stomach
View
K31.1
Billable
Adult hypertrophic pyloric stenosis
View
K31.2
Billable
Hourglass stricture and stenosis of stomach
View
K31.3
Billable
Pylorospasm, not elsewhere classified
View
K31.4
Billable
Gastric diverticulum
View
K31.5
Billable
Obstruction of duodenum
View
K31.6
Billable
Fistula of stomach and duodenum
View
K31.7
Billable
Polyp of stomach and duodenum
View
K31.8
Other specified diseases of stomach and duodenum
View
K31.81
Angiodysplasia of stomach and duodenum
View
K31.811
Billable
Angiodysplasia of stomach and duodenum with bleeding
View
K31.819
Billable
Angiodysplasia of stomach and duodenum without bleeding
View
K31.82
Billable
Dieulafoy lesion (hemorrhagic) of stomach and duodenum
View
K31.83
Billable
Achlorhydria
View
K31.84
Billable
Gastroparesis
View
K31.89
Billable
Other diseases of stomach and duodenum
View
K31.9
Billable
Disease of stomach and duodenum, unspecified
View

Updates & Changes

FY 2026 Updates

Current Year

New Codes (1)

K50.919
Crohn's disease, unspecified, with perianal disease complications

Revised Codes (2)

K51.90
Ulcerative colitis, unspecified, without complications - updated endoscopic severity scoring
K50.90
Crohn's disease, unspecified, without complications - enhanced phenotyping

Deleted Codes

No codes deleted in this range for FY 2026

Historical Changes

  • •FY 2025: Routine maintenance updates with minor terminology clarifications
  • •FY 2024: Enhanced specificity requirements for certain code ranges
  • •FY 2023: Updated documentation guidelines for improved clarity

Upcoming Changes

  • •Proposed updates pending review by Coordination and Maintenance Committee
  • •Under consideration: Enhanced digital health integration codes

Implementation Guidance

  • •Review all FY 2026 updates for K20-K31 codes before implementation
  • •Always verify the most current codes in the ICD-10-CM manual
  • •Ensure clinical documentation supports the selected diagnosis codes
  • +3 more guidance items...

Range Overview

high priority

The ICD-10 code range K20-K31 covers diseases of the esophagus, stomach, and duodenum. This includes conditions such as gastroesophageal reflux disease (GERD), gastritis, duodenitis, and peptic ulcers. The codes are used to document these conditions in medical records, and are crucial for accurate billing and statistical tracking of disease prevalence.

Key Usage Points:

  • •Always use specific codes that identify the exact condition being treated.
  • •Use additional codes to identify any associated conditions or complications.
  • •For diseases of the esophagus, use codes K20-K22.
  • •For diseases of the stomach and duodenum, use codes K25-K31.
  • •Remember to code first any associated alcohol or tobacco use.

Coding Guidelines

When to Use:

  • ✓When a patient is diagnosed with a disease of the esophagus, stomach, or duodenum.
  • ✓When a patient has complications related to a disease of the esophagus, stomach, or duodenum.
  • ✓When a patient has a history of diseases of the esophagus, stomach, or duodenum.
  • ✓When a patient is being treated for a disease of the esophagus, stomach, or duodenum.

When NOT to Use:

  • ✗When a patient has symptoms but no definitive diagnosis.
  • ✗When a patient has a disease of the digestive system not covered by the K20-K31 range.
  • ✗When a patient has a condition that is a direct result of another condition (code the primary condition first).
  • ✗When a patient has a disease of the esophagus, stomach, or duodenum that is not the focus of treatment.

Code Exclusions

Always verify exclusions with the most current version of the ICD-10 guidelines.

Documentation Requirements

Proper documentation for diseases of the esophagus, stomach, and duodenum should include a clear and specific diagnosis, any related conditions or complications, and the patient's history. Documentation should be detailed and comprehensive to support accurate coding.

Clinical Information:

  • •Specific diagnosis
  • •Location of the disease
  • •Severity of the disease
  • •Any associated complications
  • •Patient's medical history

Supporting Evidence:

  • •Lab results
  • •Imaging results
  • •Endoscopy results
  • •Physician's notes
Good Documentation Example:

Patient diagnosed with acute gastritis due to Helicobacter pylori. Endoscopy confirmed the diagnosis. Patient has a history of peptic ulcer disease.

Poor Documentation Example:

Patient has stomach pain.

Common Documentation Errors:

  • âš Not documenting the specific diagnosis
  • âš Not documenting associated conditions or complications
  • âš Not documenting the patient's history
  • âš Not providing supporting evidence

Range Statistics

11
Total Codes
90
Billable
Complexity:
Medium
Primary Use:Clinical Documentation
Chapter:11

Coding Complexity

Medium
Complexity Rating

The coding complexity for diseases of the esophagus, stomach, and duodenum is rated as medium due to the need for specific diagnoses, the potential for associated conditions and complications, and the importance of the patient's history. Additionally, some conditions may require surgical intervention, which can increase coding complexity.

Key Factors:
  • â–¸Specificity of the diagnosis
  • â–¸Presence of associated conditions or complications
  • â–¸Patient's medical history
  • â–¸Need for surgical intervention
  • â–¸Chronicity of the disease

Specialty Focus

These codes are most commonly used by gastroenterologists, but may also be used by primary care physicians, surgeons, and other specialists who treat diseases of the esophagus, stomach, and duodenum.

Primary Specialties:
Gastroenterology
60%
General Surgery
30%
Primary Care
10%
Clinical Scenarios:
  • • A patient with chronic GERD undergoing endoscopy.
  • • A patient with a peptic ulcer being treated with medication.
  • • A patient with gastritis due to H. pylori infection.
  • • A patient with a history of duodenitis being monitored for recurrence.
  • • A patient undergoing surgery for a severe peptic ulcer.

Resources & References

There are many resources available to help with coding diseases of the esophagus, stomach, and duodenum. These include the official ICD-10 guidelines, clinical reference materials, and educational resources.

Official Guidelines:

  • ICD-10-CM Official Guidelines for Coding and Reporting
  • American Health Information Management Association (AHIMA) Coding Guidelines
  • Centers for Medicare and Medicaid Services (CMS) ICD-10 Resources

Clinical References:

  • American Gastroenterological Association (AGA) Clinical Guidelines
  • American College of Gastroenterology (ACG) Clinical Guidelines

Educational Materials:

  • AHIMA ICD-10 Training Materials
  • CMS ICD-10 Educational Resources

Frequently Asked Questions

Can I use a K20-K31 code if the patient has symptoms but no definitive diagnosis?

No, you should only use a K20-K31 code if the patient has a definitive diagnosis of a disease of the esophagus, stomach, or duodenum.

What if the patient has a disease of the esophagus, stomach, or duodenum that is not the focus of treatment?

You should still code the disease, but it may not be the primary code depending on the focus of treatment.