Periprosthetic joint infection (PJI) remains an important complication with devastating consequences after total joint arthroplasties. With the increasing number of arthroplasties worldwide, the number of PJI will increase correspondingly with a significant economic burden to our healthcare system. It is likely impossible to completely eradicate PJI; hence, assessment and optimization of its risk factors to preventing such a disastrous complication will be the key. There are many strategies to prevent PJI in the preoperative, intraoperative, or postoperative phases. The preoperative assessment provides a unique opportunity to screen and diagnose underlying comorbidities and optimize modifiable risk factors before elective surgeries. In this review, we will focus on current literature in preoperative assessment of various modifiable risk factors and share the experience and practical approach in our institution in preoperative optimization to reduce PJI in total joint arthroplasties.