Skip to main content

GoodRx Guide

What Is Ankylosing Spondylitis? Causes, Symptoms, and Treatment

Comprehensive information for you or a loved one — including treatment options and discounts on popular medications.
Mandy Armitage, MDKatie E. Golden, MD
Written by Mandy Armitage, MD | Reviewed by Katie E. Golden, MD
Updated on April 16, 2026

Definition

Ankylosing spondylitis, or AS, is a type of arthritis that affects the spine and the sacroiliac (SI) joints, where the spine meets the pelvis. It can also affect other joints and cause inflammation in the areas where tendons attach to bones. In severe cases, it can cause decreased range of motion in the spine, changes in posture, and chronic pain.

AS is an autoimmune condition, meaning it’s caused by the body’s own immune system reacting to healthy parts of the body. Experts used to think that AS was up to 9 times more common in men, but this is no longer the case. Men are more likely than women to show spine damage on X-rays, making them more likely to receive a diagnosis. With newer diagnostic criteria to account for this, experts believe men and women are affected equally.

It’s estimated that AS affects approximately 1% of adults in the U.S. But this may vary depending on location and the population studied. 

Ankylosing spondylitis symptoms

The symptoms of AS depend on the affected areas of the body, which varies from person to person. Also, as with many autoimmune diseases, fatigue (extreme tiredness) is a problem for most people with AS. Symptoms usually begin before age 45.

Low back pain

Low back pain and stiffness are the most common symptoms of AS. Most people (at least 80%) experience back pain as their first symptom. Low back pain due to AS:

  • Starts gradually

  • Improves with exercise

  • Doesn’t improve with rest

  • Is worse at night

  • May travel down into the buttocks 

Joint pain

Although the spine is most commonly affected, inflammation from AS can affect other joints. It can also cause inflammation where tendons attach to bones. This means AS can cause pain and stiffness in the following areas:

  • Hips

  • Knees

  • Ankles

  • Shoulders 

  • Ribs/chest

Coexisting conditions 

People with AS often have other autoimmune disorders that affect other parts of the body: 

What causes ankylosing spondylitis?

It’s unclear exactly what causes AS to start. Researchers believe that a complex combination of genetics and environmental factors causes AS. They’re investigating how risk factors (more on this below) might affect people who are susceptible.

There is a strong genetic component to AS, specifically involving a gene called HLA-B27. But only a small percentage of people with HLA-B27 get AS. And at least 10% of people with AS don’t have HLA-B27. So, even though there’s a connection, it’s not the only cause.

Promotion disclosure
ankylosing-spondylitis-image

What are the risk factors of ankylosing spondylitis?

Risk factors aren’t causes but rather things that make you more likely to develop AS. Risk factors for AS include:

  • Below age 45

  • Genetics (HLA-B27) 

  • Smoking

  • Gut microbiome changes

The HLA-B27 gene is more common in people with white Northern European backgrounds than in other ethnic groups. Researchers believe this gene somehow changes the gut microbiome (the trillions of bacteria in your gut). But more research is needed to understand this relationship.

How is ankylosing spondylitis diagnosed?

A specific test for AS doesn’t exist. Because of this — and the fact that back and joint pain are common among adults — it can take years for people with AS to get a diagnosis.

02:18
Reviewed by Mandy Armitage, MD | April 10, 2025

Getting a diagnosis often requires a combination of your:

  • Symptoms

  • Medical history

  • Family medical history

  • Physical examination

  • Imaging tests (X-rays and/or MRI)

  • Bloodwork 

X-rays often show signs of inflammation at the SI joints, or sacroiliitis. But not all people with AS have typical X-ray findings. Some people have what’s called a “non-radiographic” version of the disease. This means that there are no signs or changes seen on an X-ray, which is often how the condition gets diagnosed. Sometimes an MRI, which is more sensitive than an X-ray, can show signs of non-radiographic AS. But not always.

