Cephalasporin antibiotics have been commonly used for prophylaxis against surgical site infection. To prevent Clostridium difficile, the preferential use of agents such as flucloxacillin and gentamicin has been recommended. The aim of this study was to investigate the bone penetration of these antibiotics during hip and knee arthroplasty, and their efficacy against Staphylococcus aureus and S. epidermidis. Bone samples were collected from 21 patients undergoing total knee arthroplasty (TKA) and 18 patients undergoing total hip replacement (THA). The concentration of both antibiotics was analysed using high performance liquid chromatography. Penetration was expressed as a percentage of venous blood concentration. The efficacy against common infecting organisms was measured using the epidemiological cut-off value for resistance (ECOFF). The bone penetration of gentamicin was higher than flucloxacillin. The concentration of both antibiotics was higher in the acetabulum than the femoral head or neck (p=0.007 flucloxacillin; p=0.021 gentamicin). Flucloxacillin concentrations were effective against S. aureus and S. epidermis in all THAs and 20 (95%) TKAs. Gentamicin concentrations were effective against S.epidermis in all bone samples. Gentamicin was effective against S. aureus in 11 (89%) femoral samples. Effective concentrations of gentamicin against S. aureus were only achieved in 4 (19%) femoral and 6 (29%) tibial samples in TKA. Flucloxacillin and gentamicin was found to effectively penetrate bone during arthroplasty. Gentamicin was effective against S. epidermidis in both THA and TKA, while it was found to be less effective against S. aureus during TKA. Bone penetration of both antibiotics was less in TKA than THA.