MCMedicalCodingSoftware

Urinary tract infection (UTI) ICD-10 code

The ICD-10-CM code for urinary tract infection (UTI) is N39.0 (urinary tract infection, site not specified). It is billable and valid for submission on a claim. There are 14 related codes, and which one you use depends on what the documentation supports.

Also written as urinary tract infection, bladder infection.

The mistake coders make here

N39.0 is site unspecified. If the documentation localizes it (cystitis, pyelonephritis), code the site instead. N39.0 also carries a 'use additional code' instruction to identify the organism, if it is known.

Putting urinary tract infection (UTI) on a claim? Check the claim’s diagnosis codes free: Excludes1 conflicts, header codes and missing seventh characters, before it goes out.

ICD-10-CM codes for urinary tract infection (UTI)

11 of 14 are billable. Green means you can submit it as-is.

CodeUse it when
N39.0Urinary tract infection, site not specified
P39.3Neonatal urinary tract infection
O86.2Urinary tract infection following deliverynot billable on its own
O86.29Other urinary tract infection following delivery
O23.4Unspecified infection of urinary tract in pregnancynot billable on its own
Z87.440Personal history of urinary (tract) infections
O23.3Infections of other parts of urinary tract in pregnancynot billable on its own
O23.41Unspecified infection of urinary tract in pregnancy, first trimester
O23.43Unspecified infection of urinary tract in pregnancy, third trimester
O23.42Unspecified infection of urinary tract in pregnancy, second trimester
O23.40Unspecified infection of urinary tract in pregnancy, unspecified trimester
N99.531Infection of continent stoma of urinary tract
O86.20Urinary tract infection following delivery, unspecified
O08.83Urinary tract infection following an ectopic and molar pregnancy

Once you have the code

N39.0 needs the organism next to it

N39.0, urinary tract infection, site not specified, carries a 'use additional code (B95-B97) to identify infectious agent' instruction. When the culture is in the chart and the provider documents the organism, add it: B96.20 for E. coli unspecified, B96.1 Klebsiella, B96.4 Proteus, B95.62 MRSA, B95.2 Enterococcus, B96.89 for other named bacteria. A UTI with no organism documented is N39.0 alone, not with a guessed B96 code. If the site is documented, N39.0 is the wrong code: cystitis is N30.- (N30.00 acute cystitis without hematuria, N30.01 with), acute pyelonephritis is N10, and urethritis is N34.-.

Catheters, pregnancy and the recurrent patient

A catheter-associated UTI is a complication code first: T83.511A (infection and inflammatory reaction due to indwelling urethral catheter) followed by N39.0 and the organism. Guideline I.C.19.g.5 puts the complication code first when the encounter is for the complication. A UTI in pregnancy is O23.- (O23.4- unspecified infection of the urinary tract) with N39.0 second. There is no code for recurrent UTI; report N39.0 for the current infection, and Z87.440 for a personal history of urinary tract infections when that is what is documented.

Urosepsis, bacteriuria and the ruled-out UTI

Urosepsis has no ICD-10-CM code and no index entry; it requires a query, and only a documented sepsis supports A41.- sequenced before N39.0. Asymptomatic bacteriuria is R82.71 (a lab finding, not an infection) and pyuria is R82.81. In the outpatient setting a 'possible UTI' pending culture is coded to the symptom (R30.0 dysuria, R35.0 frequency, R39.15 urgency); the inpatient rule that allows coding an uncertain diagnosis at discharge does not apply to the physician office or the ED.

Common questions

What is the ICD-10 code for a UTI?
N39.0, urinary tract infection, site not specified, plus a B95-B97 code for the organism when it is documented (for example B96.20 for E. coli). If the site is known, use N30.- for cystitis or N10 for acute pyelonephritis instead.
What is the ICD-10 code for E. coli UTI?
N39.0 followed by B96.20, unspecified Escherichia coli as the cause of diseases classified elsewhere. The organism code is never reported first.
Is there an ICD-10 code for urosepsis?
No. The term has no code and no index entry. If the provider confirms sepsis, code A41.- first and N39.0 second; if only a UTI is confirmed, N39.0 alone. Otherwise, query.
ICD-10-CMFY2027· effective October 1, 2026

Codes and descriptions are loaded directly from the CMS/NCHS ICD-10-CM release. The guidance on this page is ours: see our editorial policy. Reference information for professional coders; not medical or billing advice.