ICD-10 Code

A Comprehensive Guide to ICD-10 codes for nephrolithiasis

The sudden, excruciating flank pain that radiates to the groin, the nausea, the sight of blood in the urine—a kidney stone attack, or renal colic, is an event that leaves an indelible mark on those who experience it. For the patient, it is a medical emergency. For the clinician, it is a diagnostic and therapeutic challenge. But for the medical coder, the health informatics specialist, and the healthcare administrator, it is a story told not in words, but in codes. At the heart of this story lies a seemingly simple alphanumeric sequence from the International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM): a code for nephrolithiasis.

However, to view ICD-10 coding for kidney stones as a simple, clerical task is to misunderstand its profound significance in the modern healthcare ecosystem. The correct assignment of a nephrolithiasis code is a critical linchpin connecting patient care, financial reimbursement, public health tracking, and clinical research. An imprecise code can lead to claim denials, skewed health data, and an inaccurate portrayal of the patient’s condition and the resources required to treat it. This article serves as a definitive guide, moving beyond basic code lookup to explore the intricate layers of specificity required for accurate nephrolithiasis coding. We will dissect the structure of the relevant codes, explore the importance of laterality and associated conditions, analyze real-world clinical scenarios, and illuminate the common pitfalls that can compromise data integrity and revenue cycle efficiency. By mastering the nuances of ICD-10 for nephrolithiasis, healthcare professionals ensure that the clinical narrative of each patient’s journey with kidney stones is translated with precision, clarity, and purpose.

ICD-10 codes for nephrolithiasis

ICD-10 codes for nephrolithiasis

2. Understanding the Foundation: What is ICD-10-CM?

Before delving into the specifics of nephrolithiasis, it is essential to understand the system that houses its codes. The ICD-10-CM is the American version of the World Health Organization’s International Statistical Classification of Diseases and Related Health Problems, 10th Revision. It is the standard diagnostic tool for epidemiology, health management, and clinical purposes in the United States. This system provides a vast and detailed taxonomy of diseases, signs, symptoms, abnormal findings, complaints, social circumstances, and external causes of injury or disease.

The primary purposes of ICD-10-CM are:

  • Reimbursement: It forms the foundation of the medical billing process. Diagnoses codes are required on all claims submitted to insurers, including Medicare and Medicaid, to justify the medical necessity of the services or procedures rendered.

  • Epidemiology and Public Health: It allows for the tracking and analysis of disease prevalence, incidence, and patterns. This data is crucial for public health initiatives, resource allocation, and research into new treatments.

  • Clinical Decision Support: Aggregated coded data can help identify trends in treatment outcomes and patient populations.

  • Quality Measurement: Codes are used in calculating quality metrics and performance indicators for healthcare providers and institutions.

ICD-10-CM codes are alphanumeric, ranging from three to seven characters. The code structure is hierarchical, with each character providing a greater level of detail.

  • Chapter: The first character is a letter, which corresponds to a chapter based on disease type or body system (e.g., Chapter 14, Diseases of the Genitourinary System, uses the letter ‘N’).

  • Category: The first three characters represent the category of the disease.

  • Subcategory and Extension: Characters four through six provide further specificity regarding etiology, anatomical site, severity, and other clinical details. The seventh character is often used as an extension for certain codes, particularly in injury and external cause codes, to denote the encounter type (e.g., initial, subsequent, sequela).

This structured hierarchy is what allows for the remarkable specificity required in modern medical coding, a feature we will see is paramount when coding for nephrolithiasis.

3. Decoding the Disease: A Clinical Overview of Nephrolithiasis

To code a condition accurately, one must first understand it clinically. Nephrolithiasis is the medical term for the presence of calculi, or stones, within the kidneys. These stones can remain asymptomatic within the renal calyces or pelvis, or they can embark on a painful journey down the urinary tract.

What are Kidney Stones?
Kidney stones are hard, crystalline mineral deposits that form in the kidney from dissolved urinary minerals. They vary greatly in size, from as small as a grain of sand to as large as a golf ball. While some small stones pass spontaneously with minimal discomfort, larger stones can become lodged in the ureter (the tube connecting the kidney to the bladder), causing obstruction, intense pain, and potential kidney damage.

