Postoperative hypoalbuminemia after total hip arthroplasty in older adults with femoral neck fractures can increase the risk of postoperative infection and lengthen hospital stays. The purpose of this study was to construct an online nomogram that can be used for the clinical preoperative assessment of older adults to reduce the incidence of postoperative complications.