Ankylosing spondylitis is an inflammatory arthritis that affects the spine, causing stiffness and pain. Learn about symptoms and treatment.
Update Date: 30.10.2025
Ankylosing spondylitis, also called axial spondyloarthritis, is a type of inflammatory disease that mainly affects the spine. Over time, the inflammation can cause some of the bones in the spine, called vertebrae, to fuse together. This fusing makes the spine less flexible and can lead to a hunched posture. If the joints in the chest are affected, it may become harder to take deep breaths.
Axial spondyloarthritis has two types. When the condition is found on X-ray, it is called ankylosing spondylitis, also known as axial spondyloarthritis. When the condition cannot be seen on X-ray but is found based on symptoms, blood tests and other imaging tests, such as an MRI, it is called nonradiographic axial spondyloarthritis.
Symptoms often begin in early adulthood. The condition also can cause inflammation in other parts of the body. This happens most often in the eyes, called uveitis.
There is no cure for ankylosing spondylitis, but treatments can lessen symptoms, manage pain and possibly slow down the progression of the disease.
Early symptoms of ankylosing spondylitis might include back pain and stiffness, especially in the lower back and hips. These symptoms may be worse in the morning or after periods of inactivity. Neck pain and fatigue also are common. Other symptoms include vision changes or eye pain, skin rashes and stomach pain.
Symptoms can come and go over time. Some people have periods of increased pain and stiffness, followed by times when symptoms improve or go away for a while.
The most commonly affected areas are:
See a healthcare professional if you have low back or buttock pain that comes on slowly. Also see a healthcare professional if the pain feels worse in the morning or awakens you from your sleep at night, especially if this pain improves with exercise and worsens with rest. You also should seek care from an eye specialist right away if you develop a red, painful eye, light sensitivity or blurry vision since these can be signs of inflammation in the eye.
The exact cause of ankylosing spondylitis isn't known, but genetic factors seem to be involved. People who have a gene called HLA-B27 are at a greatly increased risk of developing ankylosing spondylitis. However, only some people with the gene develop the condition and not everyone with ankylosing spondylitis has this gene.
Risk factors for ankylosing spondylitis include:
In serious cases of ankylosing spondylitis, the body tries to heal the long-term inflammation by forming new bone. Over time, this new bone bridges the gaps between vertebrae and causes them to fuse together. The fused parts of the spine become stiff and less flexible. If the joints in the chest around the rib cage also become stiff, the stiffness can limit how much the lungs can expand and make deep breathing more difficult.
Other possible complications include:
To diagnose ankylosing spondylitis, your healthcare professional may ask about your medical history, family history and symptoms. Your healthcare professional also may perform a physical exam to check your posture, flexibility, and areas of pain or stiffness. You also may be asked to take a deep breath to see if you have trouble expanding your chest.
X-rays can check for changes in joints and bones, which can be a sign of ankylosing spondylitis, also called radiographic axial spondyloarthritis. Changes that appear on X-ray might take years to develop. Early disease might not show on X-ray images.
MRI uses radio waves and a strong magnetic field to provide more-detailed images of bones and soft tissues. MRI scans can detect nonradiographic axial spondyloarthritis earlier in the disease process. But MRI scans are much more expensive.
There are no specific lab tests to identify ankylosing spondylitis. Certain blood tests, including erythrocyte sedimentary rate, also called sed rate, and C-reactive protein (CRP), can check for markers of inflammation, but many different health issues can cause inflammation.
Blood can be tested for the HLA-B27 gene. But many people who have the gene don't have ankylosing spondylitis. And people who don't have the HLA-B27 gene can have the disease.
The goal of treatment is to relieve pain and stiffness, maintain flexibility, and prevent or slow changes to the spine. Ankylosing spondylitis treatment works best when it's started early before permanent damage is done.
Nonsteroidal anti-inflammatory drugs (NSAIDs) — such as naproxen sodium (Aleve) and ibuprofen (Advil, Motrin IB, others) — are the medicines healthcare professionals most commonly use to treat axial spondyloarthritis and nonradiographic axial spondyloarthritis. These medicines can relieve inflammation, pain and stiffness. They also irritate the stomach and may cause gastrointestinal bleeding.
If NSAIDs are not helpful, your healthcare professional might suggest starting a tumor necrosis factor (TNF) blocker or an interleukin-17 (IL-17) inhibitor. These medicines are injected under the skin or through an intravenous line. Another option is a Janus kinase (JAK) inhibitor. JAK inhibitors are taken by mouth. These types of medicines can reactivate untreated tuberculosis and make you more prone to infections.
Examples of TNF blockers include:
IL-17 inhibitors used to treat ankylosing spondylitis include secukinumab (Cosentyx), ixekizumab (Taltz) and bimekizumab (Bimzelx). JAK inhibitors available to treat ankylosing spondylitis include tofacitinib (Xeljanz) and upadacitinib (Rinvoq).
Physical therapy is a very important part of the treatment plan and can help relieve pain while improving flexibility, posture and strength. A physical therapist can design specific exercises for your needs. To help preserve good posture, you may be taught:
Most people with ankylosing spondylitis or nonradiographic axial spondyloarthritis do not need surgery. Surgery may be recommended if you have severe pain or if a hip joint is so damaged that it needs to be replaced.
Lifestyle choices also can help manage ankylosing spondylitis.
Living with ankylosing spondylitis can be challenging. The course of your condition can change over time, and you might have painful episodes and periods of less pain throughout your life. But most people can live productive lives despite a diagnosis of ankylosing spondylitis.
You might want to join an online or in-person support group of people with this condition, to share experiences and support.
You might first bring your symptoms to the attention of your healthcare team. Your primary health professional may refer you to a specialist in inflammatory disorders called a rheumatologist.
Here is some information to help you get ready for your appointment.
Make a list of:
Take a family member or friend along, if possible, to help you remember the information you are given.
For ankylosing spondylitis, basic questions to ask your healthcare team include:
Your healthcare professional is likely to ask you questions, such as:
© 2025 Mayo Foundation for Medical Education and Research. All rights reserved. Terms of Use