Patients who undergo hip or knee replacement (total joint arthroplasty) face a risk of acute kidney injury that may be higher than previously thought and that increases steeply if they undergo surgical revision to treat prosthetic joint infection. This article assesses the incidence of and risk factors for acute kidney injury after primary total joint arthroplasty or placement of an antibiotic-loaded cement spacer to treat infection, and offers suggestions on how to reduce the risk. KEY POINTS Using current diagnostic criteria, the incidence of acute kidney injury complicating primary total joint arthroplasty may be nearly 10%, and 25% after placement of an antibiotic-loaded cement spacer to treat infection. In primary total joint arthroplasty, signifi cant risk factors include older age, higher body mass index, chronic kidney disease, comorbidity, anemia, perioperative transfusion, aminoglycoside prophylaxis and treatment, preoperative heart murmur, and renin-angiotensin-aldosterone system blockade. Acute kidney injury may arise from infection, systemic administration of nephrotoxic antibiotics, and elution of antibiotics from antibiotic-loaded cement. No randomized controlled trial aimed at reducing acute kidney injury in these settings has been published; however, suggestions for practice modifi cation are made based on the available data.