ICD-10 Code for EGD Procedure

There isn’t one single ICD-10 code for an EGD, and that’s exactly where a lot of billing teams get stuck. An esophagogastroduodenoscopy is a procedure, not a diagnosis, so it’s reported with a CPT code (43235 through 43270) on the claim, while an ICD-10-CM diagnosis code sits right beside it to explain why the scope was medically necessary in the first place. Pick the wrong pairing, or leave the diagnosis too vague, and the claim comes back denied even though the procedure itself was coded perfectly.

This guide walks through every diagnosis code gastroenterology coders actually use with an EGD, the separate ICD-10-PCS codes hospitals use for inpatient facility claims, and the documentation habits that keep these claims from bouncing back.

Why “ICD-10 Code for EGD” Is a Bit of a Trick Question

Three different code sets touch an EGD claim, and mixing them up is the single biggest source of confusion:

  • CPT codes (43235–43270) describe the procedure itself, the scope, the biopsy, the dilation, whatever the physician actually did. Our EGD CPT code guide breaks down the full range if you need the procedure side of the claim.
  • ICD-10-CM codes describe the diagnosis or symptom that justified doing the procedure, things like reflux, dysphagia, or GI bleeding. This is what most people mean when they search “ICD-10 code for EGD.”
  • ICD-10-PCS codes are a separate seven-character system used only for inpatient hospital facility claims. They describe the procedure again, just in a different format than CPT, and they never appear on a physician’s professional claim.

An outpatient GI practice will almost never touch ICD-10-PCS. A hospital coding an inpatient stay will never use CPT for the procedure line. Knowing which lane you’re in decides which table below actually applies to your claim.

Common ICD-10-CM Diagnosis Codes Used to Justify an EGD

Payers approve an EGD based on medical necessity, meaning the diagnosis code has to match a documented sign, symptom, or condition that supports scoping the upper GI tract. Here are the diagnosis codes coders reach for most often.

GERD and Esophagitis

ICD-10-CM CodeDescription
K21.9Gastro-esophageal reflux disease without esophagitis
K21.00GERD with esophagitis, without bleeding
K21.01GERD with esophagitis, with bleeding
K20.8Other esophagitis
K20.9Esophagitis, unspecified
K22.70Barrett’s esophagus without dysplasia
K22.719Barrett’s esophagus with dysplasia, unspecified

Dysphagia and Swallowing Disorders

ICD-10-CM CodeDescription
R13.10Dysphagia, unspecified
R13.12Dysphagia, oropharyngeal phase
R13.13Dysphagia, esophageal phase
R13.14Dysphagia, pharyngoesophageal phase
K22.2Esophageal obstruction (structural cause)
K22.4Dyskinesia of esophagus (motility cause)

GI Bleeding and Anemia Workups

ICD-10-CM CodeDescription
K92.2Gastrointestinal hemorrhage, unspecified
K92.1Melena
K92.0Hematemesis
D50.0Iron deficiency anemia secondary to blood loss (chronic)
D64.9Anemia, unspecified

Ulcers and Structural Findings

ICD-10-CM CodeDescription
K25.9Gastric ulcer, unspecified, without hemorrhage or perforation
K26.9Duodenal ulcer, unspecified, without hemorrhage or perforation
K27.9Peptic ulcer, site unspecified, without hemorrhage or perforation
K44.9Diaphragmatic hernia (hiatal hernia) without obstruction or gangrene
K31.89Other diseases of stomach and duodenum

Symptoms and Screening Indications

ICD-10-CM CodeDescription
R10.13Epigastric pain
R11.10Vomiting, unspecified
R63.4Abnormal weight loss
Z12.11Encounter for screening for malignant neoplasm of the esophagus
Z13.810Encounter for screening for upper gastrointestinal disorder
Z87.19Personal history of other diseases of the digestive system

A note on precision: R10, R11, and R13 codes work fine for a first diagnostic scope, but once the EGD comes back with actual findings, the claim (and the chart) should move to the specific diagnosis the endoscopy confirmed. A payer that sees “unspecified” symptom codes on every single claim from a practice, month after month, eventually starts asking questions, and that’s a conversation better handled proactively through a medical billing audit than reactively during a payer review.

ICD-10-PCS Codes for EGD (Inpatient Facility Coding)

If you’re coding a hospital inpatient stay, the EGD gets reported through ICD-10-PCS instead of CPT. These codes live in the Medical and Surgical section (character one is always “0”) and follow the Gastrointestinal System body system (character two is “D”).

ICD-10-PCS CodeDescription
0DJ08ZZInspection of upper intestinal tract, via natural or artificial opening
0DJ68ZZInspection of stomach, via natural or artificial opening endoscopic
0D968ZXDrainage of stomach, diagnostic, via natural or artificial opening endoscopic (diagnostic biopsy)
0DB68ZXExcision of stomach, diagnostic, via natural or artificial opening endoscopic
0DB98ZXExcision of duodenum, diagnostic, via natural or artificial opening endoscopic
0D598ZZDestruction of duodenum, via natural or artificial opening endoscopic

The root operation is what changes the code, not the word “EGD” itself. A simple look-and-see procedure is “Inspection.” A biopsy is “Excision” or “Drainage” depending on whether tissue or fluid was sampled. This is the same logic that trips people up on the CPT side, just expressed through a completely different character set, which is exactly why the two systems can’t be used interchangeably.

Matching the Diagnosis to the Procedure: A Few Real Scenarios

Scenario 1: A patient reports chronic heartburn unresponsive to medication. The physician performs a diagnostic EGD and finds no inflammation. Code the visit with K21.9 (GERD without esophagitis) paired with CPT 43235.

