In this article
Diagnosing a urinary tract infection always begins with the symptoms. Tests help support or rule out the diagnosis, identify the bacterium and, in more serious cases, assess whether the infection is affecting the kidney or the body more generally. Not everyone needs the same tests.
This article covers the main tests used to diagnose urinary tract infections, from urine dipsticks and cultures to blood tests and imaging, and explains when they are usually considered. The doctor chooses the tests and interprets the results in light of each person's medical history. Reference ranges vary between laboratories and should be read on the relevant report.
The starting point: symptoms
Before ordering any tests, the doctor will establish which symptoms are present, how long they have lasted, whether there is fever or pain in the back or side, whether there is vaginal discharge, whether the person is pregnant or male, whether they have chronic conditions and whether they have recently taken antibiotics. These questions determine whether the infection is likely to be simple or complicated and therefore which tests are useful.
The 2018 National Institute for Health and Care Excellence (NICE) guideline on lower urinary tract infections bases the decision on clinical assessment and reserves urine cultures for specific groups. In a young woman with typical cystitis symptoms and no risk factors, the diagnosis can be made without tests.
| Doctor's question | Why it is important |
|---|---|
| Is there fever, shivering or pain in the back or side? | Suggests a kidney infection |
| Is there vaginal discharge or itching? | Suggests a vaginal cause |
| Is the person pregnant? | Requires a urine culture and additional care |
| Is the person male? | Infection considered complicated |
| Have they recently taken antibiotics? | Risk of resistance; may affect the urine culture |
| Do they have diabetes, kidney disease or a weakened immune system? | Potentially more serious infection |
Test strip
A urine dipstick is a strip with sections that change colour on contact with urine. The sections most relevant to infection are leukocyte esterase, which indicates white blood cells, and nitrites, produced by many bacteria. Blood and protein readings may also be abnormal.
A review of the laboratory diagnosis of urinary tract infections in adults reports that these rapid tests are more useful for ruling out bacteriuria than confirming it. In older people, supporting materials linked to the NICE guideline advise against using dipsticks to diagnose infection because abnormal results without infection are very common.
| Dipstick section | What it detects | Main limitation |
|---|---|---|
| Leucocyte esterase | White blood cells (indirectly) | Positive with other inflammation and contamination |
| Nitrites | Bacteria that convert nitrates | Negative with some bacteria or when urine has spent little time in the bladder |
| Blood | Red blood cells or haemoglobin | Positive with menstruation, stones or other causes |
| Proteins | Protein in the urine | Not very specific to infection |
Urinary sediment
For urine microscopy, the urine is centrifuged and examined under a microscope, or analysed by automated equipment. White blood cells, red blood cells, bacteria, epithelial cells and casts are counted. White blood cell counts above approximately 5 per field, or above the equipment's limit expressed per microlitre, are usually flagged, but thresholds vary between laboratories.
Microscopy helps with interpreting the dipstick. Many squamous epithelial cells suggest sample contamination. White blood cell casts suggest that the inflammation originates in the kidney. Visible bacteria may indicate infection or contamination, depending on the context.
| Microscopy finding | Possible interpretation |
|---|---|
| Raised white blood cells | Inflammation; possible infection |
| Bacteria | Infection or contamination |
| Numerous squamous epithelial cells | Probable contamination |
| White blood cell casts | Inflammation originating in the kidney |
| Red blood cells | Infection, stones or other causes |
Urine culture and antibiotic susceptibility testing
A urine culture detects, counts and identifies bacteria. When there is significant growth, antibiotic susceptibility testing shows which antibiotics the bacterium is sensitive to. This test confirms a bacterial infection and allows treatment to be adjusted.
The count considered significant depends on the context: people with symptoms may have an infection at counts below the classic threshold of 100,000 colony-forming units per millilitre. Several different bacteria suggest contamination. The sample should be collected before antibiotics are started.
| Situation | Urine culture (general guidance) |
|---|---|
| Simple cystitis in a young woman | Not always required |
| Pregnant women | Recommended |
| Men | Recommended |
| Suspected pyelonephritis | Recommended |
| Treatment failure or recurrence | Recommended |
| People without symptoms (except during pregnancy) | Do not request routinely |
Blood tests
Blood tests are not generally needed for simple cystitis. When a kidney infection, prostatitis or a severe infection is suspected, the doctor may request a full blood count to assess white blood cells, inflammatory markers such as C-reactive protein, and creatinine to assess kidney function.
In people with a high fever and pronounced illness, particularly in hospital, blood cultures may be requested to detect bacteria in the blood. These tests help assess severity and determine whether treatment can be given at home or hospital admission is needed.
| Test | What it is for | When it may be requested |
|---|---|---|
| Full blood count | Assess white blood cells and other blood cells | Suspected kidney or severe infection |
| C-reactive protein | Inflammatory marker | Infection with fever |
| Creatinine | Kidney function | Kidney infection, pre-existing kidney disease |
| Glucose | Diabetes control | People with diabetes or suspected diabetes |
| Blood cultures | Bacteria in the blood | High fever, signs of severe illness |
Imaging tests
Most urinary tract infections do not require imaging. It is considered when a complication is suspected: a kidney infection that does not improve with treatment, a suspected stone obstructing the urinary tract, an abscess, repeated infections in men or anatomical abnormalities.
An ultrasound scan of the kidneys and bladder is generally the first examination because it does not use radiation and can show obstructions and how well the bladder empties. In other situations, the doctor may request a CT scan. The decision always depends on the clinical assessment.
Tests for other causes
When symptoms suggest urethritis or vaginitis, or when urine cultures are repeatedly negative despite white blood cells and symptoms, the doctor may request tests for sexually transmitted infections such as chlamydia and gonorrhoea, or gynaecological tests. In men, the prostate may be assessed.
These tests are important because sexually transmitted infections require different treatment and often assessment of the person's partner. Information about sexual activity shared with the doctor is confidential and helps them choose the right tests.
Bacteria without symptoms: not an infection
A key point in diagnosis is that finding bacteria or white blood cells in urine does not mean there is an infection. The 2019 Infectious Diseases Society of America guideline on asymptomatic bacteriuria recommends neither screening for nor treating bacteria in the urine of people without symptoms, with exceptions including pregnancy and preparation for certain urological procedures.
Requesting urine tests 'routinely' in people without symptoms, or treating an abnormal result in the absence of symptoms, can therefore lead to unnecessary antibiotics, adverse effects and increased bacterial resistance.
When results seem contradictory
It is relatively common for tests not to 'agree'. The dipstick may be positive and the urine culture negative, or vice versa. A person may have pronounced symptoms and an almost normal urine test. These discrepancies do not necessarily indicate a laboratory error: they reflect the limitations of each method, how the urine was collected and when it was collected.
The doctor resolves these situations by considering the overall picture. They may repeat the sample, request a urine culture if one has not yet been done, consider other causes of the symptoms or simply reassess after a few days. Evidence on the best way to approach each combination of results is limited in many cases, and clinical experience plays an important part.
| Combination | Possible explanations |
|---|---|
| Positive dipstick, negative urine culture | Previous antibiotics, sexually transmitted infection, inflammation without infection, contamination |
| Negative dipstick, positive urine culture | Low counts, bacteria that do not produce nitrites, dilute urine |
| Typical symptoms, normal test | Early infection, vaginal or urethral cause, another cause |
| Abnormal test, no symptoms | Asymptomatic bacteriuria or contamination |
Preparation and sample collection
For a urine test and culture, the general rule is to collect a midstream sample after washing the genital area, use a sterile container and deliver it within the specified time. Many laboratories prefer the first urine of the morning. Whenever possible, the sample should be collected before starting antibiotics. Whether fasting is required for blood tests depends on the tests requested.
Always follow the laboratory's instructions. Do not stop taking your usual medicines for tests without speaking to your doctor.
At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.
Frequently asked questions
Do I always need tests to diagnose a urinary tract infection?
No. Simple cystitis can be diagnosed from the symptoms.
Does a negative urine dipstick rule out infection?
It makes infection less likely, but does not rule it out if the symptoms are typical.
What is C-reactive protein used for?
It is an inflammatory marker that helps assess the severity of an infection, particularly when there is fever.
Do I need an ultrasound scan?
Only in specific situations, such as suspected obstruction, a kidney infection that does not improve or repeated infections in men.
Do I need to fast?
Generally not for a urine test. For blood tests, it depends on what is being measured. Follow the laboratory's instructions.
Why did the doctor request tests for sexually transmitted infections?
Because these infections can cause symptoms similar to a urinary tract infection and require different treatment.
How long does a urine culture take?
It takes longer than a routine urine test because it depends on the bacteria growing. The laboratory will tell you the expected time for your case.
Should white blood cells in urine without symptoms be treated?
As a rule, no. The decision rests with the doctor, with exceptions such as pregnancy.
Did you enjoy this article?
Scientific references3
- Wilson ML, Gaido L. Laboratory diagnosis of urinary tract infections in adult patients. Clin Infect Dis. 2004;38(8):1150-8.
- National Institute for Health and Care Excellence. Urinary tract infection (lower): antimicrobial prescribing. NICE guideline NG109. NICE. 2018.
- Nicolle LE, Gupta K, Bradley SF, et al. Clinical practice guideline for the management of asymptomatic bacteriuria: 2019 update by the Infectious Diseases Society of America. Clin Infect Dis. 2019;68(10):e83-e110.