The Formation Process: From Crystallization to Calculus
Stone formation is a complex process that typically begins when the urine becomes supersaturated with stone-forming substances such as calcium, oxalate, uric acid, and cystine. This can occur due to:

  • Dehydration: Concentrated urine provides an ideal environment for crystals to come together.

  • Diet: High intake of sodium, animal protein, and oxalate-rich foods (like spinach and nuts) can increase risk.

  • Medical Conditions: Hyperparathyroidism, gout, and certain metabolic disorders.

  • Family History: A genetic predisposition exists for many stone-formers.

When the balance between substances that promote crystallization (like the minerals above) and those that inhibit it (like citrate) is disrupted, microscopic crystals can form. These crystals can then aggregate and grow into a macroscopic stone over time.

Common Signs and Symptoms: The Agony of the Stone
The clinical presentation of nephrolithiasis is often dramatic, though some stones are “silent.”

  • Severe Pain (Renal Colic): This is the hallmark symptom. It is often described as the worst pain ever experienced. It typically begins suddenly in the flank or back below the ribs and radiates to the lower abdomen and groin. The pain comes in waves as the ureter contracts in an attempt to move the stone.

  • Hematuria: Blood in the urine, which can be visible (gross hematuria) or microscopic.

  • Nausea and Vomiting: A common autonomic response to the severe pain.

  • Dysuria: Painful or burning urination, especially if the stone is at the ureterovesical junction (where the ureter meets the bladder).

  • Urinary Urgency and Frequency: The persistent feeling of needing to urinate.

  • Fever and Chills: These are red-flag symptoms indicating a possible infection proximal to an obstructing stone, a urologic emergency known as obstructive pyelonephritis.

4. Navigating the ICD-10-CM Index and Tabular List for Nephrolithiasis

The proper way to assign an ICD-10-CM code is a two-step process: first, consult the Alphabetical Index, and second, verify the code in the Tabular List.

  1. The Alphabetical Index: You would start by looking up the main term. For kidney stones, this could be:

    • Calculus, calculi

    • Nephrolithiasis

    • Stone

    Under these main terms, you will find subterms guiding you to the correct category. For example:

    • Calculus, kidney -> see Calculus, renal

    • *Calculus, renal -> N20.0*

    • *Nephrolithiasis -> N20.9*

    Crucially, the Index is only a starting point. It may lead you to an unspecified or incomplete code. You must never code directly from the Index.

  2. The Tabular List: This is where you verify the code and its full description. You must read all the instructional notes associated with the code. These notes include:

    • Includes: Further defines the content of the code category.

    • Excludes1: A “not coded here” note. The conditions listed are mutually exclusive and should not be coded together.

    • Excludes2: Indicates that the condition is not part of the code, but it can be coded separately if the patient has both conditions.

    • Use additional code: Instructs you to add another code to provide more detail (e.g., to identify an infectious agent).

    • Code first: Instructs you to sequence another code first, often the underlying cause.

    It is in the Tabular List for category N20 that we find the requirement for fifth and sixth characters to specify laterality.

5. A Deep Dive into Category N20: Calculus of Kidney and Ureter

The primary home for nephrolithiasis and ureterolithiasis (stones in the ureter) codes is Chapter 14 (Diseases of the Genitourinary System), block N20-N23 (Urolithiasis). The category N20 is the most frequently used for acute stone events.

N20.0 – Calculus of Kidney
This code describes a stone located specifically within the kidney. This includes stones in the renal calyces or renal pelvis. It is synonymous with nephrolithiasis and renal calculus. This code requires a fifth character to specify laterality.

N20.1 – Calculus of Ureter
This code describes a stone located in the ureter, a condition known as ureterolithiasis. This is often the code used for a patient presenting with acute renal colic, as the pain is typically caused by a stone that has migrated from the kidney and become lodged in the ureter. This code also requires a fifth character for laterality.

N20.2 – Calculus of Kidney with Calculus of Ureter
This code is used when a patient has stones present in both the kidney and the ureter on the same side. This is a common scenario where multiple stones are present. This code requires a fifth character for laterality.

N20.9 – Urinary Calculus, Unspecified
This is a less specific code used when the medical documentation does not specify the location of the stone within the urinary tract (e.g., the provider simply documents “urolithiasis” or “urinary stone” without specifying kidney or ureter). Its use should be minimized through effective clinical documentation.

6. The Crucial Role of Laterality: A Fifth and Sixth Character Deep Dive

The requirement for laterality is a hallmark of ICD-10-CM’s specificity. For codes N20.0, N20.1, and N20.2, a fifth character is required. The seventh character is not used for these codes.

