Ankylosing spondylitis is an inflammatory disease and long-term form of arthritis. It most often occurs in the spine. It can cause pain and stiffness in the low back, middle back, buttocks, and neck, and sometimes in other areas like the hips, chest wall, or heels.