N39.0
Urinary tract infection, site not specified
ICD-10-CM · Chapter 14: Diseases of the Genitourinary System · FY2026
✓ Billable — use only when infection site is not documented

N39.0 — what it is and when it actually applies

N39.0 is the ICD-10-CM code for a urinary tract infection when the anatomical site of the infection has not been identified or documented by the provider. It is one of the most frequently used codes in primary care — and also one of the most frequently miscoded.

The label "site not specified" is clinical, not stylistic. N39.0 applies when the provider genuinely has not identified where in the urinary system the infection is located. The moment a provider documents "cystitis," "bladder infection," "pyelonephritis," or "kidney infection," N39.0 is no longer appropriate — regardless of how often it gets defaulted to.

The single rule: Read the note before picking N39.0. If the provider used any word that identifies the infection site — bladder, kidney, urethra — use the site-specific code instead.

Three types of UTI, three different code families

Urinary tract infections are classified by anatomical site. Each site has its own code family:

  • Bladder infection (cystitis) → N30.x family
  • Kidney infection (pyelonephritis) → N10 (acute) or N11.x (chronic)
  • Urethral infection (urethritis) → N34.x family
  • Site not documented → N39.0

The distinction matters beyond coding accuracy. Site-specific codes carry stronger medical necessity support for associated lab work and higher-level E&M services. A pattern of N39.0 claims where documentation supports N30.00 or N10 can trigger payer scrutiny and reduce reimbursement on associated services.

Cystitis — N30.00 vs N30.01 and the hematuria distinction

When the provider documents a bladder infection or cystitis, the N30 family applies. The key distinction is whether hematuria is present:

  • N30.00 — Acute cystitis without hematuria
  • N30.01 — Acute cystitis with hematuria

These are not interchangeable. When a urinalysis documents blood alongside cystitis, N30.01 is accurate. When no hematuria is documented, N30.00 applies. The documentation must support whichever code is assigned — hematuria cannot be inferred from symptoms alone.

Chronic and interstitial cystitis

  • N30.10 — Interstitial cystitis (chronic) without hematuria
  • N30.11 — Interstitial cystitis (chronic) with hematuria
  • N30.20 — Other chronic cystitis without hematuria
  • N30.21 — Other chronic cystitis with hematuria

Pyelonephritis — N10 and when the code changes

N10 (Acute pyelonephritis) applies when the provider documents a kidney infection. Clinically this typically presents with fever, flank pain, and costovertebral angle tenderness — but the provider's diagnosis drives code selection, not the symptom pattern.

⚠️ Do not use N39.0 when the chart describes a kidney infection. If the provider's assessment says "pyelonephritis" or "kidney infection," code N10 — not N39.0. Pyelonephritis requires more intensive treatment and carries different medical necessity requirements that N39.0 does not accurately represent.

Organism codes — when to add B95–B97

When laboratory results (urine culture) identify the causative organism, add a code from B95–B97 as a secondary code. Common examples:

  • B96.20 — Unspecified Escherichia coli (E. coli) — most common UTI organism
  • B96.21 — Shiga toxin-producing E. coli
  • B96.1 — Klebsiella pneumoniae
  • B95.1 — Streptococcus, group B

The organism code is always secondary — never the principal diagnosis. Sequence N39.0 (or the site-specific code) first, then the B96.x organism code. Only add organism codes when confirmed by culture results — never based on a pending culture or presumed organism.

Recurrent UTI — N39.0 plus Z87.440

When a patient has an active UTI in the context of a documented recurrent pattern, code the active infection first, then add Z87.440 (Personal history of urinary tract infections) as a secondary code.

Z87.440 requires provider documentation of prior UTIs — not just a patient's verbal report. The word "recurrent" in the assessment or problem list supports it. When there is no active infection and the encounter is only about the recurrence history, Z87.440 can be used as the principal code.

Special populations — pregnancy and CAUTI

Pregnancy

UTIs during pregnancy are excluded from N39.0 by an Excludes1 note. Use the O23.x series instead:

  • O23.40 — Unspecified infection of urinary tract in pregnancy, unspecified trimester
  • O23.41 — First trimester
  • O23.42 — Second trimester
  • O23.43 — Third trimester

Catheter-associated UTI (CAUTI)

When the UTI is associated with an indwelling urinary catheter, add T83.511A (Infection and inflammatory reaction due to indwelling urethral catheter, initial encounter) alongside the infection code. Sequencing depends on whether the catheter complication or the infection is the primary reason for the encounter.

Complete UTI code reference table