Blood tests that look for inflammation can also be helpful when autoimmune diseases are a possibility. These include erythrocyte sedimentation rate (ESR) and C-reactive protein (CRP). They alone can’t diagnose or rule out AS, but they can provide extra information. 

Testing for HLA-B27 may also help. It’s not a diagnostic test. Rather, it’s a piece of the puzzle that can help to get a diagnosis. Remember: A positive HLA-B27 test doesn’t mean you have AS, and a negative test doesn’t mean you don’t. 

Your primary care provider can order some or all of these tests. But you may also need to see a rheumatologist to help with diagnosis. This is someone who specializes in diagnosing and treating autoimmune conditions.

Progression of ankylosing spondylitis

Symptoms of AS usually begin in early adulthood. It’s common to first experience low back pain and stiffness. When symptoms first start, there may not be significant changes on imaging tests, especially X-rays. MRIs are more sensitive at finding subtle changes, such as inflammation near the sacroiliac joints.

Without treatment, inflammation usually continues. The body responds by creating new bone in certain areas. This can lead to areas of bone growth where it shouldn’t be. It can happen in the rib cage and at places where tendons attach to bones.

This can also cause “bamboo spine,” when the spine looks like a stick of bamboo due to bone growth over the discs between the vertebrae. This causes pain and limited motion in the spine. There’s also an increased risk of vertebral fractures and nerve compression.

Other possible complications include:

Amyloidosis (a condition of abnormal protein buildup in the organs)

Treatments for ankylosing spondylitis

People who receive a diagnosis of AS will likely be treated by a rheumatologist. The goals of AS treatment are to:

  • Reduce symptoms

  • Maintain motion in the spine and joints

  • Prevent permanent changes in posture

  • Help people live well and keep their independence

Medications are typically recommended first to help with pain and inflammation (more on this below). 

Exercise also helps. For people with AS, it can reduce symptoms and inflammation. Research suggests that a physical therapy or home exercise program can help lessen pain and improve function.

If you are new to either exercise or AS, it’s a good idea to speak with your healthcare team before starting a new exercise program. Be sure to avoid spinal manipulation in order to avoid injury.

In some cases, AS worsens despite treatment with medication. If AS is severe and affects mobility or quality of life, surgery may be necessary. For example, hip replacement can improve motion and reduce pain related to hip arthritis. Spine surgery is usually reserved for people with severe posture changes. The decision to move forward with surgery should be made carefully and on an individual basis.

01:22
Reviewed by Sanjai Sinha, MD | March 15, 2026

Medications for ankylosing spondylitis

Medications that target inflammation or the immune system are often used to treat AS. Your rheumatologist can walk you through the possible side effects of each and help you decide which treatment is right for you.

Nonsteroidal anti-inflammatory drugs

Nonsteroidal anti-inflammatory drugs (NSAIDs) are often very effective for treating AS. They’re recommended as first-choice treatment. Examples include:

Research suggests that all NSAIDs are equally effective. Some people will need daily treatment, whereas others may take medication only when needed.

Biologic medications

Biologic disease-modifying medications target specific molecules or cells in the inflammatory process. If treatment with NSAIDs doesn’t work well, treatment with a type of biologic called a tumor necrosis factor (TNF) inhibitor is recommended. Examples include: 

If a TNF inhibitor does not work well enough, other biologic options include secukinumab (Cosentyx) or ixekizumab (Taltz). 

Frequently asked questions

Can ankylosing spondylitis be cured?

No, there’s no cure. However, existing treatments can help relieve symptoms and prevent complications. 

Is ankylosing spondylitis different from arthritis?

Ankylosing spondylitis is a type of arthritis. “Arthritis” simply means inflammation (“itis”) of joints (“arthro”). Different types of arthritis exist, such as osteoarthritis and rheumatoid arthritis

Is ankylosing spondylitis genetic?

