The risk of infection after hip replacement surgery is typically less than 1% in the immediate postoperative period. The risk of infection depends on the immunity of the patient. It depends on the hospital. It depends on the aseptic technique used during the surgery among various factors.