Background: The prevalence of diabetes mellitus (DM), chronic kidney disease (CKD), hemodialysis (HD), and renal transplantation (RT) is increasing. This study assessed postoperative complications among diabetic patients with CKD, HD, or post-RT after total hip arthroplasty (THA). Methods: Four cohorts were created using a nationwide database: DM&THA, DM&CKD&THA, DM&HD&THA, and DM&RT&THA. Cohorts were matched to a control group by age and gender. Thirty-day medical complications and 90-day and 2-year surgical complications were evaluated. Results: All 30-day complications were higher in each cohort. Ninety-day and 2-year surgical complications in the DM&HD&THA cohort were increased compared to the DM&RT&THA cohort. Remarkably, no increased risk of periprosthetic joint infection, periprosthetic fracture, or revision was noted post-THA in the DM&RT&THA cohort. Conclusion: Diabetic patients with worsening kidney function are associated with increased post-THA complications. Postsurgical risks decline following RT. Diabetic patients with kidney failure may want to undergo RT prior to THA to optimize surgical outcomes. (C) 2017 Elsevier Inc. All rights reserved.