The fifth character options are:

  • 0 – Unspecified: Used when the medical record does not specify which kidney or ureter is affected.

  • 1 – Right: For stones in the right kidney, right ureter, or both on the right side.

  • 2 – Left: For stones in the left kidney, left ureter, or both on the left side.

  • 9 – Bilateral: This is a critical distinction. This character is used only when stones are present in both kidneys, or both ureters, or one kidney and the contralateral ureter. It is not used for N20.2, which is for ipsilateral (same-side) kidney and ureter stones.

 ICD-10-CM Codes for Nephrolithiasis and Ureterolithiasis

Code Description Clinical Scenario
N20.01 Calculus of right kidney A patient with an asymptomatic stone found in the right renal pelvis on a CT scan for abdominal pain.
N20.02 Calculus of left kidney A patient with a history of left-sided staghorn calculus.
N20.09 Calculus of unspecified kidney A progress note simply states “nephrolithiasis” with no mention of side, and no imaging is available in the record.
N20.11 Calculus of right ureter A patient presents to the ER with severe right-sided flank pain radiating to the groin; CT shows a 5mm stone at the right ureterovesical junction.
N20.12 Calculus of left ureter A patient with left renal colic and hydronephrosis on ultrasound due to a left ureteral stone.
N20.19 Calculus of unspecified ureter A provider documents “ureterolithiasis causing colic” without specifying the side in the encounter note.
N20.21 Calculus of kidney with calculus of ureter, right A CT scan reveals a small stone in the right lower pole calyx and a separate, obstructing stone in the right mid-ureter.
N20.22 Calculus of kidney with calculus of ureter, left A patient has a left renal stone and a left ureteral stone.
N20.29 Calculus of kidney with calculus of ureter, unspecified side Documentation states “renal and ureteral stone on the same side” but the side is not recorded.
N20.91 Bilateral calculi of kidneys A patient with stones in both the right and left kidneys.
N20.92 Bilateral calculi of ureters A rare but serious condition with stones obstructing both ureters.
N20.99 Bilateral urinary calculi, unspecified Documentation states “bilateral urolithiasis” without specifying kidney or ureter.
N20.9 Urinary calculus, unspecified A low-specificity code to be used only when the location is truly unknown.

7. Associated Conditions and Complications: Expanding the Coding Picture

Kidney stones rarely exist in a vacuum. They frequently cause complications or coexist with other conditions that must also be coded to paint a complete clinical picture.

Hydronephrosis (N13.2, N13.39)
Hydronephrosis is the swelling of a kidney due to a backup of urine, most commonly caused by a ureteral obstruction from a stone. Coding for hydronephrosis with a stone requires careful attention to the ICD-10 guidelines.

  • N13.2 – Hydronephrosis with renal and ureteral calculous obstruction: This is a combination code. It includes both the hydronephrosis and the calculous obstruction. According to the ICD-10-CM guidelines, you would not code the stone (N20.1) separately, as it is inherent in N13.2. You must specify laterality with a fifth character for this code as well (e.g., N13.21 for right side).

  • N13.39 – Other hydronephrosis: This code would be used for hydronephrosis not specified as being caused by calculous obstruction.

Urinary Tract Infection (UTI)
An obstructing stone creates a perfect environment for bacteria to grow, leading to infection. If a UTI is present with a stone, it must be coded separately.

  • Code the stone (e.g., N20.11).

  • Code the UTI. For a simple cystitis, this would be N30.00-N30.91. For a more serious infection like pyelonephritis (kidney infection), you would use N10 (Acute pyelonephritis) or N11.9 (Chronic tubulo-interstitial nephritis). If the pyelonephritis is due to the obstruction, you may need to consider the causal relationship and sequencing.

Impaired Renal Function and Acute Kidney Injury (N17.9, N19)
Prolonged obstruction from a stone can lead to impaired kidney function or even acute kidney injury (AKI).

  • N17.9 – Acute kidney failure, unspecified: Used for AKI.

  • N19 – Unspecified kidney failure: A less specific code.
    If documented, these conditions are significant and should be coded in addition to the stone and obstruction codes.

8. The Encounter Context: Why the Reason for the Visit Dictates the Code

