Background: The incidence of superficial surgical site infection (SSSI) may increase the risk of subsequent periprosthetic joint infection (PJI). Optimisation or even avoiding patient-related risk factors for SSSI preoperatively, may decrease the risk of subsequent PJI. Purpose: To identify patient-related risk factors associated with SSSI and investigate their correlation with the progression of PJI. Methods: 1,291 primary elective hip and knee prosthesis were included. Patients were personally contacted by a nurse ≥ 3 month after surgery to answer questions about the postoperative period, including any occurrences of SSSI. The diagnosed PJI was determined by an orthopaedic surgeon together with a specialist in infectious diseases, and all patients with PJI underwent revision surgery. The patient-related risk factors considered relevant were joint, age, sex, American Society of Anesthesiologists classification (ASA), body mass index (BMI), smoking, diabetes and rheumatological disease. Results: 7,0 % of included patients developed an SSSI, and 1,9 % a PJI. Factors with a significantly increased adjusted risk ratio for SSSI were; knee surgery 1,9 (95% CI: 1,2 – 3,1), age ≥ 65 years 1,7 (95% CI: 1,1 – 2,8), BMI ≥35 2,3 (95% CI: 1,2 – 4,2) and for PJI; knee surgery 2,6 (95% CI: 1,1 – 6,4), ASA-class ≥ 3 3,2 (95% CI: 1,3 – 7,9), BMI ≥35 3,0 (95% CI: (1,2 – 4,2) and male gender 3,0 (95% CI: (1,2 – 7,5). Male patients showed a significant risk of developing PJI following SSSI, with a risk ratio of 3,3 (95% CI: 1,1 – 10,5).Conclusions: Male patients planned for total knee prostheses (TKA) aged 65 or over, with high ASA-class and high BMI should be selected with care due to the increased risk of postoperative infection.