Ankylosing spondylitis is a type of arthritis that causes inflammation in the joints and ligaments of the spine. Normally, the joints and ligaments in the spine help us move and bend. If you have ankylosing spondylitis, over time, the inflammation in the joints and tissues of the spine can cause stiffness.