A critical concept in medical coding is that you code the reason for the encounter. The same patient with a known kidney stone will have different codes assigned depending on why they are seeing the doctor.

  • Active Treatment: If the patient is being seen for the active management of the stone—such as for renal colic, a planned lithotripsy, or ureteroscopy—the stone code (e.g., N20.11) is the principal diagnosis.

  • Follow-up for a Healed Condition: If the patient had a stone treated and passed months ago and is now coming in for a routine check-up to monitor for new stone formation, you would not use an acute stone code. Instead, you would use a personal history code: Z87.442 – Personal history of urinary (tract) calculi. The reason for the encounter is surveillance, not active treatment.

  • Incidental Finding: If a stone is found incidentally on an imaging study performed for another reason (e.g., a CT for trauma finds an asymptomatic kidney stone) and the stone is not being treated or evaluated at this encounter, it may be coded as an additional diagnosis. However, if the provider does not address it at all, coding guidance may suggest not coding it.

9. Case Studies: Applying ICD-10 Codes to Real-World Scenarios

Let’s apply our knowledge to realistic patient encounters.

Case Study 1: The Emergency Department Visit

  • Scenario: A 45-year-old male presents to the ER with sudden onset, severe right flank pain radiating to his testicle, associated with nausea. Urinalysis shows microscopic hematuria. A non-contrast CT scan of the abdomen and pelvis reveals a 6mm obstructing calculus in the right proximal ureter with associated mild hydronephrosis.

  • Coding: The principal diagnosis is the condition causing the visit: the obstructing ureteral stone. The hydronephrosis is a direct result of the obstruction.

    • N13.21 – Hydronephrosis with renal and ureteral calculous obstruction, right. This combination code is the most accurate, as it captures both the obstruction and the resulting hydronephrosis. Do not code N20.11 separately.

Case Study 2: The Asymptomatic Incidental Finding

  • Scenario: A 60-year-old female undergoes a screening CT colonography. The radiology report notes a 4mm non-obstructing calculus in the lower pole of the left kidney. The patient has no urinary symptoms. The primary care provider’s note states: “Incidental left renal calculus noted on recent CT. Asymptomatic. Will monitor.”

  • Coding: The stone is not the reason for the encounter, but it is documented and monitored.

    • N20.02 – Calculus of left kidney. This can be listed as a secondary diagnosis since it is a current, documented condition, even if asymptomatic.

Case Study 3: The Follow-Up for a Previous Stone

  • Scenario: A patient had a left ureteral stone treated with ureteroscopy and laser lithotripsy three months ago. He now returns to the urologist’s office for a routine follow-up. He is feeling well. A KUB (X-ray) shows no new stones. The plan is for annual monitoring.

  • Coding: The patient is not being treated for an active stone. The encounter is for surveillance due to his history.

    • Z87.442 – Personal history of urinary (tract) calculi. This is the appropriate code. Using an active stone code like N20.12 would be incorrect.

Case Study 4: The Complex Case with Hydronephrosis and UTI

  • Scenario: A patient is admitted to the hospital with fever, chills, and left flank pain. CT shows a 1cm obstructing stone in the left ureter with severe hydronephrosis. Urine cultures are positive for E. coli. The diagnosis is obstructive pyelonephritis.

  • Coding: This is a complex case requiring multiple codes. The official guidelines and coding clinic advice must be consulted. A typical, logical sequencing could be:

    1. N10 – Acute pyelonephritis. (The acute infection is often the primary reason for inpatient admission).

    2. N13.22 – Hydronephrosis with renal and ureteral calculous obstruction, left. (The cause of the pyelonephritis).

    3. B96.20 – Unspecified Escherichia coli as the cause of diseases classified elsewhere. (To specify the infectious agent).
      Note: Sequencing can be complex; always follow current guidelines.

10. Common Coding Pitfalls and How to Avoid Them

  • Pitfall 1: Defaulting to Unspecified Codes. Using N20.9 or codes with a ‘0’ fifth character (unspecified side) as a default is a major source of inaccurate data and can lead to claim denials.

    • Solution: Query the provider. If the documentation is unclear, a CDI (Clinical Documentation Improvement) query should be initiated to clarify the stone’s location and laterality.

  • Pitfall 2: Misinterpreting Laterality. Confusing N20.2 (same-side kidney and ureter) with bilateral codes (N20.91, etc.).

    • Solution: Remember that “bilateral” means both sides of the body. N20.2 is for when one kidney and the ureter on the same side both have stones.

  • Pitfall 3: Confusing Active Treatment with Follow-up Care. Using an active stone code for a surveillance visit.

    • Solution: Carefully review the reason for the encounter stated in the documentation. Is the provider evaluating and managing the stone, or just following up on a past history?

  • Pitfall 4: Overlooking Associated Conditions. Failing to code hydronephrosis, UTI, or AKI.

    • Solution: Perform a thorough review of the entire medical record, including history and physical, diagnostic reports, and lab results, to capture all reportable conditions.