Yes, it’s partly genetic. If someone in your family has AS, you’re more likely to get it. And if you have the gene HLA-B27, you’re more likely to get AS. But there are other factors — not just genes — that cause AS, which aren’t completely understood.

What triggers ankylosing spondylitis flare ups?

Flare-ups — episodes of worsening symptoms — are common in AS. They can be due to changes in medication, going too long between doses, stress, or infection. Sometimes, it’s not possible to identify a cause.

References

American College of Rheumatology. (n.d.). What is a rheumatologist?

Bedaiwi, M., et al. (2015). Fatigue in ankylosing spondylitis and non-radiographic axial spondyloarthritis: Analysis from a longitudinal observation cohort. The Journal of Rheumatology

View All References (18)

Bittar, M., et al. (2025). Axial spondyloarthritis. JAMA.

Braun, J., et al. (2023). Fifty years after the discovery of the association of HLA B27 with ankylosing spondylitis. RMD Open.

Dumain, T. (2019). What is sacroiliac (si) joint pain? The lower back pain you should know about. CreakyJoints.

Ermann, J. (n.d.). Examining flares in spondyloarthritis. Spondylitis Association of America.

Fragoulis, G. E., et al. (2019). Inflammatory bowel diseases and spondyloarthropathies: From pathogenesis to treatment. World Journal of Gastroenterology.

Gravaldi, L. P., et al. (2022). Effectiveness of physiotherapy in patients with ankylosing spondylitis: A systematic review and meta-analysis. Healthcare.

Hwang, M. C., et al. (2022). Ankylosing spondylitis risk factors: A systematic literature. Clinical Rheumatology.

Knipe, H. (2025). Bamboo spine (ankylosing spondylitis). Radiopedia.

Kroon, F. P. B., et al. (2015). Non-steroidal anti-inflammatory drugs (NSAIDs) for axial spondyloarthritis (ankylosing spondylitis and non-radiographic axial spondyloarthritis). Cochrane Database of Systematic Reviews.

Rath, L. (2022). The link between hla-b27 and arthritis. Arthritis Foundation.

Richlin, C. et al. (2021). Axial spondyloarthritis: New advances in diagnosis and management. BMJ.

Stolwijk, C., et al. (2015). Prevalence of extra-articular manifestations in patients with ankylosing spondylitis: A systematic review and meta-analysis. Annals of Rheumatic Diseases.

Stovall, R., et al. (2022). Sexual dimorphism in the prevalence, manifestation and outcomes of axial spondyloarthritis. Nature Reviews Rheumatology.

Sveaas, S. H., et al. (2020). High intensity exercise for 3 months reduces disease activity in axial spondyloarthritis (axSpA): A multicentre randomised trial of 100 patients. British Journal of Sports Medicine.

Ward, M. M., et al. (2016). American College of Rheumatology/Spondylitis Association of America/Spondyloarthritis Research and Treatment Network 2015 Recommendations for the treatment of ankylosing spondylitis and nonradiographic axial spondyloarthritis. Arthritis Care & Research.

Ward, M. M., et al. (2019). 2019 update of the American College of Rheumatology/Spondylitis Association of America/Spondyloarthritis Research and Treatment Network recommendations for the treatment of ankylosing spondylitis and non-radiographic axial spondyloarthritis. Arthritis & Rheumatology.

Zhao, S. S., et al. (2021). Diagnostic delay in axial spondyloarthritis: A systematic review and meta-analysis. Rheumatology.

Zhu, W., et al. (2019). Ankylosing spondylitis: Etiology, pathogenesis, and treatments. Bone Research.

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Get the facts on Ankylosing Spondylitis.

Sign up for our newsletter to get expert tips on condition management and prescription savings.

By providing your email, you consent to receive marketing communications from GoodRx, which may include content and/or data related to men’s health, women's health, reproductive care, or sexual health. You agree to the GoodRx Terms of Use and acknowledge the Privacy Policy. You can unsubscribe at any time.

Latest Articles