QUICK ANSWER
- What is the ICD-10 code for hematuria? The ICD-10 code for hematuria is R31, a category that is not billable on its own. Claims must use one of its subcodes: R31.0 for gross hematuria, R31.1 for benign essential microscopic hematuria, R31.21 or R31.29 for other microscopic hematuria, or R31.9 when the type is unspecified. Choosing the specific code supports the urology workup that follows.
- R31 itself is a header. Submitting the three-character category produces an invalid diagnosis rejection, so always report a subcode.
- Gross and microscopic hematuria code differently. Visible blood is R31.0, while lab-detected blood uses the R31.1 or R31.2- codes.
- Hematuria is a symptom code. Once a definitive diagnosis such as bladder cancer is confirmed, that diagnosis replaces R31 on future claims.
- New to urology diagnosis coding? See how hematuria drives the most common workup procedure in our CPT 52000 cystoscopy guide.
R31 Hematuria Subcodes Explained
The R31 category has five billable codes. The table below shows when each one applies, based on what the provider documented about the blood in the urine.
| ICD-10 Code | Description | When to Use |
| R31.0 | Gross hematuria | Blood visible to the patient or provider |
| R31.1 | Benign essential microscopic hematuria | Microscopic blood with no identified cause after evaluation |
| R31.21 | Asymptomatic microscopic hematuria | Microscopic blood found incidentally, no urinary symptoms |
| R31.29 | Other microscopic hematuria | Microscopic blood with symptoms or not otherwise specified |
| R31.9 | Hematuria, unspecified | Hematuria documented without gross or microscopic detail |
The difference between R31.21 and R31.29 is the one coders ask about most. R31.21 fits a patient whose routine urinalysis shows red blood cells but who reports no symptoms, while R31.29 fits microscopic hematuria that comes with symptoms such as dysuria or flank pain, or that does not fit the other categories. R31.1 is reserved for documented benign essential hematuria, usually after a workup finds no cause.
R31.9 should be the exception, not the default. One question we hear constantly from urology practice managers is why referral claims keep landing on R31.9. In our experience matching urology groups with billing partners, the answer is usually a referral note that says only “hematuria.” The urologist’s own documentation of gross or microscopic blood allows the more specific code on the consult and every claim after it.
Diagnosis code updates take effect each October 1, as CMS publishes annually. Our coverage of October 2026 ICD-10 changes for urology explains what changed in the current code set.
When Should You Not Use R31?
Do not use R31 when a confirmed diagnosis already includes hematuria, or once the cause of the bleeding has been established. R31 carries an Excludes1 note for hematuria included with underlying conditions, such as acute cystitis with hematuria (N30.01) and recurrent and persistent hematuria in glomerular diseases (N02.-), so those codes are never reported with R31.
The Excludes1 rule is the most common technical error with hematuria coding. A patient with an acute bladder infection and visible blood is coded N30.01, which captures both the infection and the hematuria in one code. Adding R31.0 to that claim conflicts with the Excludes1 note and can trigger an edit.
Other diagnoses work differently. A urinary tract infection coded as N39.0 or a kidney stone coded as N20.0 does not include hematuria in its description, so R31 may be added when the provider documents hematuria as a significant finding. ICD-10-CM guidelines say that signs and symptoms routinely associated with a disease are not coded separately, so the provider’s documentation decides whether hematuria is reported alongside the confirmed diagnosis.
The symptom-code rule also changes the code over time. During the initial workup, R31 is the right diagnosis. If cystoscopy and biopsy confirm a bladder tumor, the cancer code replaces R31 on the claims that follow. If hematuria is caused by an anticoagulant, code the hematuria with the appropriate adverse effect code for the drug, and add long-term anticoagulant use (Z79.01) when it applies.
Patients on blood thinners still need an evaluation, because anticoagulation can unmask an underlying lesion rather than cause the bleeding on its own.
How Does R31 Support the Hematuria Workup?
R31 is the diagnosis that justifies the urology evaluation of blood in the urine. Under the AUA microhematuria guideline, microhematuria is defined as three or more red blood cells per high-power field on a microscopic urinalysis, and a positive dipstick alone should be confirmed with microscopy before a full evaluation begins.
The AUA guideline stratifies patients with microhematuria into low, intermediate, and high risk based on factors such as age, sex, smoking history, and the degree of hematuria. Cystoscopy and upper tract imaging are recommended for higher-risk patients, while lower-risk patients may start with repeat urinalysis. Gross hematuria generally calls for a full evaluation, including cystoscopy and imaging.
That workup produces several claims, each needing the hematuria code linked correctly:
- Cystoscopy. Diagnostic cystourethroscopy is reported with CPT 52000, and cystoscopy with biopsy with CPT 52204.
- Imaging. CT urography and renal ultrasound are billed by radiology or the practice that performs them, with R31 as the indication.
- Laboratory testing. Urinalysis and urine cytology support the evaluation and its follow-up.
Link R31.0, R31.21, or R31.29 to each service rather than relying on R31.9. If the workup finds a bladder tumor treated with TURBT, the claim for that procedure uses the confirmed cancer diagnosis.
Timing matters for the claims themselves. A cystoscopy performed during the evaluation carries the hematuria code, because the cause was not yet known when the procedure was done. A pathology result that arrives days later does not change the diagnosis on the cystoscopy claim; it changes the diagnosis on the visits and procedures that follow.
Documentation Tips for Hematuria Claims
The specific hematuria code depends on what the note says, so a few documentation habits make the difference between R31.0 or R31.21 and an unspecified R31.9.
- State gross or microscopic. Record whether blood was visible or found only on urinalysis.
- Record the urinalysis result. Note the red blood cells per high-power field from microscopy, not just a dipstick result.
- Document symptoms or their absence. Note dysuria, flank pain, or frequency, or state that the patient is asymptomatic.
- List risk factors. Record smoking history, age, occupational exposures, and anticoagulant use.
- Update the assessment after results. Replace hematuria with the confirmed diagnosis once the workup finds a cause.
These details serve two purposes. They support the most specific R31 subcode, and they document the risk stratification that justifies cystoscopy and imaging under the AUA guideline. A note that captures both rarely draws a medical necessity request.
Templates help. Build these fields into the hematuria consult template so the urologist completes them during the visit, rather than leaving coders to query the provider later. Practices that make this one change often see fewer R31.9 claims within the first month.
Referral notes deserve the same attention. When a primary care referral lists only “hematuria,” the urologist’s consult should restate the finding with full detail, since the consult note, not the referral, supports the codes on the urology claims.
Common Hematuria Coding Errors That Cause Denials
Hematuria coding looks simple, but the same handful of mistakes repeat across urology claims.
- Billing the category R31. The three-character header is not valid for claims.
- Defaulting to R31.9. Unspecified hematuria weakens medical necessity when the note supports a specific code.
- Ignoring Excludes1. Reporting R31 with N30.01 or N02.- conflicts with the code book.
- Keeping R31 after diagnosis. Continuing a symptom code after cancer, stones, or another cause is confirmed.
- Dipstick-only documentation. Billing a full microhematuria evaluation without a confirming microscopic urinalysis.
Benign prostatic hyperplasia is a frequent cause of hematuria in older men, and N40.1 may sit on the same claim as R31 when both are documented. Kidney stones are another common cause, covered in our kidney stone billing codes guide.
Consider the math: using an example rate of $150 for diagnostic cystoscopy, a practice that has 12 hematuria cystoscopies a month denied or delayed for unspecified or invalid diagnosis codes ties up $1,800 a month, or $21,600 a year, in claims that should have paid on the first pass. Providers often come to us after discovering that one diagnosis template was behind most of those denials.
The fix is usually upstream. A short audit of the last 50 hematuria claims, comparing the diagnosis billed to what the note documents, shows quickly whether the problem is the template, the coder, or the referral process.
Invalid R31 codes, Excludes1 conflicts, and unspecified hematuria diagnoses slow down cystoscopy payments. Billing companies in our network specialize in urology billing and catch these errors before claims go out. Compare quotes, free.
Should You Outsource Urology Billing?
Hematuria is one of the most common reasons patients are referred to urology, and every hematuria patient generates a chain of claims: the consult, urinalysis, imaging, cystoscopy, and often biopsy or treatment. A diagnosis error at the start of that chain repeats across every claim that follows.
A specialized urology billing partner checks that each claim carries a valid, specific R31 subcode, applies Excludes1 rules, updates the diagnosis once a cause is confirmed, and links the right code to each workup service. That consistency keeps the whole episode moving instead of stalling on the first denial.
Urology Bill Co is powered by Billing Service Quotes, which has connected more than 2,000 providers across all 50 states with billing companies in our network. Matching is free for providers, includes a human review of your practice’s needs, and connects you with urology billing partners whose rates start as low as 2.95%. Learn more on the Urology Bill Co homepage.
When you compare partners, ask how they handle symptom codes during a workup, how they catch Excludes1 conflicts, and how they update diagnoses after pathology results. Clear answers show a partner who understands urology coding, not just claim submission.
The benefit compounds because hematuria patients often return. Surveillance cystoscopies, repeat urinalysis, and follow-up visits all depend on the diagnosis history being accurate, and a partner who maintains that history keeps every future claim cleaner.
Frequently Asked Questions
Is R31 a billable ICD-10 code?
No. R31 is a category header and cannot be used on a claim. Report one of its billable subcodes instead: R31.0 for gross hematuria, R31.1 for benign essential microscopic hematuria, R31.21 or R31.29 for other microscopic hematuria, or R31.9 for hematuria that is unspecified.
What is the ICD-10 code for gross hematuria?
Gross hematuria, meaning blood visible in the urine, is coded R31.0. It applies when the patient or provider can see the blood. If the hematuria is part of acute cystitis, code N30.01 instead, because that code already includes the hematuria.
What is the difference between R31.21 and R31.29?
R31.21 reports asymptomatic microscopic hematuria, found incidentally in a patient with no urinary symptoms. R31.29 reports other microscopic hematuria, such as microscopic blood with symptoms or cases that do not fit R31.1 or R31.21. The documentation of symptoms decides the code.
Can R31 be coded with a urinary tract infection?
It depends on the infection code. Acute cystitis with hematuria (N30.01) includes the hematuria, so R31 is not added. A urinary tract infection coded as N39.0 does not include hematuria, so R31 may be added when the provider documents hematuria as a significant finding.
When should R31 stop being used?
Stop using R31 once a definitive cause of the hematuria is confirmed, such as bladder cancer, a kidney stone, or a glomerular disease. ICD-10-CM guidelines direct coders to report the confirmed diagnosis rather than the symptom on claims after that point.
What CPT codes are billed with hematuria?
Common services linked to R31 include diagnostic cystoscopy (52000), cystoscopy with biopsy (52204), urinalysis, urine cytology, and imaging such as CT urography or renal ultrasound. Each service should carry the specific hematuria code documented by the provider.
Next Steps
- Bill the workup. Read our CPT 52000 cystoscopy guide.
- Code infections correctly. See our N39.0 urinary tract infection guide.
- Code stone-related hematuria. Review our kidney stone billing codes guide.
- Get billing support. Visit the Urology Bill Co homepage to get matched with urology billing companies.
ICD-10-CM is maintained by CMS and the NCHS, and CPT codes and descriptors are maintained by the American Medical Association. Both are provided here for reference, and the dollar figures in this article are illustrative examples, not published rates. Code validity, Excludes1 notes, and clinical guidelines change over time, so verify against the current official ICD-10-CM code set, the current AUA guideline, and individual payer policies before billing.
Get hematuria claims coded right from the first visit. Get matched with urology billing companies in our network, with rates starting as low as 2.95%. Matching is 100% free for providers.