Ankylosing spondylitis is better after hip replacement. Ankylosing spondylitis belongs to a kind of autoimmune disease, after the onset of joint tissues may have chronic inflammation leading to local hardening, often involving the hip joint. Hip replacement for ankylosing spondylitis can restore the normal function of the local joints, and can also prevent the disease from recurring in the later stage, and the replacement effect is generally better. After hip replacement, patients with ankylosing spondylitis need to rest in bed, gradually increase the intensity of activities and insist on long-term functional exercises, and take ibuprofen, celecoxib and other medications regularly as prescribed by the doctor for pain relief and anti-inflammation, so as to speed up the recovery and improve the quality of life.