Background The prevalence of Clostridium difficile colitis is reportedly increasing in surgical patients and can negatively impact their outcome. However, as yet there are no clear estimates of the C difficile infection colitis rate and its consequences among patients undergoing total joint arthroplasty (TJA). Questions/purposes We asked: (1) What is the rate of C difficile colitis in TJA patients? (2) What are the risk factors of C difficile colitis in these patients? And (3) what is the effect of C difficile colitis on length of stay, in-hospital mortality, and estimated total charges? Methods Using ICD-9-CM diagnosis and procedure codes, we queried the Nationwide Inpatient Sample database for patients undergoing TJA for the years 2002 to 2010. Demographic data, comorbidities, occurrence of C difficile colitis, length of hospital stay, mortality, and hospital charges were extracted. Logistic regression was performed to identify predictors of C difficile colitis and its impact on in-hospital mortality.