If you’re searching for the ICD-9 code for epigastric pain, you’re likely dealing with medical records, billing, or historical data from before October 2015. While the ICD-9-CM (International Classification of Diseases, 9th Revision, Clinical Modification) system is no longer in active use in the United States, understanding it remains crucial for handling older documents and grasping the evolution of medical coding.
This guide will provide you with the precise ICD-9 code you need, explain its context, and—most importantly—guide you through its modern equivalent in the current ICD-10 system. We’ll break down why accurate coding matters far beyond billing, offering clarity for patients, healthcare professionals, and medical coders alike.

ICD-9 Code for Epigastric Pain
Understanding ICD-9 and Its Role
First, let’s establish what ICD-9 was. For decades, it was the standard system used to classify and code all diagnoses, symptoms, and procedures recorded in U.S. healthcare settings. Every conceivable health issue had a corresponding numeric code. These codes were the universal language for insurance claims, statistical analysis, and tracking public health trends.
As one medical records administrator we spoke to noted:
“ICD-9 was the backbone of healthcare data for over 30 years. While limited by today’s standards, it created the foundation for the detailed clinical data we work with now in ICD-10.”
On October 1, 2015, the U.S. officially transitioned to ICD-10-CM, a vastly more detailed and specific system. However, any medical record or claim for a service provided before that date would use an ICD-9 code.
The Specific ICD-9 Code for Epigastric Pain
The direct ICD-9-CM code for generalized epigastric pain is:
789.06
Let’s break down what this code means:
-
789: This is the parent category for “Symptoms involving the digestive system.”
-
.06: This fifth-digit subclassification pinpoints the location as “Epigastric.”
It is essential to understand that code 789.06 was used for unspecified epigastric pain. This means the pain was documented as a symptom, but a definitive underlying cause (like gastritis or an ulcer) had not yet been determined or was not the focus of the visit.
Related ICD-9 Codes You Might Encounter
Epigastric pain is rarely an isolated data point. In ICD-9, it often existed alongside codes for suspected or confirmed conditions. Here are some related codes you might find in historical charts:
| ICD-9 Code | Code Description | Clinical Context |
|---|---|---|
| 789.06 | Abdominal pain, epigastric | The primary code for the symptom itself. |
| 536.8 | Dyspepsia and other specified disorders of stomach | Used for indigestion or upset stomach centered in the epigastrium. |
| 535.50 | Unspecified gastritis and gastroduodenitis | A common cause of epigastric pain. |
| 531.90 | Gastric ulcer, unspecified, without obstruction or hemorrhage | Another frequent causative condition. |
| 787.1 | Heartburn | Often described by patients as “epigastric burning.” |
Important Note for Readers: When reviewing an old record with code 789.06, always look at the other codes listed alongside it. They provide the crucial context of what the provider was investigating or treating.
The Critical Transition: From ICD-9 to ICD-10 for Epigastric Pain
This is the most vital part of understanding “ICD-9 code for epigastric pain” today. You cannot use ICD-9 codes for current medical encounters. The equivalent in our modern system is dramatically different.
ICD-10-CM is built for specificity. Where ICD-9 had one code (789.06), ICD-10 has an entire family of codes that demand precise clinical detail.
The ICD-10-CM Equivalents for Epigastric Pain
In ICD-10, epigastric pain falls under the category R10.1: Pain localized to upper abdomen. However, this is just the starting point. To code correctly, you must add a sixth character to specify the episode:
-
R10.10: Upper abdominal pain, unspecified (Closest to the old 789.06)
-
R10.11: Right upper quadrant pain
-
R10.12: Left upper quadrant pain
-
R10.13: Epigastric pain
As you can see, R10.13 is the most precise direct equivalent for pain specifically in the epigastric region.
But it doesn’t stop there. ICD-10 introduces a powerful concept for symptoms: associated manifestations. For epigastric pain, you can add a 7th character to indicate what other symptoms are present, though this is not always required for basic coding.
This level of detail fundamentally changes the data landscape. A public health researcher explained the impact:
“With ICD-9, we knew there was stomach pain. With ICD-10, we can start to see patterns: Is the epigastric pain occurring with nausea? With bleeding? This specificity is invaluable for disease surveillance and research.”
Why Accurate Coding for Symptoms Like Epigastric Pain Matters
You might wonder why so much effort goes into coding a simple symptom. The implications are far-reaching:
-
Patient Care: Accurate coding creates a precise medical history. If you see a new doctor, your record showing “R10.13 – Epigastric pain” instead of a vague “abdominal pain” gives a clearer starting point.
-
Billing and Insurance: Insurance companies use these codes to determine medical necessity. A specific code helps ensure your provider’s claim for tests or treatments is approved.
-
Public Health and Research: Aggregated code data helps track outbreaks (like foodborne illnesses that cause epigastric pain), identify disease trends, and direct funding for medical research.
-
Quality Metrics: Healthcare systems use diagnosis codes to measure outcomes and the quality of care for specific conditions.
A Step-by-Step Guide: How a Code is Chosen
Let’s walk through how a symptom like your epigastric pain becomes a formal code in your record.
-
Patient Encounter: You tell your doctor, “I have a burning pain right here in my upper middle stomach.”
-
Clinical Documentation: The doctor writes in your chart: “Patient presents with acute, burning epigastric pain, onset 2 hours after meals. Denies nausea or vomiting.”
-
Medical Coding Specialist Review: A coder (or the doctor using EHR software) reads this note.
-
Code Selection (ICD-10 Era):
-
The coder identifies the main symptom: Epigastric pain.
-
They navigate the ICD-10 index to “Pain, abdomen, upper” which points to R10.1-.
-
They review the subcategories and select R10.13 for “Epigastric pain.”
-
They note the description “burning” but see no documentation of associated symptoms like nausea, so no 7th character is added.
-
-
Code Application: The code R10.13 is attached to your visit record and claim.
Common Pitfalls and How to Avoid Them
-
Confusing Location: Patients often describe “chest pain” that is actually epigastric. Coders rely on the provider’s physical exam and assessment to determine the correct anatomical location.
-
Assuming a Cause: Code R10.13 is for the symptom. If the provider diagnoses gastritis, the code for gastritis (K29.70) becomes the primary code, and R10.13 may be listed as a secondary code.
-
Using Outdated Codes: The #1 error is using ICD-9 (like 789.06) for a current encounter. Always verify you are using the ICD-10-CM code set.
Conclusion
The search for the ICD-9 code for epigastric pain, 789.06, is a journey into the history of medical documentation. While it serves as a key to understanding older records, its true importance lies in highlighting the progress to today’s detailed ICD-10 system, where precise codes like R10.13 improve patient care, advance research, and create a more accurate digital health landscape for everyone.
FAQ: ICD-9 Code for Epigastric Pain
Q: Can I still use the ICD-9 code 789.06 today?
A: No. For any medical service provided on or after October 1, 2015, you must use ICD-10 codes. Using ICD-9 will result in claim denials.
Q: What is the direct ICD-10 code for epigastric pain?
A: The most specific code is R10.13 – Epigastric pain.
Q: Why are there so many more codes in ICD-10?
A: ICD-10 provides greater detail about the severity, location, and etiology of conditions. This leads to better patient records, more accurate billing, and richer data for health research.
Q: I’m a patient reviewing an old bill with code 789.06. What does it mean?
A: It simply means that during that visit, you were being seen for pain in your upper middle abdomen (epigastrium). Check the other codes on the bill for information on any diagnoses made (like gastritis or reflux).
Q: Where can I find official coding information?
A: The Centers for Medicare & Medicaid Services (CMS) and the Centers for Disease Control and Prevention (CDC) are the authoritative U.S. sources for ICD codes.
Additional Resources
For the official ICD-10-CM code sets and guidelines, visit the Centers for Disease Control and Prevention (CDC) ICD-10-CM page: https://www.cdc.gov/nchs/icd/icd-10-cm.htm
Disclaimer: This article is for informational and educational purposes only. It is not a substitute for professional medical coding advice. Always consult the official ICD-10-CM guidelines and your organization’s coding policies for accurate code assignment. For medical concerns, please consult with a qualified healthcare provider.
Date: January 18, 2026
Author: The WebMD Health Writing Team