CodeDescriptionUse when...
N39.0Urinary tract infection, site not specifiedInfection site genuinely not documented
N30.00Acute cystitis without hematuriaBladder infection documented, no blood in urine
N30.01Acute cystitis with hematuriaBladder infection + hematuria both documented
N30.10Interstitial cystitis (chronic) without hematuriaChronic bladder condition, no hematuria
N30.11Interstitial cystitis (chronic) with hematuriaChronic bladder condition + hematuria
N10Acute pyelonephritisKidney infection documented
N11.9Chronic tubulo-interstitial nephritis, unspecifiedChronic kidney infection documented
N34.1Nonspecific urethritisUrethral infection documented
Z87.440Personal history of urinary tract infectionsAdd as secondary when recurrent UTI documented
B96.20E. coli as cause (unspecified)Add as secondary when E. coli confirmed by culture
O23.40UTI in pregnancy, trimester unspecifiedUse instead of N39.0 during pregnancy
T83.511AInfection due to indwelling urethral catheter, initialAdd when UTI is catheter-associated

Common coding mistakes

Mistake 1 — Using N39.0 when cystitis or pyelonephritis is documented

This is the most common and most consequential error. When a provider's note says "acute cystitis," the code is N30.00 or N30.01 — not N39.0. When it says "pyelonephritis," the code is N10. Defaulting to N39.0 when site-specific documentation exists violates ICD-10-CM guidelines and is flagged by payer edit logic.

Mistake 2 — Missing the hematuria distinction in cystitis

N30.00 and N30.01 are not the same code. If a urinalysis shows blood and the provider documents cystitis, N30.01 applies. Using N30.00 when the chart documents hematuria is a specificity error that affects medical necessity documentation.

Mistake 3 — Sequencing organism codes as principal diagnosis

B95–B97 organism codes are always secondary. Some coders list E. coli (B96.20) as the primary diagnosis when a culture identifies the organism. N39.0 or the site-specific infection code always sequences first.

Mistake 4 — Using N39.0 for pregnancy-related UTI

The Excludes1 note under N39.0 prohibits its use during pregnancy. UTIs during pregnancy require O23.x codes with trimester specification. Using N39.0 on an obstetric claim will generate an edit error.

Mistake 5 — Not adding Z87.440 for documented recurrent UTI

When the provider documents recurrent UTIs, Z87.440 should be added as secondary alongside the active infection code. This supports clinical documentation and may affect which preventive services are billable alongside the encounter.

Look up related codes

Search all 98,186 ICD-10-CM codes instantly — free

Search ICDwise →
Recommended resource

Prepare for your CPC or CCS certification

AAPC offers comprehensive medical coding courses covering ICD-10-CM, CPT, and compliance. Genitourinary coding including UTI specificity is regularly tested on the CPC exam.

Explore AAPC Coding Courses →

Frequently asked questions

What is the ICD-10 code for a UTI?
The ICD-10-CM code for a urinary tract infection when the site is not specified is N39.0, valid for FY2026 (October 1, 2025 through September 30, 2026). When the provider documents the site — bladder (N30.00), kidney (N10), or urethra (N34.1) — the site-specific code must be used instead. Source: CMS/NCHS FY2026 ICD-10-CM.
What is the ICD-10 code for cystitis (bladder infection)?
Acute cystitis without hematuria is N30.00. Acute cystitis with hematuria (blood in urine documented) is N30.01. These site-specific codes replace N39.0 whenever the provider documents a bladder infection. The hematuria distinction is required — it cannot be inferred from symptoms.
What is the ICD-10 code for pyelonephritis (kidney infection)?
Acute pyelonephritis is N10. This applies when the provider documents a kidney infection. Do not use N39.0 when the assessment clearly establishes a kidney infection — N10 is the correct code and better supports the medical necessity of the encounter.
How do I code a recurrent UTI?
Code the active infection first (N39.0 or site-specific code), then add Z87.440 (Personal history of urinary tract infections) as secondary when the provider documents a recurrent pattern. If there is no active infection and the encounter only addresses the recurrence history, use Z87.440 alone.
Do I need to add an organism code to N39.0?
When a urine culture confirms a specific organism, add the appropriate B95–B97 code as secondary. The most common is B96.20 for E. coli. Always sequence the infection code first — organism codes are never the principal diagnosis. Only add when confirmed by culture, never when pending.
Can I use N39.0 for a UTI during pregnancy?
No. An Excludes1 note under N39.0 prohibits its use during pregnancy. Use the O23.x series with trimester specification — O23.41 (first), O23.42 (second), O23.43 (third), or O23.40 (unspecified trimester). Using N39.0 on an obstetric claim will generate an edit error.
Reference only — not coding or clinical advice. Always verify codes against the current official CMS/NCHS ICD-10-CM files and your organization's compliance guidance before clinical or claims use. Full disclaimer →