Preoperative testing & antibiotics

Urine bacteria before joint surgery: screening and the BARIFER trial

Bacterial growth without urinary symptoms is different from a symptomatic UTI. Before joint surgery, ask why urine was tested and distinguish urine-directed treatment from surgical antibiotic prevention.

The short answer

For elective non-urological surgery, IDSA recommends against screening for or treating asymptomatic bacteriuria. New symptoms still need assessment. Antibiotics given to prevent surgical infection are a separate decision. Ask the pre-assessment team to explain the result and confirm the plan before changing medicines or the operation date.

October 20, 2026 · Sources checked October 20, 2026

About 5 min read

Three preoperative questions: whether new symptoms are present, which operation is planned, and what any antibiotic is intended to do.
The reason for an antibiotic matters as much as the presence of bacteria in a urine result.

If urine was tested before an operation, ask why it was requested and what the result means for your care. Describe symptoms that are new or different from your usual bladder pattern, rather than assuming a positive result explains longstanding frequency or leakage.

Does a positive urine result mean I have an infection?

IDSA distinguishes asymptomatic bacteriuria from symptomatic urinary infection. Bacteria can grow in a urine culture (a laboratory test that grows microbes from a urine sample) even when there are no symptoms attributable to UTI. The presence of bacteria alone does not establish a need for an antibiotic.

IDSA recommends against screening for or treating asymptomatic bacteriuria before elective non-urological surgery. The recommendation is strong, but the supporting evidence is rated low quality.

This recommendation is specific to the situation. Pregnancy and certain endoscopic urinary procedures involving injury to the urinary lining have different recommendations. Tell the team about any other planned procedure.

Should everyone have a urine test before hip or knee surgery?

NICE advises against routine preoperative urine dipstick testing. It advises considering laboratory testing when a UTI would influence the decision to operate.

Ask whether the test was prompted by symptoms, a particular medical concern or a routine checklist. If you have already received a positive result, ask the pre-assessment team to interpret it with your history. Do not arrange repeated tests simply to obtain a negative result without an agreed reason.

If an antibiotic is proposed, clarify whether it treats a symptomatic infection, targets bacteria without symptoms, or forms part of the operation’s infection-prevention plan. Those are different decisions.

What did the BARIFER trial contribute?

BARIFER studied older people undergoing partial hip replacement after a fracture. It was not an elective knee-replacement trial.

The randomized comparison found no demonstrated reduction in early prosthetic-joint infection from treating asymptomatic urine bacteria. Both groups received surgical antibiotic prophylaxis under local protocols.

Only four joint infections occurred in the randomized groups. Recruitment ended before the intended sample was reached, leaving substantial uncertainty. These data cannot guarantee that the treatments have identical effects.

Does avoiding a urine-directed course mean no surgical antibiotics?

NICE recommends antibiotic prophylaxis for clean surgery involving an implant or prosthesis. Its purpose is to prevent a surgical infection around the procedure, rather than clear an asymptomatic urine result.

The surgical team chooses the antibiotic and timing using local guidance, allergies and the operation. Do not skip a planned preventive dose because treatment of asymptomatic bacteriuria is usually unnecessary. Likewise, a urine antibiotic prescription does not replace the surgical team’s prophylaxis plan.

Give the team your antibiotic allergy history and details of recent prescriptions. Ask how the result affects their plan; it should not be left for you to reconcile conflicting instructions on the morning of surgery.

What if urinary symptoms start before the operation?

Report new burning, urgency or other suspected UTI symptoms to a clinician, and inform the pre-assessment team. Ask whether a sample is needed and whether the treatment or operation plan changes.

Fever, shivering, pain in the back beneath the ribs or rapid worsening needs urgent assessment. Confusion, marked drowsiness or difficulty speaking with a suspected UTI requires emergency help. These symptoms should not be dismissed as asymptomatic bacteriuria.

The clinician and surgical team should decide what any active infection means for the operation date. Do not cancel the operation or start leftover antibiotics based solely on the laboratory wording.

Before the discussion ends, confirm who is reviewing the result, whether treatment is needed, who will contact the surgical team and when you should expect an answer.

Questions to bring

Choose the questions that fit your situation and leave space to note the answers.

  • Was this test prompted by symptoms, and does the result represent asymptomatic bacteriuria or a symptomatic infection?
  • Is any proposed antibiotic treating urine findings or providing surgical prophylaxis?
  • Who will review the result and tell me whether treatment or the operation plan changes?

Sources and editorial notes

  1. IDSA: asymptomatic bacteriuria guideline, 2019. Current primary guideline checked, sections XII and XIII. Elective non-urological surgery differs from urinary procedures involving mucosal trauma.
  2. NICE NG45: routine preoperative tests. Published 2016; current recommendations checked, section 1.7. Routine dipsticks and testing when UTI affects the operation decision.
  3. Rodríguez-Pardo and colleagues: BARIFER, 2021. European Journal of Clinical Microbiology & Infectious Diseases 40:2411–2419. Full primary report read through the University of Seville repository. Public/European research funding; no competing interests declared.
  4. NICE NG125: surgical site infections. Published 2019; current recommendations checked. Section 1.2.12 onward distinguishes surgical prophylaxis from treatment.
  5. NHS: urinary tract infections. Reviewed July 11, 2025. Symptomatic infection and urgent warning signs.

The trial’s fracture-surgery population and limited size matter. Local preoperative decisions require assessment of symptoms and the planned operation.

Browse all Mighty Bladder articles