Urine tests · Before orthopedic surgery
Positive urine test before joint replacement: bacteria or UTI?
A positive urine test before hip or knee replacement does not always mean there is an infection that needs antibiotics or a delay. Bacteria found without urinary symptoms are handled differently from a symptomatic UTI. Current infectious-disease guidance recommends against routine screening or treatment for bacteria in urine before elective nonurinary surgery. If you have new urinary symptoms or feel unwell, tell the surgeon and clinician assessing you so they can make a plan.
The short answer
Before elective hip or knee replacement, a positive urine test alone does not establish a symptomatic infection. IDSA advises against routine screening or treatment for asymptomatic bacteriuria before nonurologic surgery. New urinary symptoms or feeling acutely unwell calls for clinical assessment and a coordinated plan with the surgical team.
About 7 min read
A urine dipstick may show leukocyte esterase, nitrite or blood. A culture may grow bacteria. Neither result alone tells the team whether you have a symptomatic urinary tract infection. That distinction matters before joint replacement because an unnecessary antibiotic can cause side effects and promote resistance, while an active infection needs clinical attention.
The implanted hip or knee makes infection prevention especially important. It is understandable to worry that bacteria in urine could reach the prosthesis. The research has tested that concern, but it does not support treating every positive culture as though it were an active UTI.
Start with symptoms and changes from your usual pattern
Symptoms that can fit a lower urinary infection include new pain or burning when urinating, new urinary frequency or urgency, and new discomfort low in the abdomen. Fever, shaking chills, pain in the side or back near the ribs, vomiting or feeling acutely unwell can indicate a more serious infection and should be reported promptly.
Compare changes with your usual pattern. Someone who often has urgency, leakage, an indwelling catheter or difficulty emptying may have baseline symptoms and bacteria in a culture even without a new infection. A sudden change from baseline, especially with fever, pain or feeling ill, needs assessment. A clinician should consider other causes too, such as dehydration, medicines or a different infection.
Do not try to diagnose an infection from a dipstick alone. The team considers the symptoms, examination, urine collection and, when appropriate, a culture. White blood cells in urine can occur with bacteria, but they do not by themselves show that antibiotics will help.
What bacteria without symptoms means
Asymptomatic bacteriuria describes bacteria growing in a properly collected urine culture when a person has no signs or symptoms attributable to a urinary infection. A dipstick by itself does not establish this diagnosis. Bacteria can be present without causing illness, particularly in older adults and people with urinary devices or conditions that affect bladder emptying.
The Infectious Diseases Society of America (IDSA) recommends against screening for or treating asymptomatic bacteriuria before elective nonurologic surgery. Hip and knee replacement fall within that category. The recommendation is strong, although the guideline rates the supporting evidence as low quality. Its review found three studies of 3,167 screened surgical patients, including 403 with asymptomatic bacteriuria. The studies did not establish that treating the urine result prevents a joint infection.
This recommendation concerns bacteria in urine without urinary infection symptoms. It does not mean that a person with painful urination, fever or another concerning change should ignore it. It also does not apply to every type of operation. Some urologic procedures that injure the lining of the urinary tract have separate culture and antibiotic recommendations. Pregnancy also has a separate approach to screening and treatment.
What the joint-replacement studies found
A 2026 systematic review and meta-analysis included 16 studies: 14 cohort studies with 48,562 joints and two randomized trials with 1,065 joints. Across the pooled group, asymptomatic bacteriuria was associated with higher odds of a prosthetic joint infection. However, procedure-specific and follow-up subgroups did not show a consistent association, and the studies were not equally strong or precise.
The same review found no protective effect from antibiotic treatment for asymptomatic bacteriuria before elective joint replacement. That distinction is important: an association in a group does not prove that urine bacteria caused the joint infections, and treating the urine result did not reduce the outcome in the available studies. Earlier reviews also noted that the organism found in urine often differed from the organism identified in the joint infection.
These studies cannot prove that risk is identical for every patient. But taken with the IDSA guideline, they do not support routine urine screening or antibiotics for people without symptoms. Screening can find bacteria that would not otherwise cause illness, then lead to repeat cultures, medication side effects, resistant bacteria or an unnecessary change in the surgery plan.
If you have UTI symptoms close to surgery
Tell the orthopedic team and the clinician evaluating the symptoms. The team may order a culture, assess how unwell you are and choose treatment if a symptomatic infection is diagnosed. Whether to proceed with elective surgery depends on the clinical picture, timing, response to treatment and the surgeon’s assessment. Do not start leftover antibiotics or cancel the operation without speaking with the team.
One large retrospective database study examined the timing of diagnosed UTI before primary hip and knee replacement. It found an association between UTI diagnosed within one week before knee replacement and higher odds of prosthetic infection. For hip replacement, the association was seen for a diagnosis within one week and, more modestly, one to two weeks before surgery. This was an observational study using database diagnoses. It cannot set a universal waiting period or prove that antibiotics erase the association.
A fever, shaking chills, side or back pain, vomiting, confusion or rapidly worsening condition deserves prompt medical assessment, whether or not surgery is scheduled. If you feel severely ill, seek urgent care. Bring the operation date and medication list so the clinicians can coordinate decisions.
If a preoperative test is already positive
Ask what prompted the test and whether anyone documented new urinary symptoms. If you feel as usual, ask whether the result represents bacteria without symptoms, whether the culture was contaminated or whether another reason for testing applies. You can also ask whether any further test is needed under the surgical service’s protocol.
Do not take an antibiotic solely because a laboratory flag says “positive” unless a clinician who knows your situation recommends it. If the surgeon asks for treatment or a repeat test, ask what finding they are responding to and how it will affect the surgery date. Local pathways may differ, but the plan should distinguish an active infection from a culture result without symptoms.
If you develop new symptoms after the test, report the change even if the earlier result was discussed. A urine test describes a sample at one point in time. New symptoms may call for a fresh clinical assessment.
Key point
Before elective hip or knee replacement, a positive urine test alone does not establish a symptomatic infection. IDSA advises against routine screening or treatment for asymptomatic bacteriuria before nonurologic surgery. New urinary symptoms or feeling acutely unwell calls for clinical assessment and a coordinated plan with the surgical team.
Questions to bring
Choose the questions that fit your situation and leave space to note the answers.
- What prompted the urine test, and do my current symptoms suggest an active urinary infection?
- If this is bacteria without symptoms, does any further testing or treatment apply to my situation?
- If I have a symptomatic infection, who will decide whether treatment or a surgery-date change is needed?
Sources
- Nicolle LE, Gupta K, Bradley SF, et al. Clinical Practice Guideline for the Management of Asymptomatic Bacteriuria: 2019 Update by IDSA. Clinical Infectious Diseases. 2019;68:e83-e110. Recommendation for elective nonurologic surgery and evidence summary.
- Roy V, Van Brenk A, Benaroch LR, et al. Asymptomatic Bacteriuria and Periprosthetic Joint Infection Risk: A Systematic Review and Meta-Analysis. Journal of Arthroplasty. 2026. 16 studies, cohort and randomized evidence, association and treatment findings.
- Blanchard NP, Browne JA, Werner BC. The Timing of Preoperative Urinary Tract Infection Influences the Risk of Prosthetic Joint Infection Following Primary Total Hip and Knee Arthroplasty. Journal of Arthroplasty. 2022;37:2251-2256.
- Koo KH, Parvizi J, et al. Should a Urinary Tract Infection Be Treated before a Total Joint Arthroplasty? Hip & Pelvis. 2019;31:1-3. Review of the 2018 International Consensus on Orthopedic Infections.
- Golabkesh M, et al. Is asymptomatic bacteriuria a noticeable risk factor for periprosthetic joint infection following total joint arthroplasty? A systematic review and meta-analysis. Archives of Orthopaedic and Trauma Surgery. 2024.
This article is general information. The orthopedic and medical teams decide how an active infection or an unexpected test result affects an individual surgery plan.