This study aimed to report the mid-term functional outcomes of total hip arthroplasty (THA) for the treatment of advanced hip involvement in ankylosing spondylitis (AS) and identify the factors associated with poor hip flexion range of motion (ROM) after THA in patients with AS.