Scenario 2: A patient presents with melena and a drop in hemoglobin. The EGD reveals a bleeding gastric ulcer, and the physician controls the bleed endoscopically. The correct pairing is K25.0 (gastric ulcer, acute, with hemorrhage) with CPT 43255, not K92.1 alone, since the confirmed ulcer is now the more specific diagnosis.

Scenario 3: A patient with longstanding GERD is scoped for surveillance and the report confirms Barrett’s esophagus with low-grade dysplasia. The claim should carry K22.711, not a general GERD code, because the confirmed pathology is always more specific than the presenting symptom that originally prompted the scope.

Scenario 4: A screening EGD is performed on a patient with a family history of esophageal cancer and no active symptoms. Z12.11 supports the screening intent, but if a lesion is found and biopsied in the same session, the diagnosis code shifts to reflect the actual finding, and the CPT code shifts too, since a screening that becomes diagnostic changes both halves of the claim.

The pattern across all four: once the EGD produces a confirmed finding, that finding becomes the primary diagnosis on the claim. Coding the pre-procedure symptom after a definitive result is documented is one of the more common reasons GI claims get flagged during payer review.

Documentation That Supports the Diagnosis Code

A diagnosis code is only as strong as the note behind it. Before submitting an EGD claim, the operative report and clinical note should clearly answer:

  1. What symptom or condition prompted the referral for endoscopy?
  2. What did the EGD actually find, esophagus, stomach, and duodenum?
  3. Was a biopsy taken, and does the pathology report change the diagnosis once it’s back?
  4. If this was a screening exam, did it convert to diagnostic during the same encounter?
  5. Does the final diagnosis code reflect the confirmed finding rather than just the presenting complaint?

This same discipline matters just as much before the procedure happens. Payers increasingly want a specific indication on file during insurance eligibility verification and prior authorization, not a vague referral for “GI symptoms,” so front-desk and clinical staff both have a role in getting the diagnosis right before the scope is even scheduled.

Common Denial Reasons Tied to EGD Diagnosis Coding

  • Unspecified codes used long-term. R10.9 or R11.10 work for the first visit, but repeated use on every claim, without ever updating to a confirmed diagnosis after results come back, is a pattern payers notice.
  • Diagnosis doesn’t match the LCD. Many Medicare Administrative Contractors publish Local Coverage Determinations listing which diagnosis codes support EGD medical necessity. A code technically related to the GI tract but absent from the LCD list still gets denied.
  • Screening code billed with a therapeutic CPT code. If Z12.11 or Z13.810 is on the claim but the physician performed a biopsy or polypectomy, the diagnosis and procedure no longer match, and the claim needs the updated finding-based code instead.
  • Diagnosis pulled from history instead of the current encounter note. Coders sometimes carry forward a diagnosis from a prior visit instead of coding from the current EGD report, which creates a mismatch an auditor can spot immediately.
  • Combination codes ignored. GERD with esophagitis and bleeding has its own code, K21.01. Reporting K21.9 with a separate bleeding code instead of the single combination code is technically inaccurate and can affect risk adjustment and reimbursement accuracy.

Recurring denials on any single procedure type are rarely a one-off problem. If your GI claims keep bouncing back for the same handful of reasons, it’s usually worth tracing the pattern through proper denial management rather than reworking each claim individually as it comes in.

2026 Coding Notes

The ICD-10-CM code set for 2026 didn’t restructure the core GI diagnosis codes covered here, GERD, dysphagia, ulcers, and GI bleeding all kept their existing structure. What has shifted is payer scrutiny: several Medicare Administrative Contractors updated their EGD-related LCDs this year to require more granular symptom documentation before approving repeat scopes on the same patient within a short window, particularly for surveillance endoscopies tied to Barrett’s esophagus. Practices that scope the same patient population regularly are seeing more requests for supporting clinical notes, not fewer, so keeping the diagnosis current with each visit matters more in 2026 than it did a few years back.

Frequently Asked Questions

Is there one specific ICD-10 code for an EGD procedure? No. EGD is reported with a CPT code, not an ICD-10-CM code. The ICD-10-CM code on the claim reflects the diagnosis or symptom that justified the procedure, such as K21.9 for GERD or R13.10 for dysphagia.

What ICD-10 code is used for a screening EGD? Z12.11 supports screening for esophageal malignancy, and Z13.810 supports a general screening for upper gastrointestinal disorders, when the patient has no active symptoms.

What ICD-10-CM code is used most often with CPT 43235? K21.9 (GERD without esophagitis) is one of the highest-volume pairings with a diagnostic EGD, though the correct code always depends on the documented indication for that specific patient.

Do inpatient hospital claims use CPT codes for an EGD? No. Inpatient facility claims use ICD-10-PCS codes, such as 0DJ68ZZ for a diagnostic inspection of the stomach. CPT codes are reserved for outpatient and professional claims.

What happens if the diagnosis code doesn’t match the EGD findings? The claim can be denied for lack of medical necessity, or flagged during a payer audit for a documentation mismatch. The diagnosis code should always reflect the most specific, current finding supported by the note.

Getting the Diagnosis-to-Procedure Pairing Right, Every Time

Correct EGD coding isn’t just about knowing the CPT range, it’s about pairing that procedure with a diagnosis code the documentation actually supports, updated to reflect what the scope found rather than just what prompted it. That single habit prevents most of the denials gastroenterology practices see on this procedure.

If your practice is dealing with repeat denials, underpayments, or slow turnaround on GI claims, our team can review your current diagnosis-to-CPT pairings and show you exactly where the revenue is slipping. Talk to our billing specialists about a free coding review for your gastroenterology claims.

Write a Reply or Comment

Your email address will not be published. Required fields are marked *