Aims. The aim of this investigation was to compare risk of infection in both cemented and uncemented hemiarthroplasty (HA) as well as in total hip arthroplasty (THA) following femoral neck fracture. Methods. Data collection was performed using the German Arthroplasty Registry (EPRD). In HA and THA following femoral neck fracture, fixation method was divided into cemented and uncemented prostheses and paired according to age, sex, BMI, and the Elixhauser Comorbidity Index using Mahalanobis distance matching. Results. Overall in 13,612 cases of intracapsular femoral neck fracture, 9,110 (66.9%) HAs and 4,502 (33.1%) THAs were analyzed. Infection rate in HA was significantly reduced in cases with use of antibiotic-loaded cement compared with