11. The Intersection of Coding and Clinical Documentation Improvement (CDI)

The accuracy of medical coding is entirely dependent on the quality of the clinical documentation. A robust CDI program is essential for bridging the gap between clinical care and accurate code assignment. CDI specialists, who are often experienced nurses or coders, review patient records concurrently and, if needed, issue queries to physicians to clarify or complete the documentation.

Examples of queries for nephrolithiasis:

  • “The CT report indicates a right renal stone and a right ureteral stone. Can you please specify the location and laterality of the stone(s) you are treating in your assessment?”

  • “You have documented ‘urolithiasis with hydronephrosis.’ The CT confirms an obstructing left ureteral stone. Can you clarify the laterality and confirm the causal relationship for the hydronephrosis?”

  • “The patient is here for a follow-up after a passed stone. Are we managing the history of stones, or is there a new active stone?”

This collaborative process ensures that the documentation supports the complexity and severity of the patient’s condition, leading to accurate coding, appropriate reimbursement, and high-quality data.

12. Conclusion: Mastering the Language of Stone Disease

The assignment of an ICD-10 code for nephrolithiasis is a nuanced process that extends far beyond a simple dictionary lookup. It demands a synthesis of clinical knowledge, a meticulous understanding of the ICD-10-CM structure and guidelines, and a keen eye for detail regarding laterality, complications, and encounter context. By embracing the specificity required—selecting the correct fifth character for laterality, utilizing combination codes for hydronephrosis, and distinguishing between active disease and personal history—healthcare professionals can ensure the integrity of the patient record, support appropriate reimbursement, and contribute valuable data to the broader understanding of this painful and prevalent condition. In the intricate language of healthcare data, precision in coding is the ultimate form of clarity.

13. Frequently Asked Questions (FAQs)

Q1: What is the difference between N20.0 and N20.9?
A: N20.0 is for a calculus specifically in the kidney. N20.9 is a less specific “wastebasket” code for a urinary calculus when the medical documentation does not specify if it’s in the kidney, ureter, or another part of the urinary tract. Always strive to use the most specific code supported by the documentation.

Q2: When do I use a code from category N21 (Calculus of lower urinary tract)?
A: Use N21 for stones located in the bladder (vesical calculus, N21.0) or the urethra (urethral calculus, N21.1). These are distinct from kidney (N20.0) and ureter (N20.1) stones.

Q3: How do I code a patient with a history of stones who now has a new, active stone?
A: You would code the active stone (e.g., N20.01). The personal history code (Z87.442) is generally not used concurrently when an active manifestation of the disease is present. The history provides context, but the active condition is what is being treated.

Q4: The radiologist’s report says “right ureteral stone,” but the ER physician’s note only documents “renal colic.” Can I code the laterality?
A: Yes. According to ICD-10-CM Official Guidelines, you are permitted to code from all available documentation in the patient’s record for that encounter, including test results. Therefore, you can assign code N20.11 based on the radiology report.

Q5: What if a patient has a stone in the right kidney and a stone in the left ureter?
A: This is a bilateral condition. You would code N20.99 – Bilateral urinary calculi, unspecified. This code encompasses stones in both kidneys, both ureters, or a combination of kidney and ureter on opposite sides.

14. Additional Resources

  • The Official ICD-10-CM Guidelines for Coding and Reporting: Published annually by the Centers for Disease Control and Prevention (CDC) and the Centers for Medicare & Medicaid Services (CMS). This is the definitive source for coding rules.

  • ICD-10-CM Code Set: The complete code set is available on the CMS website.

  • American Health Information Management Association (AHIMA): Offers a wealth of resources, including practice briefs, webinars, and certifications for coders and CDI specialists.

  • American Urological Association (AUA): Provides clinical guidelines on the management of kidney stones, which can help coders understand the clinical context and standard terminology.

  • AHA Coding Clinic for ICD-10-CM/AHA Coding Clinic for HCPCS: The official source for coding advice and guidance, published by the American Hospital Association. It provides answers to specific and complex coding scenarios.

Date: October 14, 2025
Author: The Health Informatics Team
Disclaimer: The information contained in this article is for educational and informational purposes only and is not intended as a substitute for professional medical coding, billing, or legal advice. Medical coding guidelines are subject to change. Always consult the most current, official ICD-10-CM coding manuals, guidelines, and payer-specific policies for accurate code assignment.

About the author

wmwtl